功能更新
This commit is contained in:
121
Melskin/Themes/Accents/LightBlue.xaml
Normal file
121
Melskin/Themes/Accents/LightBlue.xaml
Normal file
@@ -0,0 +1,121 @@
|
||||
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
|
||||
|
||||
<!--
|
||||
品牌主色与变体色
|
||||
用于主要交互元素、视觉强调等场景
|
||||
-->
|
||||
<!-- 主品牌色(按钮、链接等主要交互元素的默认颜色) -->
|
||||
<Color x:Key="PrimaryNormalColor">#4098FF</Color>
|
||||
<SolidColorBrush x:Key="PrimaryNormalBrush" Color="{DynamicResource PrimaryNormalColor}" />
|
||||
|
||||
<!-- 品牌变体色(渐变效果和视觉强调的辅助色) -->
|
||||
<Color x:Key="PrimaryVariantColor">#3CD9E0</Color>
|
||||
<SolidColorBrush x:Key="PrimaryVariantBrush" Color="{DynamicResource PrimaryVariantColor}" />
|
||||
|
||||
<!--
|
||||
交互状态色组
|
||||
鼠标悬停、按压、聚焦、禁用等状态
|
||||
-->
|
||||
<!-- 鼠标悬停状态色(提供视觉反馈) -->
|
||||
<Color x:Key="PrimaryHoverColor">#3380E6</Color>
|
||||
<SolidColorBrush x:Key="PrimaryHoverBrush" Color="{DynamicResource PrimaryHoverColor}" />
|
||||
|
||||
<!-- 按压状态色(用户点击时的即时反馈色) -->
|
||||
<Color x:Key="PrimaryPressedColor">#1A66CC</Color>
|
||||
<SolidColorBrush x:Key="PrimaryPressedBrush" Color="{DynamicResource PrimaryPressedColor}" />
|
||||
|
||||
<!-- 聚焦状态色(键盘导航和焦点指示色) -->
|
||||
<Color x:Key="PrimaryFocusedColor">#66B2FF</Color>
|
||||
<SolidColorBrush x:Key="PrimaryFocusedBrush" Color="{DynamicResource PrimaryFocusedColor}" />
|
||||
|
||||
<!-- 禁用状态色(不可交互时的灰化效果) -->
|
||||
<Color x:Key="PrimaryDisabledColor">#AFC9E6</Color>
|
||||
<SolidColorBrush x:Key="PrimaryDisabledBrush" Color="{DynamicResource PrimaryDisabledColor}" />
|
||||
|
||||
<!--
|
||||
阴影色组
|
||||
用于拟态高光和深度阴影
|
||||
-->
|
||||
<!-- 亮阴影色(拟态高光) -->
|
||||
<Color x:Key="PrimaryLightShadowColor">#D6E9FF</Color>
|
||||
<SolidColorBrush x:Key="PrimaryLightShadowBrush" Color="{DynamicResource PrimaryLightShadowColor}" />
|
||||
|
||||
<!-- 暗阴影色(拟态深度) -->
|
||||
<Color x:Key="PrimaryDarkShadowColor">#4098FF</Color>
|
||||
<SolidColorBrush x:Key="PrimaryDarkShadowBrush" Color="{DynamicResource PrimaryDarkShadowColor}" />
|
||||
|
||||
<!--
|
||||
渐变色与特效(未改动,保持原样)
|
||||
-->
|
||||
<!-- 品牌主渐变 -->
|
||||
<LinearGradientBrush x:Key="PrimaryGradientBrush" StartPoint="0,1" EndPoint="1,0">
|
||||
<GradientStop Offset="0" Color="{StaticResource PrimaryNormalColor}" />
|
||||
<GradientStop Offset="1" Color="{StaticResource PrimaryVariantColor}" />
|
||||
</LinearGradientBrush>
|
||||
|
||||
<!-- 品牌不确定状态渐变 -->
|
||||
<LinearGradientBrush x:Key="PrimaryIndeterminateGradientBrush" StartPoint="0,1" EndPoint="1,0">
|
||||
<GradientStop Offset="0" Color="{StaticResource PrimaryNormalColor}" />
|
||||
<GradientStop Offset="0.7" Color="{StaticResource PrimaryVariantColor}" />
|
||||
<GradientStop Offset="0.8" Color="{StaticResource PrimaryNormalColor}" />
|
||||
<LinearGradientBrush.RelativeTransform>
|
||||
<TransformGroup>
|
||||
<ScaleTransform />
|
||||
<SkewTransform />
|
||||
<RotateTransform />
|
||||
<TranslateTransform />
|
||||
</TransformGroup>
|
||||
</LinearGradientBrush.RelativeTransform>
|
||||
</LinearGradientBrush>
|
||||
|
||||
<!-- 拟态焦点视觉样式 -->
|
||||
<Style x:Key="NeumorphicFocusVisual">
|
||||
<Setter Property="Control.Template">
|
||||
<Setter.Value>
|
||||
<ControlTemplate>
|
||||
<Rectangle>
|
||||
<Rectangle.Effect>
|
||||
<DropShadowEffect
|
||||
BlurRadius="10"
|
||||
Opacity="0.18"
|
||||
ShadowDepth="0"
|
||||
Color="{StaticResource PrimaryNormalColor}" />
|
||||
</Rectangle.Effect>
|
||||
</Rectangle>
|
||||
</ControlTemplate>
|
||||
</Setter.Value>
|
||||
</Setter>
|
||||
</Style>
|
||||
|
||||
<Style x:Key="FocusVisual">
|
||||
<Setter Property="Control.Template">
|
||||
<Setter.Value>
|
||||
<ControlTemplate>
|
||||
<Rectangle
|
||||
Margin="0"
|
||||
RadiusX="5"
|
||||
RadiusY="5"
|
||||
SnapsToDevicePixels="true"
|
||||
Stroke="{StaticResource PrimaryNormalBrush}"
|
||||
StrokeThickness="2" />
|
||||
</ControlTemplate>
|
||||
</Setter.Value>
|
||||
</Setter>
|
||||
</Style>
|
||||
|
||||
<Style x:Key="OptionMarkFocusVisual">
|
||||
<Setter Property="Control.Template">
|
||||
<Setter.Value>
|
||||
<ControlTemplate>
|
||||
<Rectangle
|
||||
Margin="0"
|
||||
RadiusX="5"
|
||||
RadiusY="5"
|
||||
SnapsToDevicePixels="true"
|
||||
Stroke="{StaticResource PrimaryNormalBrush}"
|
||||
StrokeThickness="2" />
|
||||
</ControlTemplate>
|
||||
</Setter.Value>
|
||||
</Setter>
|
||||
</Style>
|
||||
</ResourceDictionary>
|
||||
Reference in New Issue
Block a user