v1.05 — Fix primary button text contrast (white on blue)
- Removed Foreground from global TextBlock style (was overriding inherited colors) - Set TextElement.Foreground on Window level for default text color - PrimaryButton TextElement.Foreground now properly inherits white Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -5,7 +5,8 @@
|
||||
Width="800" Height="550"
|
||||
ResizeMode="NoResize"
|
||||
WindowStartupLocation="CenterScreen"
|
||||
Background="{StaticResource BackgroundBrush}">
|
||||
Background="{StaticResource BackgroundBrush}"
|
||||
TextElement.Foreground="{StaticResource TextPrimaryBrush}">
|
||||
|
||||
<Grid>
|
||||
<Grid.RowDefinitions>
|
||||
@@ -41,7 +42,7 @@
|
||||
Foreground="{StaticResource TextSecondaryBrush}" Margin="0,-2,0,0"/>
|
||||
</StackPanel>
|
||||
</StackPanel>
|
||||
<TextBlock Text="v1.04" HorizontalAlignment="Right" VerticalAlignment="Center"
|
||||
<TextBlock Text="v1.05" HorizontalAlignment="Right" VerticalAlignment="Center"
|
||||
FontSize="12" Foreground="{StaticResource TextSecondaryBrush}"/>
|
||||
</Grid>
|
||||
</Border>
|
||||
|
||||
Reference in New Issue
Block a user