This commit is contained in:
GG Z
2025-08-24 13:49:55 +08:00
parent 785907d305
commit f37062be60
285 changed files with 4993 additions and 3377 deletions

9
Sample/Themes/Dark.xaml Normal file
View File

@@ -0,0 +1,9 @@
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
<!-- 深色主题 -->
<Color x:Key="BackgroundColor">#222222</Color>
<Color x:Key="ForegroundColor">#DDDDDD</Color>
<SolidColorBrush x:Key="AppBackgroundBrush" Color="{DynamicResource BackgroundColor}"/>
<SolidColorBrush x:Key="AppTextBrush" Color="{DynamicResource ForegroundColor}"/>
</ResourceDictionary>

11
Sample/Themes/Light.xaml Normal file
View File

@@ -0,0 +1,11 @@
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
<!-- 浅色主题 -->
<Color x:Key="BackgroundColor">#EEEEEE</Color>
<Color x:Key="ForegroundColor">#111111</Color>
<SolidColorBrush x:Key="AppBackgroundBrush" Color="{DynamicResource BackgroundColor}"/>
<SolidColorBrush x:Key="AppTextBrush" Color="{DynamicResource ForegroundColor}"/>
</ResourceDictionary>