From 20a81d6fab0b3fa8f41aa3fed74942fbb3a6137d Mon Sep 17 00:00:00 2001 From: Cagatay Civici Date: Sat, 17 Feb 2024 01:33:46 +0300 Subject: [PATCH] Dark mode for tree --- components/lib/theme/aura/tree/index.js | 25 ++++++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) diff --git a/components/lib/theme/aura/tree/index.js b/components/lib/theme/aura/tree/index.js index 2ea5b656b..7e79c65db 100644 --- a/components/lib/theme/aura/tree/index.js +++ b/components/lib/theme/aura/tree/index.js @@ -25,7 +25,30 @@ export default { color: '{surface.500}' } }, - dark: {} + dark: { + root: { + background: '{surface.900}', + textColor: '{surface.0}' + }, + node: { + backgroundHover: '{surface.800}', + textColor: '{surface.0}', + textColorHover: '{surface.0}' + }, + nodeIcon: { + color: '{surface.400}', + colorHover: '{surface.300}' + }, + toggle: { + backgroundHover: '{surface.800}', + backgroundHoverHighlight: '{surface.900}', + color: '{surface.400}', + colorHover: '{surface.300}' + }, + indeterminate: { + color: '{surface.400}' + } + } } }, css: `