design: app settings + dialogs to tokens (surface 5 of the sweep)
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.
This commit is contained in:
+10
-10
@@ -1,10 +1,10 @@
|
||||
<Window x:Class="ytLive.HotkeyConfigDialog"
|
||||
<Window x:Class="ytLive.HotkeyConfigDialog"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
Title="Global Hotkey Bindings" Height="520" Width="480"
|
||||
Icon="/Assets/llamacasty-icon.png"
|
||||
WindowStartupLocation="CenterOwner" ResizeMode="NoResize"
|
||||
ShowInTaskbar="False" Background="#1a1a2e">
|
||||
ShowInTaskbar="False" Background="{StaticResource Brush.Background}">
|
||||
|
||||
<Window.Resources>
|
||||
<BooleanToVisibilityConverter x:Key="BoolToVis"/>
|
||||
@@ -20,7 +20,7 @@
|
||||
</Grid.RowDefinitions>
|
||||
|
||||
<TextBlock Grid.Row="0" Text="Global Hotkey Bindings" FontSize="18" FontWeight="Bold"
|
||||
Foreground="#e0e0e0" Margin="0,0,0,12"/>
|
||||
Foreground="{StaticResource Brush.OnSurface}" Margin="0,0,0,12"/>
|
||||
|
||||
<ScrollViewer Grid.Row="1" VerticalScrollBarVisibility="Auto">
|
||||
<ItemsControl ItemsSource="{Binding Rows}">
|
||||
@@ -34,7 +34,7 @@
|
||||
</Grid.ColumnDefinitions>
|
||||
|
||||
<TextBlock Grid.Column="0" Text="{Binding ActionName}"
|
||||
Foreground="#e0e0e0" FontSize="13"
|
||||
Foreground="{StaticResource Brush.OnSurface}" FontSize="13"
|
||||
VerticalAlignment="Center" Margin="0,0,12,0"/>
|
||||
|
||||
<Button Grid.Column="1" Click="ChordButton_Click"
|
||||
@@ -42,8 +42,8 @@
|
||||
HorizontalAlignment="Left" MinWidth="140"
|
||||
Padding="10,5" FontSize="13"
|
||||
VerticalAlignment="Center">
|
||||
<Border Background="#16213e" CornerRadius="4" Padding="10,5">
|
||||
<TextBlock Text="{Binding DisplayText}" Foreground="#e0e0e0"
|
||||
<Border Background="{StaticResource Brush.SurfaceContainer}" CornerRadius="4" Padding="10,5">
|
||||
<TextBlock Text="{Binding DisplayText}" Foreground="{StaticResource Brush.OnSurface}"
|
||||
FontSize="13"/>
|
||||
</Border>
|
||||
</Button>
|
||||
@@ -51,7 +51,7 @@
|
||||
<Button Grid.Column="2" Content="✕" Click="UnbindButton_Click"
|
||||
Tag="{Binding}" Cursor="Hand"
|
||||
ToolTip="Remove binding"
|
||||
FontSize="12" Foreground="#8a93a8"
|
||||
FontSize="12" Foreground="{StaticResource Brush.OnSurfaceVariant}"
|
||||
Background="Transparent" BorderThickness="0"
|
||||
Padding="6,4" VerticalAlignment="Center">
|
||||
<Button.Style>
|
||||
@@ -71,8 +71,8 @@
|
||||
</ScrollViewer>
|
||||
|
||||
<!-- Conflict warning: hidden when no message -->
|
||||
<Border Grid.Row="2" Background="#3d1a1a" CornerRadius="4" Padding="10,8"
|
||||
Margin="0,8,0,0" BorderBrush="#e94560" BorderThickness="1">
|
||||
<Border Grid.Row="2" Background="{StaticResource Brush.ErrorContainer}" CornerRadius="4" Padding="10,8"
|
||||
Margin="0,8,0,0" BorderBrush="{StaticResource Brush.Error}" BorderThickness="1">
|
||||
<Border.Style>
|
||||
<Style TargetType="Border">
|
||||
<Style.Triggers>
|
||||
@@ -82,7 +82,7 @@
|
||||
</Style.Triggers>
|
||||
</Style>
|
||||
</Border.Style>
|
||||
<TextBlock Text="{Binding ConflictMessage}" Foreground="#e94560"
|
||||
<TextBlock Text="{Binding ConflictMessage}" Foreground="{StaticResource Brush.Error}"
|
||||
FontSize="12" TextWrapping="Wrap"/>
|
||||
</Border>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user