From 24b41b0e63117be5b0a2f1d1e6ac475af04d6eac Mon Sep 17 00:00:00 2001 From: hariel1985 Date: Tue, 31 Mar 2026 06:15:24 +0200 Subject: [PATCH] =?UTF-8?q?v1.05=20=E2=80=94=20Fix=20primary=20button=20te?= =?UTF-8?q?xt=20contrast=20(white=20on=20blue)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 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) --- InstaSoftOfficeTool.csproj | 6 +++--- MainWindow.xaml | 5 +++-- Styles/FluentTheme.xaml | 3 +-- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/InstaSoftOfficeTool.csproj b/InstaSoftOfficeTool.csproj index ab8776a..3f8de2b 100644 --- a/InstaSoftOfficeTool.csproj +++ b/InstaSoftOfficeTool.csproj @@ -9,9 +9,9 @@ InstaSoft Zrt. InstaSoft Office Tool Copyright (c) InstaSoft Zrt. 2026 - 1.0.4 - 1.0.4.0 - 1.0.4.0 + 1.0.5 + 1.0.5.0 + 1.0.5.0 app.manifest latest diff --git a/MainWindow.xaml b/MainWindow.xaml index 8d8a982..ee1b491 100644 --- a/MainWindow.xaml +++ b/MainWindow.xaml @@ -5,7 +5,8 @@ Width="800" Height="550" ResizeMode="NoResize" WindowStartupLocation="CenterScreen" - Background="{StaticResource BackgroundBrush}"> + Background="{StaticResource BackgroundBrush}" + TextElement.Foreground="{StaticResource TextPrimaryBrush}"> @@ -41,7 +42,7 @@ Foreground="{StaticResource TextSecondaryBrush}" Margin="0,-2,0,0"/> - diff --git a/Styles/FluentTheme.xaml b/Styles/FluentTheme.xaml index 8735882..6c50ca7 100644 --- a/Styles/FluentTheme.xaml +++ b/Styles/FluentTheme.xaml @@ -33,10 +33,9 @@ - +