优化
This commit is contained in:
9
Sample/Themes/Dark.xaml
Normal file
9
Sample/Themes/Dark.xaml
Normal 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
11
Sample/Themes/Light.xaml
Normal 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>
|
||||
Reference in New Issue
Block a user