diff --git a/CHANGELOG.md b/CHANGELOG.md index 40fcb240..065d9107 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,21 @@ adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ## [Unreleased] +## [1.13.0] - 2026-05-27 + +### Added +- **Theme customization** — persistent appearance settings with Dark/Light/Custom modes. + Choose from 12 curated presets (6 dark, 6 light) or fully customize accent, background, + surface, and text colors. Settings saved between sessions. +- **Theme button** — palette icon in top-right corner, accessible from every page. +- **Background shade slider** — fine-tune lightness/darkness within any preset. +- **Auto companion preset** — switching Dark↔Light automatically selects the matching + color family (e.g. Midnight Indigo ↔ Clean Indigo). + +### Changed +- All color resources converted from `StaticResource` to `DynamicResource` for live + theme switching without restart. + ## [1.12.1] - 2026-05-27 ### Fixed diff --git a/SysManager/SysManager/App.xaml b/SysManager/SysManager/App.xaml index fc2193b2..14f8c40a 100644 --- a/SysManager/SysManager/App.xaml +++ b/SysManager/SysManager/App.xaml @@ -40,11 +40,11 @@ #1C2230 #252C3C - - - - - + + + + + @@ -61,9 +61,9 @@ #6366F1 #818CF8 #4F46E5 - - - + + + @@ -84,27 +84,57 @@ Cascadia Mono, Consolas, Courier New Segoe UI Variable Text, Segoe UI, Inter, Arial + + + + + + + @@ -112,8 +142,8 @@ @@ -139,7 +169,7 @@ - + @@ -159,13 +189,13 @@ - + - + @@ -179,15 +209,15 @@ @@ -195,7 +225,7 @@ @@ -404,15 +434,15 @@ @@ -484,7 +514,7 @@ diff --git a/SysManager/SysManager/App.xaml.cs b/SysManager/SysManager/App.xaml.cs index 2644c1b9..909f5b89 100644 --- a/SysManager/SysManager/App.xaml.cs +++ b/SysManager/SysManager/App.xaml.cs @@ -76,6 +76,8 @@ protected override void OnStartup(StartupEventArgs e) TaskScheduler.UnobservedTaskException += OnTask; base.OnStartup(e); + ThemeService.Instance.Initialize(); + // Start listening for activation requests from subsequent instances StartPipeListener(); } diff --git a/SysManager/SysManager/MainWindow.xaml b/SysManager/SysManager/MainWindow.xaml index 0ff0ff22..4826682b 100644 --- a/SysManager/SysManager/MainWindow.xaml +++ b/SysManager/SysManager/MainWindow.xaml @@ -6,7 +6,7 @@ Title="{Binding Title}" Width="1280" Height="820" MinWidth="960" MinHeight="640" - Background="{StaticResource Surface0}" + Background="{DynamicResource Surface0}" Icon="Resources/app.ico" AutomationProperties.AutomationId="MainWindow"> @@ -21,8 +21,8 @@ @@ -34,7 +34,7 @@ @@ -71,12 +71,12 @@ FontFamily="Segoe Fluent Icons,Segoe MDL2 Assets" FontSize="14" Margin="0,0,12,0" VerticalAlignment="Center" - Foreground="{StaticResource TextSecondary}"/> + Foreground="{DynamicResource TextSecondary}"/> + Foreground="{DynamicResource TextSecondary}"/> @@ -86,7 +86,7 @@ Padding="0" Margin="0" Background="Transparent" BorderThickness="0" - Foreground="{StaticResource TextSecondary}"> + Foreground="{DynamicResource TextSecondary}"> @@ -106,22 +106,22 @@ FontFamily="Segoe Fluent Icons,Segoe MDL2 Assets" FontSize="13" Margin="0,0,10,0" VerticalAlignment="Center" - Foreground="{StaticResource TextSecondary}"/> + Foreground="{DynamicResource TextSecondary}"/> + Foreground="{DynamicResource TextSecondary}"/> @@ -161,7 +161,7 @@ @@ -170,12 +170,12 @@ FontFamily="Segoe Fluent Icons,Segoe MDL2 Assets" FontSize="13" Margin="0,0,10,0" VerticalAlignment="Center" - Foreground="{StaticResource TextSecondary}"/> + Foreground="{DynamicResource TextSecondary}"/> + Foreground="{DynamicResource TextSecondary}"/> @@ -195,7 +195,7 @@ - @@ -204,10 +204,10 @@ FontSize="11" Margin="0,0,6,0" VerticalAlignment="Center"> @@ -215,7 +215,7 @@ @@ -228,7 +228,7 @@ @@ -239,7 +239,7 @@ @@ -248,25 +248,49 @@ - - - - - + FontSize="16" Foreground="{DynamicResource Accent}" VerticalAlignment="Center" Margin="0,0,10,0"/> + + + + +