From c47d455a77848af9db91fc93018bff7d59878f14 Mon Sep 17 00:00:00 2001 From: Johnpaul Date: Thu, 8 Jan 2026 22:12:26 +0100 Subject: [PATCH 1/2] fix: replace text-white with theme-aware color tokens Replace hardcoded `text-white` class with theme-aware alternatives to fix invisible text on light themes. Changes: - UI components: use `text-base-foreground` for text on primary backgrounds - Load3D controls: use `text-base-foreground` for icons and labels - VideoPreview: use `text-base-foreground` and `text-muted-foreground` - Dropdown menus: use `bg-interface-menu-surface` for backgrounds - Control panels: use `bg-backdrop/30` for semi-transparent backgrounds - Selected states: use `bg-button-active-surface` for active items - Loading overlays: use `bg-backdrop/50` for overlay backgrounds --- src/components/TopMenuSection.vue | 2 +- src/components/input/MultiSelect.vue | 2 +- src/components/load3d/Load3DControls.vue | 12 ++++++------ src/components/load3d/LoadingOverlay.vue | 4 ++-- .../load3d/controls/AnimationControls.vue | 4 ++-- .../load3d/controls/CameraControls.vue | 2 +- .../load3d/controls/ExportControls.vue | 6 +++--- .../load3d/controls/LightControls.vue | 2 +- .../load3d/controls/ModelControls.vue | 17 ++++++++++------- src/components/load3d/controls/PopupSlider.vue | 4 ++-- .../load3d/controls/RecordingControls.vue | 10 +++++----- .../load3d/controls/SceneControls.vue | 10 +++++----- .../load3d/controls/ViewerControls.vue | 4 ++-- .../extensions/vueNodes/VideoPreview.vue | 12 ++++++++---- 14 files changed, 49 insertions(+), 42 deletions(-) diff --git a/src/components/TopMenuSection.vue b/src/components/TopMenuSection.vue index 4273600aab8..7cdd5418a89 100644 --- a/src/components/TopMenuSection.vue +++ b/src/components/TopMenuSection.vue @@ -54,7 +54,7 @@ {{ queuedCount }} diff --git a/src/components/input/MultiSelect.vue b/src/components/input/MultiSelect.vue index aaa372d73d2..21ba0d6a2e0 100644 --- a/src/components/input/MultiSelect.vue +++ b/src/components/input/MultiSelect.vue @@ -160,7 +160,7 @@ > diff --git a/src/components/load3d/Load3DControls.vue b/src/components/load3d/Load3DControls.vue index 1609f39eab1..68251c74122 100644 --- a/src/components/load3d/Load3DControls.vue +++ b/src/components/load3d/Load3DControls.vue @@ -1,6 +1,6 @@