From 8502c1d194db3e5611fa94521f58ad8cd420044d Mon Sep 17 00:00:00 2001 From: gramps Date: Fri, 30 Oct 2026 08:29:28 -0700 Subject: [PATCH] design: app settings + dialogs to tokens (surface 5 of the sweep) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit OverlayHost (the App Settings surface) and every dialog — Go Live, Socials, Mic picker, Camera picker, Hotkey config, Reuse Image, Rename Recording, Keep Broadcast — now resolve from tokens. That closes the last place the creator sees a dialog: the settings overlay was still wearing the old palette while the main window had moved on. Every #e94560 in these files was an ERROR or validation affordance (hotkey conflicts, socials validation, the remove tooltip, the go-live error line) — six sites all borrowing the retired brand red to mean "something is wrong". They are `error` now, which is what the standard says red-adjacent means; live/record keeps `primary`. Guard list extended to all nine files. --- CameraPickerDialog.xaml | 20 ++++++------ Controls/OverlayHost.xaml | 52 +++++++++++++++---------------- GoLiveWindow.xaml | 22 ++++++------- HotkeyConfigDialog.xaml | 20 ++++++------ KeepBroadcastDialog.xaml | 8 ++--- MicPickerDialog.xaml | 20 ++++++------ RenameRecordingDialog.xaml | 8 ++--- ReuseImageDialog.xaml | 16 +++++----- SocialsDialog.xaml | 26 ++++++++-------- ytLive.Tests/DesignTokensTests.cs | 6 +++- 10 files changed, 101 insertions(+), 97 deletions(-) diff --git a/CameraPickerDialog.xaml b/CameraPickerDialog.xaml index 85a8281..277ca43 100644 --- a/CameraPickerDialog.xaml +++ b/CameraPickerDialog.xaml @@ -1,10 +1,10 @@ - + ShowInTaskbar="False" Background="{StaticResource Brush.Background}"> @@ -21,10 +21,10 @@ - + - + @@ -43,10 +43,10 @@ + Foreground="{StaticResource Brush.OnSurface}" Margin="0,0,0,14"/> + Foreground="{StaticResource Brush.OnSurfaceVariant}" FontSize="13" TextWrapping="Wrap" Margin="0,0,0,12"/> - @@ -67,15 +67,15 @@ - + - diff --git a/Controls/OverlayHost.xaml b/Controls/OverlayHost.xaml index 7b3dc87..a41e0dc 100644 --- a/Controls/OverlayHost.xaml +++ b/Controls/OverlayHost.xaml @@ -1,4 +1,4 @@ - - - @@ -27,11 +27,11 @@ + Foreground="{StaticResource Brush.OnSurface}" VerticalAlignment="Center"/> @@ -41,36 +41,36 @@ - - + +