From e79dfcb71945b2163fa71c5c6f99b6722e0bc842 Mon Sep 17 00:00:00 2001 From: Aleksander Date: Sun, 12 Jul 2026 13:23:18 +0200 Subject: [PATCH] dash-frontend: fix light theme everywhere --- dash-frontend/assets/gui/dashboard.xml | 25 +++++---- dash-frontend/assets/gui/t_group_box.xml | 10 ++-- dash-frontend/assets/gui/t_loading.xml | 4 +- dash-frontend/assets/gui/tab/donate.xml | 6 +- dash-frontend/assets/gui/tab/settings.xml | 8 +-- .../assets/gui/tab/welcome_common.xml | 4 +- .../assets/gui/tab/welcome_page_0.xml | 4 +- .../assets/gui/tab/welcome_page_3.xml | 4 +- .../assets/gui/tab/welcome_page_5.xml | 2 +- .../assets/gui/view/app_launcher.xml | 6 +- .../assets/gui/view/audio_settings.xml | 9 +-- dash-frontend/assets/gui/view/bindings.xml | 4 +- .../assets/gui/view/input_profiles.xml | 2 +- .../assets/gui/view/skymap_list_cell.xml | 2 +- dash-frontend/src/tab/welcome.rs | 10 +++- dash-frontend/src/util/wgui_simple.rs | 2 +- dash-frontend/src/views/audio_settings.rs | 7 ++- wgui/src/components/button.rs | 12 +++- wgui/src/components/checkbox.rs | 3 +- wgui/src/components/tabs.rs | 19 +++++-- wgui/src/palette.rs | 56 +++++++++---------- wgui/src/parser/component_button.rs | 5 ++ wgui/src/parser/style.rs | 10 ++-- 23 files changed, 126 insertions(+), 88 deletions(-) diff --git a/dash-frontend/assets/gui/dashboard.xml b/dash-frontend/assets/gui/dashboard.xml index 1f25d841..5b1eebe7 100644 --- a/dash-frontend/assets/gui/dashboard.xml +++ b/dash-frontend/assets/gui/dashboard.xml @@ -12,12 +12,13 @@ round="100%" width="~side_button_size" height="~side_button_size" - color="background_contrast" + color="background_contrast(transparent)" border_color="background_contrast" + hover_border_color="on_background_contrast" tooltip="${tooltip}" tooltip_side="${tooltip_side}" > - + @@ -45,7 +46,7 @@ - + @@ -62,13 +63,13 @@
- -
@@ -130,22 +131,22 @@
- +
- -
-
diff --git a/dash-frontend/assets/gui/t_group_box.xml b/dash-frontend/assets/gui/t_group_box.xml index 36524ad1..c9638d6b 100644 --- a/dash-frontend/assets/gui/t_group_box.xml +++ b/dash-frontend/assets/gui/t_group_box.xml @@ -3,8 +3,8 @@ flex_direction="column" align_items="baseline" border="2" - color="#00000055" - border_color="#FFFFFF66" + color="background_contrast(opacity-0.5)" + border_color="outline" padding="12" gap="8" round="8" /> @@ -12,9 +12,9 @@ diff --git a/dash-frontend/assets/gui/t_loading.xml b/dash-frontend/assets/gui/t_loading.xml index ca8c5786..79e5c0c2 100644 --- a/dash-frontend/assets/gui/t_loading.xml +++ b/dash-frontend/assets/gui/t_loading.xml @@ -2,7 +2,7 @@