2026-02-27 19:27:38 +08:00
|
|
|
<Styles xmlns="https://github.com/avaloniaui"
|
|
|
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
|
|
|
xmlns:ui="using:FluentAvalonia.UI.Controls">
|
|
|
|
|
|
2026-02-28 03:00:25 +08:00
|
|
|
<Style Selector="TextBlock">
|
|
|
|
|
<Setter Property="Foreground" Value="{DynamicResource AdaptiveTextPrimaryBrush}" />
|
|
|
|
|
</Style>
|
|
|
|
|
|
2026-02-27 19:27:38 +08:00
|
|
|
<Style Selector="Button">
|
|
|
|
|
<Setter Property="Background" Value="{DynamicResource AdaptiveButtonBackgroundBrush}" />
|
|
|
|
|
<Setter Property="BorderThickness" Value="1" />
|
2026-02-28 03:00:25 +08:00
|
|
|
<Setter Property="BorderBrush" Value="{DynamicResource AdaptiveButtonBorderBrush}" />
|
2026-02-28 04:23:28 +08:00
|
|
|
<Setter Property="CornerRadius" Value="6" />
|
2026-02-27 19:27:38 +08:00
|
|
|
<Setter Property="Foreground" Value="{DynamicResource AdaptiveTextPrimaryBrush}" />
|
2026-02-28 04:23:28 +08:00
|
|
|
<Setter Property="FontSize" Value="14" />
|
|
|
|
|
<Setter Property="Padding" Value="16,10" />
|
2026-02-28 03:00:25 +08:00
|
|
|
<Setter Property="Transitions">
|
|
|
|
|
<Transitions>
|
2026-02-28 04:23:28 +08:00
|
|
|
<TransformOperationsTransition Property="RenderTransform" Duration="0:0:0.12" />
|
|
|
|
|
<DoubleTransition Property="Opacity" Duration="0:0:0.12" />
|
|
|
|
|
<BrushTransition Property="Background" Duration="0:0:0.12" />
|
2026-02-28 03:00:25 +08:00
|
|
|
</Transitions>
|
|
|
|
|
</Setter>
|
2026-02-27 19:27:38 +08:00
|
|
|
</Style>
|
|
|
|
|
|
|
|
|
|
<Style Selector="Button:pointerover">
|
|
|
|
|
<Setter Property="Background" Value="{DynamicResource AdaptiveButtonHoverBackgroundBrush}" />
|
2026-02-28 04:23:28 +08:00
|
|
|
<Setter Property="RenderTransform" Value="scale(1.015)" />
|
2026-02-27 19:27:38 +08:00
|
|
|
</Style>
|
|
|
|
|
|
|
|
|
|
<Style Selector="Button:pressed">
|
|
|
|
|
<Setter Property="Background" Value="{DynamicResource AdaptiveButtonPressedBackgroundBrush}" />
|
2026-02-28 04:23:28 +08:00
|
|
|
<Setter Property="RenderTransform" Value="scale(0.985)" />
|
2026-02-27 19:27:38 +08:00
|
|
|
</Style>
|
|
|
|
|
|
|
|
|
|
<Style Selector="ComboBox">
|
|
|
|
|
<Setter Property="Background" Value="{DynamicResource AdaptiveButtonBackgroundBrush}" />
|
|
|
|
|
<Setter Property="BorderThickness" Value="1" />
|
2026-02-28 03:00:25 +08:00
|
|
|
<Setter Property="BorderBrush" Value="{DynamicResource AdaptiveButtonBorderBrush}" />
|
2026-02-27 19:27:38 +08:00
|
|
|
<Setter Property="Foreground" Value="{DynamicResource AdaptiveTextPrimaryBrush}" />
|
|
|
|
|
</Style>
|
|
|
|
|
|
|
|
|
|
<Style Selector="ComboBox:pointerover">
|
|
|
|
|
<Setter Property="Background" Value="{DynamicResource AdaptiveButtonHoverBackgroundBrush}" />
|
|
|
|
|
</Style>
|
|
|
|
|
|
|
|
|
|
<Style Selector="ui|NumberBox">
|
|
|
|
|
<Setter Property="Background" Value="{DynamicResource AdaptiveButtonBackgroundBrush}" />
|
|
|
|
|
<Setter Property="BorderThickness" Value="1" />
|
2026-02-28 03:00:25 +08:00
|
|
|
<Setter Property="BorderBrush" Value="{DynamicResource AdaptiveButtonBorderBrush}" />
|
2026-02-27 19:27:38 +08:00
|
|
|
<Setter Property="Foreground" Value="{DynamicResource AdaptiveTextPrimaryBrush}" />
|
|
|
|
|
</Style>
|
|
|
|
|
|
|
|
|
|
<Style Selector="ToggleSwitch">
|
|
|
|
|
<Setter Property="Foreground" Value="{DynamicResource AdaptiveTextPrimaryBrush}" />
|
|
|
|
|
</Style>
|
|
|
|
|
|
2026-02-28 03:00:25 +08:00
|
|
|
<Style Selector="Button.swatch-button">
|
|
|
|
|
<Setter Property="BorderThickness" Value="0" />
|
|
|
|
|
<Setter Property="CornerRadius" Value="10" />
|
|
|
|
|
<Setter Property="Opacity" Value="0.88" />
|
|
|
|
|
</Style>
|
|
|
|
|
|
|
|
|
|
<Style Selector="Button.swatch-button.swatch-selected">
|
|
|
|
|
<Setter Property="Background" Value="{DynamicResource AdaptiveNavItemSelectedBackgroundBrush}" />
|
|
|
|
|
<Setter Property="Opacity" Value="1" />
|
|
|
|
|
<Setter Property="RenderTransform" Value="scale(1.05)" />
|
|
|
|
|
</Style>
|
|
|
|
|
|
2026-02-27 19:27:38 +08:00
|
|
|
<Style Selector="Border.glass-panel">
|
|
|
|
|
<Setter Property="Background" Value="{DynamicResource AdaptiveGlassPanelBackgroundBrush}" />
|
|
|
|
|
<Setter Property="BorderBrush" Value="{DynamicResource AdaptiveGlassPanelBorderBrush}" />
|
|
|
|
|
<Setter Property="BorderThickness" Value="1" />
|
2026-02-28 04:23:28 +08:00
|
|
|
<Setter Property="CornerRadius" Value="8" />
|
2026-02-28 03:00:25 +08:00
|
|
|
<Setter Property="Opacity" Value="{DynamicResource AdaptiveGlassPanelOpacity}" />
|
2026-02-28 04:23:28 +08:00
|
|
|
<Setter Property="BoxShadow" Value="0 1 2 #1A000000" />
|
2026-02-27 19:27:38 +08:00
|
|
|
</Style>
|
|
|
|
|
|
|
|
|
|
<Style Selector="Border.glass-strong">
|
|
|
|
|
<Setter Property="Background" Value="{DynamicResource AdaptiveGlassStrongBackgroundBrush}" />
|
|
|
|
|
<Setter Property="BorderBrush" Value="{DynamicResource AdaptiveGlassStrongBorderBrush}" />
|
|
|
|
|
<Setter Property="BorderThickness" Value="1" />
|
2026-02-28 04:23:28 +08:00
|
|
|
<Setter Property="CornerRadius" Value="12" />
|
2026-02-28 03:00:25 +08:00
|
|
|
<Setter Property="Opacity" Value="{DynamicResource AdaptiveGlassStrongOpacity}" />
|
2026-02-28 04:23:28 +08:00
|
|
|
<Setter Property="BoxShadow" Value="0 2 4 #26000000" />
|
2026-02-28 03:00:25 +08:00
|
|
|
</Style>
|
|
|
|
|
|
|
|
|
|
<Style Selector="Border.glass-overlay">
|
|
|
|
|
<Setter Property="Background" Value="{DynamicResource AdaptiveGlassOverlayBackgroundBrush}" />
|
|
|
|
|
<Setter Property="BorderThickness" Value="0" />
|
|
|
|
|
<Setter Property="CornerRadius" Value="0" />
|
|
|
|
|
<Setter Property="Opacity" Value="{DynamicResource AdaptiveGlassOverlayOpacity}" />
|
2026-02-27 19:27:38 +08:00
|
|
|
</Style>
|
|
|
|
|
|
|
|
|
|
</Styles>
|