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

@@ -33,10 +33,9 @@
<SolidColorBrush x:Key="WarningBrush" Color="{StaticResource WarningColor}"/>
<SolidColorBrush x:Key="HeaderBarBrush" Color="{StaticResource HeaderBarColor}"/>
<!-- Global font -->
<!-- Global font — no Foreground here, it breaks inherited colors in buttons -->
<Style TargetType="TextBlock">
<Setter Property="FontFamily" Value="Segoe UI Variable Display, Segoe UI, Arial"/>
<Setter Property="Foreground" Value="{StaticResource TextPrimaryBrush}"/>
<Setter Property="FontSize" Value="14"/>
</Style>