From 9e434a1002d12007d55e12d44942ae884a5d790b Mon Sep 17 00:00:00 2001 From: Johnpaul Chiwetelu <49923152+Myestery@users.noreply.github.com> Date: Fri, 9 Jan 2026 02:40:15 +0100 Subject: [PATCH] fix: replace text-white with theme-aware color tokens (#7908) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## Summary - Replace hardcoded `text-white` class with theme-aware alternatives to fix invisible text on light themes - Update Load3D control backgrounds to use semantic tokens - Update dropdown menus to use `bg-interface-menu-surface` - Update overlay backgrounds to use `bg-backdrop` with opacity ## Changes | Component | Old | New | |-----------|-----|-----| | Text on primary bg | `text-white` | `text-base-foreground` | | Dropdown menus | `bg-black/50` | `bg-interface-menu-surface` | | Control panels | `bg-smoke-700/30` | `bg-backdrop/30` | | Loading overlays | `bg-black bg-opacity-50` | `bg-backdrop/50` | | Selected states | `bg-smoke-600` | `bg-button-active-surface` | ## Files Modified (14) - `src/components/TopMenuSection.vue` - `src/components/input/MultiSelect.vue` - `src/components/load3d/*.vue` (12 files) - `src/renderer/extensions/vueNodes/VideoPreview.vue` ## Test plan - [ ] Verify text visibility in light theme - [ ] Verify text visibility in dark theme - [ ] Test Load3D viewer controls functionality - [ ] Test MultiSelect dropdown checkbox visibility ┆Issue is synchronized with this [Notion page](https://www.notion.so/PR-7908-fix-replace-text-white-with-theme-aware-color-tokens-2e26d73d36508107bb01d1d6e3b74f6a) by [Unito](https://www.unito.io) --- 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 | 13 +++++++++---- 14 files changed, 50 insertions(+), 42 deletions(-) diff --git a/src/components/TopMenuSection.vue b/src/components/TopMenuSection.vue index 4273600aa..7cdd5418a 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 aaa372d73..21ba0d6a2 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 1609f39ea..68251c741 100644 --- a/src/components/load3d/Load3DControls.vue +++ b/src/components/load3d/Load3DControls.vue @@ -1,6 +1,6 @@