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:
hariel1985
2026-03-31 06:15:24 +02:00
szülő 0401910711
commit 24b41b0e63
3 fájl változott, egészen pontosan 7 új sor hozzáadva és 7 régi sor törölve

Fájl megtekintése

@@ -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>