月更
This commit is contained in:
45
AntDesignWPF/Themes/Tokens/Functional.xaml
Normal file
45
AntDesignWPF/Themes/Tokens/Functional.xaml
Normal file
@@ -0,0 +1,45 @@
|
||||
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
|
||||
|
||||
<!-- 功能色 (Functional Colors) -->
|
||||
<!-- Blue-6 -->
|
||||
<Color x:Key="AntDesign.Color.Link">#1677FF</Color>
|
||||
<!-- Green-6 -->
|
||||
<Color x:Key="AntDesign.Color.Success">#52C41A</Color>
|
||||
<!-- Gold-6 -->
|
||||
<Color x:Key="AntDesign.Color.Warning">#FAAD14</Color>
|
||||
<!-- Red-5 -->
|
||||
<Color x:Key="AntDesign.Color.Error">#FF4D4F</Color>
|
||||
<!-- Blue-6 -->
|
||||
<Color x:Key="AntDesign.Color.Info">#1677FF</Color>
|
||||
|
||||
<!--<Color x:Key="AntDesign.Color.Shadow">#1677FF</Color>-->
|
||||
|
||||
|
||||
<!-- 功能画刷 (Functional Brushes) -->
|
||||
<SolidColorBrush x:Key="AntDesign.Brush.Link" Color="{StaticResource AntDesign.Color.Link}" />
|
||||
<SolidColorBrush x:Key="AntDesign.Brush.Success" Color="{StaticResource AntDesign.Color.Success}" />
|
||||
<SolidColorBrush x:Key="AntDesign.Brush.Warning" Color="{StaticResource AntDesign.Color.Warning}" />
|
||||
<SolidColorBrush x:Key="AntDesign.Brush.Error" Color="{StaticResource AntDesign.Color.Error}" />
|
||||
<SolidColorBrush x:Key="AntDesign.Brush.Info" Color="{StaticResource AntDesign.Color.Info}" />
|
||||
|
||||
<!--<SolidColorBrush x:Key="AntDesign.Brush.Shadow" Color="{StaticResource AntDesign.Color.Shadow}" Opacity="0.2"/>-->
|
||||
|
||||
<!-- 为不同状态定义渐变画刷 -->
|
||||
<LinearGradientBrush x:Key="NormalBrush" StartPoint="0,0.5" EndPoint="1,0.5">
|
||||
<GradientStop Color="#69b1ff" Offset="0.0" />
|
||||
<GradientStop Color="#1677FF" Offset="1.0" />
|
||||
</LinearGradientBrush>
|
||||
|
||||
<LinearGradientBrush x:Key="SuccessBrush" StartPoint="0,0.5" EndPoint="1,0.5">
|
||||
<GradientStop Color="#a0eac2" Offset="0.0" />
|
||||
<GradientStop Color="#52c41a" Offset="1.0" />
|
||||
</LinearGradientBrush>
|
||||
|
||||
<LinearGradientBrush x:Key="ExceptionBrush" StartPoint="0,0.5" EndPoint="1,0.5">
|
||||
<GradientStop Color="#ffccc7" Offset="0.0" />
|
||||
<GradientStop Color="#ff4d4f" Offset="1.0" />
|
||||
</LinearGradientBrush>
|
||||
|
||||
|
||||
</ResourceDictionary>
|
||||
Reference in New Issue
Block a user