feat: BoxShadows related.

This commit is contained in:
Zhang Dian
2024-12-28 00:20:33 +08:00
parent 81f36f6559
commit 0f872689a2
8 changed files with 8 additions and 8 deletions

View File

@@ -1,5 +1,5 @@
<ResourceDictionary xmlns="https://github.com/avaloniaui" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
<BoxShadows x:Key="AutoCompleteBoxPopupBoxShadow">inset 0 0 0 1 #1AFFFFFF, 0 4 14 #40000000</BoxShadows>
<StaticResource x:Key="AutoCompleteBoxPopupBoxShadow" ResourceKey="SemiShadowElevated"/>
<StaticResource x:Key="AutoCompleteBoxPopupBackground" ResourceKey="SemiColorBackground3" />
<StaticResource x:Key="AutoCompleteBoxPopupBorderBrush" ResourceKey="SemiColorBorder" />
</ResourceDictionary>

View File

@@ -1,5 +1,5 @@
<ResourceDictionary xmlns="https://github.com/avaloniaui" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
<BoxShadows x:Key="BorderCardBoxShadow">inset 0 0 0 1 #1AFFFFFF, 0 4 14 #40000000</BoxShadows>
<StaticResource x:Key="BorderCardBoxShadow" ResourceKey="SemiShadowElevated" />
<StaticResource x:Key="BorderCardBackground" ResourceKey="SemiColorBackground1" />
<StaticResource x:Key="BorderCardBorderBrush" ResourceKey="SemiColorBorder" />
</ResourceDictionary>

View File

@@ -9,7 +9,7 @@
<StaticResource x:Key="CalendarDatePickerFocusBorderBrush" ResourceKey="SemiColorPrimary" />
<StaticResource x:Key="CalendarDatePickerDisabledBackground" ResourceKey="SemiColorDisabledFill" />
<SolidColorBrush x:Key="CalendarDatePickerDisabledIconForeground" Opacity="0.4" Color="#E6E8EA" />
<BoxShadows x:Key="CalendarDatePickerPopupBoxShadows">inset 0 0 0 1 #1AFFFFFF, 0 4 14 #40000000</BoxShadows>
<StaticResource x:Key="CalendarDatePickerPopupBoxShadows" ResourceKey="SemiShadowElevated" />
<SolidColorBrush x:Key="CalendarDatePickerBorderedDefaultBackground" Color="Transparent" />
<StaticResource x:Key="CalendarDatePickerBorderedDefaultBorderBrush" ResourceKey="SemiColorBorder" />
<SolidColorBrush x:Key="CalendarDatePickerBorderedPointeroverBackground" Color="Transparent" />

View File

@@ -15,7 +15,7 @@
<StaticResource x:Key="ComboBoxIconPressedForeground" ResourceKey="SemiColorText0" />
<StaticResource x:Key="ComboBoxIconDisabledForeground" ResourceKey="SemiColorDisabledText" />
<StaticResource x:Key="ComboBoxDisabledForeground" ResourceKey="SemiColorDisabledText" />
<BoxShadows x:Key="ComboBoxPopupBoxShadow">inset 0 0 0 1 #1AFFFFFF, 0 4 14 #40000000</BoxShadows>
<StaticResource x:Key="ComboBoxPopupBoxShadow" ResourceKey="SemiShadowElevated" />
<StaticResource x:Key="ComboBoxPopupBackground" ResourceKey="SemiColorBackground3" />
<StaticResource x:Key="ComboBoxPopupBorderBrush" ResourceKey="SemiColorBorder" />
<StaticResource x:Key="ComboBoxItemForeground" ResourceKey="SemiColorText0" />

View File

@@ -19,5 +19,5 @@
<SolidColorBrush x:Key="DateTimePickerButtonDisabledBorderBrush" Color="Transparent" />
<StaticResource x:Key="DateTimePickerButtonDisabledBackground" ResourceKey="SemiColorDisabledFill" />
<SolidColorBrush x:Key="DateTimePickerButtonDisabledIconForeground" Opacity="0.4" Color="#E6E8EA" />
<BoxShadows x:Key="DateTimePickerFlyoutBoxShadow">inset 0 0 0 1 #1AFFFFFF, 0 4 14 #40000000</BoxShadows>
<StaticResource x:Key="DateTimePickerFlyoutBoxShadow" ResourceKey="SemiShadowElevated" />
</ResourceDictionary>

View File

@@ -2,5 +2,5 @@
<StaticResource x:Key="FlyoutBackground" ResourceKey="SemiColorBackground3" />
<StaticResource x:Key="FlyoutForeground" ResourceKey="SemiColorText0" />
<StaticResource x:Key="FlyoutBorderBrush" ResourceKey="SemiColorBorder" />
<BoxShadows x:Key="FlyoutBorderBoxShadow">inset 0 0 0 1 #1AFFFFFF, 0 4 14 #40000000</BoxShadows>
<StaticResource x:Key="FlyoutBorderBoxShadow" ResourceKey="SemiShadowElevated" />
</ResourceDictionary>

View File

@@ -4,7 +4,7 @@
<!-- MenuFlyout -->
<StaticResource x:Key="MenuFlyoutBackground" ResourceKey="SemiColorBackground3" />
<StaticResource x:Key="MenuFlyoutBorderBrush" ResourceKey="SemiColorBorder" />
<BoxShadows x:Key="MenuFlyoutBorderBoxShadow">inset 0 0 0 1 #1AFFFFFF, 0 4 14 #40000000</BoxShadows>
<StaticResource x:Key="MenuFlyoutBorderBoxShadow" ResourceKey="SemiShadowElevated" />
<!-- MenuItem -->
<SolidColorBrush x:Key="MenuItemBackground" Color="Transparent" />
<StaticResource x:Key="MenuItemForeground" ResourceKey="SemiColorText0" />

View File

@@ -5,7 +5,7 @@
<StaticResource x:Key="NotificationCardSuccessIconForeground" ResourceKey="SemiColorSuccess" />
<StaticResource x:Key="NotificationCardWarningIconForeground" ResourceKey="SemiColorWarning" />
<StaticResource x:Key="NotificationCardErrorIconForeground" ResourceKey="SemiColorDanger" />
<BoxShadows x:Key="NotificationCardBoxShadows">inset 0 0 0 1 #1AFFFFFF, 0 4 14 #40000000</BoxShadows>
<StaticResource x:Key="NotificationCardBoxShadows" ResourceKey="SemiShadowElevated" />
<StaticResource x:Key="NotificationCardTitleForeground" ResourceKey="SemiColorText0" />
<StaticResource x:Key="NotificationCardMessageForeground" ResourceKey="SemiColorText1" />
<StaticResource x:Key="NotificationCardLightBackground" ResourceKey="SemiColorBackground0" />