From 57b891000de6095eb648c447f3efce26dd3e7f9d Mon Sep 17 00:00:00 2001 From: dvcolomban Date: Fri, 24 Jul 2026 23:12:21 +0200 Subject: [PATCH] fix(core): use color-base shortcut instead of text-base for dark-mode contrast MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The command palette's search input and dialog surface used `text-base` (UnoCSS's font-size utility) where `color-base` (the dark-aware text-color shortcut) was clearly intended — `text-base` sets no color at all, so input text fell back to the browser default (dark) on top of the dialog's own dark-mode background, rendering it unreadable. Same typo also affected the pin-toggle icons in the Docks settings view. Also switch the palette dialog's opaque `bg-base` to `bg-glass:75`, matching the translucent/blurred surface already used by the docked panels (DockPanel.vue, DockEdge.vue) so the palette's look is consistent with the rest of the floating dock chrome. --- .../components/command-palette/CommandPalette.vue | 4 ++-- .../webcomponents/components/views-builtin/SettingsDocks.vue | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/core/src/client/webcomponents/components/command-palette/CommandPalette.vue b/packages/core/src/client/webcomponents/components/command-palette/CommandPalette.vue index a8db97b8..862e629e 100644 --- a/packages/core/src/client/webcomponents/components/command-palette/CommandPalette.vue +++ b/packages/core/src/client/webcomponents/components/command-palette/CommandPalette.vue @@ -265,7 +265,7 @@ function getKeybindings(id: string) { >
@@ -284,7 +284,7 @@ function getKeybindings(id: string) { diff --git a/packages/core/src/client/webcomponents/components/views-builtin/SettingsDocks.vue b/packages/core/src/client/webcomponents/components/views-builtin/SettingsDocks.vue index 71a3fb1a..b83cf65f 100644 --- a/packages/core/src/client/webcomponents/components/views-builtin/SettingsDocks.vue +++ b/packages/core/src/client/webcomponents/components/views-builtin/SettingsDocks.vue @@ -418,7 +418,7 @@ function resetCustomOrderForContainer(container: string) { >
@@ -542,7 +542,7 @@ function resetCustomOrderForContainer(container: string) { >