From 6c7381218764a0318d1196e9d140d10d09a0e783 Mon Sep 17 00:00:00 2001 From: Scott Idem Date: Tue, 12 May 2026 12:40:39 -0400 Subject: [PATCH] fix(launcher): improve test mode popup contrast for light/dark mode MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Warning text in cfg_app_modes: replace text-yellow-400/70 with preset-tonal-warning badge (theme-aware, readable in both modes). - Popup dialog: bg-surface-900 → bg-surface-50/95 dark:bg-surface-900/95 so the card adapts to light/dark instead of being locked dark. - Code blocks: bg-black/30 → bg-surface-500/10 (neutral opacity). - Header title: text-warning-400 → text-warning-600 dark:text-warning-400. - Semantic text colors: all -300 variants → 500-level equivalents: text-green-300/400 → text-success-600 dark:text-success-400 text-primary-300 → text-primary-500 text-yellow-300/400 → text-warning-500 text-purple-300 → text-purple-500 --- .../launcher_cfg_app_modes.svelte | 2 +- .../(launcher)/launcher_file_cont.svelte | 38 +++++++++---------- 2 files changed, 20 insertions(+), 20 deletions(-) diff --git a/src/routes/events/[event_id]/(launcher)/cfg_components/launcher_cfg_app_modes.svelte b/src/routes/events/[event_id]/(launcher)/cfg_components/launcher_cfg_app_modes.svelte index 3ac70139..09d81cc3 100644 --- a/src/routes/events/[event_id]/(launcher)/cfg_components/launcher_cfg_app_modes.svelte +++ b/src/routes/events/[event_id]/(launcher)/cfg_components/launcher_cfg_app_modes.svelte @@ -250,7 +250,7 @@ function apply_mode(mode: 'poster' | 'oral') { {#if $events_loc.launcher.native_test_mode} -

+

⚠ Active: Open buttons will simulate native launch and show a debug popup instead of running commands.

diff --git a/src/routes/events/[event_id]/(launcher)/launcher_file_cont.svelte b/src/routes/events/[event_id]/(launcher)/launcher_file_cont.svelte index fcdc2a10..187ee6fa 100644 --- a/src/routes/events/[event_id]/(launcher)/launcher_file_cont.svelte +++ b/src/routes/events/[event_id]/(launcher)/launcher_file_cont.svelte @@ -648,7 +648,7 @@ function prevent_default(fn: (event: T) => void) { onclick={() => (test_mode_popup_open = false)}>