feat: opacity=0.35 text.

This commit is contained in:
Zhang Dian 2024-04-21 19:37:20 +08:00
parent 4e4136aa02
commit 111a2c91b7
16 changed files with 41 additions and 41 deletions

View File

@ -6,7 +6,7 @@
<StaticResource x:Key="ButtonDefaultSuccessForeground" ResourceKey="SemiColorSuccess" />
<StaticResource x:Key="ButtonDefaultWarningForeground" ResourceKey="SemiColorWarning" />
<StaticResource x:Key="ButtonDefaultDangerForeground" ResourceKey="SemiColorDanger" />
<SolidColorBrush x:Key="ButtonDefaultDisabledForeground" Opacity="0.35" Color="#F9F9F9" />
<StaticResource x:Key="ButtonDefaultDisabledForeground" ResourceKey="SemiColorDisabledText" />
<StaticResource x:Key="ButtonDefaultBackground" ResourceKey="SemiColorFill0" />
<StaticResource x:Key="ButtonDefaultPointeroverBackground" ResourceKey="SemiColorFill1" />

View File

@ -12,8 +12,8 @@
<StaticResource x:Key="CalendarItemCalendarButtonPressedBackground" ResourceKey="SemiColorFill2" />
<StaticResource x:Key="CalendarItemCalendarButtonSelectedBackground" ResourceKey="SemiColorInformation" />
<StaticResource x:Key="CalendarItemCalendarButtonSelectedForeground" ResourceKey="SemiColorBackground1" />
<SolidColorBrush x:Key="CalendarItemCalendarButtonDisabledForeground" Opacity="0.35" Color="#F9F9F9" />
<SolidColorBrush x:Key="CalendarItemCalendarButtonBlackoutForeground" Opacity="0.35" Color="#F9F9F9" />
<StaticResource x:Key="CalendarItemCalendarButtonDisabledForeground" ResourceKey="SemiColorDisabledText" />
<StaticResource x:Key="CalendarItemCalendarButtonBlackoutForeground" ResourceKey="SemiColorDisabledText" />
<SolidColorBrush x:Key="CalendarItemCalendarButtonInactiveForeground" Opacity="0.65" Color="#F9F9F9" />
<StaticResource x:Key="CalendarItemCalendarDayButtonForeground" ResourceKey="SemiColorText0" />
@ -29,7 +29,7 @@
<StaticResource x:Key="CalendarItemCalendarDayButtonTodayForeground" ResourceKey="SemiColorInformation" />
<StaticResource x:Key="CalendarItemCalendarDayButtonTodayBackground" ResourceKey="SemiColorFill0" />
<SolidColorBrush x:Key="CalendarItemCalendarDayButtonDisabledForeground" Opacity="0.35" Color="#F9F9F9" />
<SolidColorBrush x:Key="CalendarItemCalendarDayButtonBlackoutForeground" Opacity="0.35" Color="#F9F9F9" />
<StaticResource x:Key="CalendarItemCalendarDayButtonDisabledForeground" ResourceKey="SemiColorDisabledText" />
<StaticResource x:Key="CalendarItemCalendarDayButtonBlackoutForeground" ResourceKey="SemiColorDisabledText" />
<StaticResource x:Key="CalendarItemCalendarDayButtonInactiveForeground" ResourceKey="SemiColorText2" />
</ResourceDictionary>

View File

@ -1,12 +1,12 @@
<ResourceDictionary xmlns="https://github.com/avaloniaui" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
<StaticResource x:Key="CheckBoxForeground" ResourceKey="SemiColorText0" />
<SolidColorBrush x:Key="CheckBoxDisabledForeground" Opacity="0.35" Color="#F9F9F9" />
<StaticResource x:Key="CheckBoxDisabledForeground" ResourceKey="SemiColorDisabledText" />
<SolidColorBrush x:Key="CheckBoxGlyphFill" Color="White" />
<SolidColorBrush x:Key="CheckBoxGlyphDisabledFill" Color="White" />
<SolidColorBrush x:Key="CheckBoxDefaultBackground" Color="Transparent" />
<SolidColorBrush x:Key="CheckBoxDefaultBorderBrush" Opacity="0.35" Color="#F9F9F9" />
<StaticResource x:Key="CheckBoxDefaultBorderBrush" ResourceKey="SemiColorText3" />
<StaticResource x:Key="CheckBoxPointeroverBackground" ResourceKey="SemiColorFill0" />
<StaticResource x:Key="CheckBoxPointeroverBorderBrush" ResourceKey="SemiColorInformation" />
<StaticResource x:Key="CheckBoxPressedBackground" ResourceKey="SemiColorInformationPressed" />

View File

@ -10,9 +10,9 @@
<StaticResource x:Key="ComboBoxIconDefaultForeground" ResourceKey="SemiColorText2" />
<StaticResource x:Key="ComboBoxIconPointeroverForeground" ResourceKey="SemiColorText0" />
<StaticResource x:Key="ComboBoxIconPressedForeground" ResourceKey="SemiColorText0" />
<SolidColorBrush x:Key="ComboBoxIconDisabledForeground" Opacity="0.35" Color="#F9F9F9" />
<StaticResource x:Key="ComboBoxIconDisabledForeground" ResourceKey="SemiColorDisabledText" />
<SolidColorBrush x:Key="ComboBoxDisabledForeground" Opacity="0.35" Color="#F9F9F9" />
<StaticResource x:Key="ComboBoxDisabledForeground" ResourceKey="SemiColorDisabledText" />
<BoxShadows x:Key="ComboBoxPopupBoxShadow">0 0 8 0 #1AFFFFFF</BoxShadows>
<StaticResource x:Key="ComboBoxPopupBackground" ResourceKey="SemiColorBackground2" />

View File

@ -1,9 +1,9 @@
<ResourceDictionary xmlns="https://github.com/avaloniaui" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
<SolidColorBrush x:Key="ExpanderSeparatorBorderBrush" Opacity="0.08" Color="#F9F9F9" />
<StaticResource x:Key="ExpanderHeaderForeground" ResourceKey="SemiColorText0" />
<SolidColorBrush x:Key="ExpanderHeaderDisabledForeground" Opacity="0.35" Color="#F9F9F9" />
<StaticResource x:Key="ExpanderHeaderDisabledForeground" ResourceKey="SemiColorDisabledText" />
<SolidColorBrush x:Key="ExpanderHeaderDefaultBackground" Color="Transparent" />
<StaticResource x:Key="ExpanderHeaderHoverBackground" ResourceKey="SemiColorFill0" />
<StaticResource x:Key="ExpanderHeaderPressedBackground" ResourceKey="SemiColorFill1" />
<SolidColorBrush x:Key="ExpanderContentForeground" Opacity="0.8" Color="#F9F9F9" />
<StaticResource x:Key="ExpanderContentForeground" ResourceKey="SemiColorText1" />
</ResourceDictionary>

View File

@ -2,6 +2,6 @@
<StaticResource x:Key="HyperlinkButtonForeground" ResourceKey="SemiColorText0" />
<SolidColorBrush x:Key="HyperlinkButtonDefaultBackground" Color="Transparent" />
<StaticResource x:Key="HyperlinkButtonOverForeground" ResourceKey="SemiColorInformation" />
<SolidColorBrush x:Key="HyperlinkButtonDisabledForeground" Opacity="0.35" Color="#F9F9F9" />
<StaticResource x:Key="HyperlinkButtonDisabledForeground" ResourceKey="SemiColorDisabledText" />
<SolidColorBrush x:Key="HyperlinkButtonVisitedForeground" Color="#681DA8" />
</ResourceDictionary>

View File

@ -1,6 +1,6 @@
<ResourceDictionary xmlns="https://github.com/avaloniaui" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
<!-- ListBox -->
<SolidColorBrush x:Key="ListBoxItemDisabledForeground" Opacity="0.35" Color="#F9F9F9" />
<StaticResource x:Key="ListBoxItemDisabledForeground" ResourceKey="SemiColorDisabledText" />
<SolidColorBrush x:Key="ListBoxItemDefaultBackground" Color="Transparent" />
<StaticResource x:Key="ListBoxItemPointeroverBackground" ResourceKey="SemiColorFill0" />
@ -11,14 +11,14 @@
<StaticResource x:Key="ListBoxItemSelectedDisabledBackground" ResourceKey="SemiColorDisabledFill" />
<!-- RadioGroupListBox -->
<SolidColorBrush x:Key="ListBoxItemRadioGroupDisabledForeground" Opacity="0.35" Color="#F9F9F9" />
<StaticResource x:Key="ListBoxItemRadioGroupDisabledForeground" ResourceKey="SemiColorDisabledText" />
<SolidColorBrush x:Key="ListBoxItemRadioGroupUncheckIconDefaultBackground" Color="Transparent" />
<StaticResource x:Key="ListBoxItemRadioGroupUncheckIconPointeroverBackground" ResourceKey="SemiColorFill0" />
<StaticResource x:Key="ListBoxItemRadioGroupUncheckIconPressedBackground" ResourceKey="SemiColorFill1" />
<StaticResource x:Key="ListBoxItemRadioGroupUncheckIconDisabledBackground" ResourceKey="SemiColorFill0" />
<SolidColorBrush x:Key="ListBoxItemRadioGroupUncheckIconDefaultBorderBrush" Opacity="0.35" Color="#F9F9F9" />
<StaticResource x:Key="ListBoxItemRadioGroupUncheckIconDefaultBorderBrush" ResourceKey="SemiColorText3" />
<StaticResource x:Key="ListBoxItemRadioGroupUncheckIconPointeroverBorderBrush" ResourceKey="SemiColorInformationPointerover" />
<StaticResource x:Key="ListBoxItemRadioGroupUncheckIconPressedBorderBrush" ResourceKey="SemiColorInformationPressed" />
<SolidColorBrush x:Key="ListBoxItemRadioGroupUncheckIconDisabledBorderBrush" Opacity="0.08" Color="#F9F9F9" />
@ -37,15 +37,15 @@
<StaticResource x:Key="ListBoxItemRadioGroupForeground" ResourceKey="SemiColorText0" />
<SolidColorBrush x:Key="ListBoxItemRadioGroupDefaultBackground" Color="Transparent" />
<SolidColorBrush x:Key="ListBoxItemRadioGroupDefaultBorderBrush" Opacity="0.35" Color="#F9F9F9" />
<StaticResource x:Key="ListBoxItemRadioGroupDefaultBorderBrush" ResourceKey="SemiColorText3" />
<!-- ButtonRadioGroupListBox -->
<SolidColorBrush x:Key="ListBoxItemRadioGroupButtonUncheckedForeground" Opacity="0.8" Color="#F9F9F9" />
<StaticResource x:Key="ListBoxItemRadioGroupButtonUncheckedForeground" ResourceKey="SemiColorText1" />
<StaticResource x:Key="ListBoxItemRadioGroupButtonUncheckedPointeroverBackground" ResourceKey="SemiColorFill1" />
<SolidColorBrush x:Key="ListBoxItemRadioGroupButtonUncheckedDisabledForeground" Opacity="0.35" Color="#F9F9F9" />
<StaticResource x:Key="ListBoxItemRadioGroupButtonUncheckedDisabledForeground" ResourceKey="SemiColorDisabledText" />
<StaticResource x:Key="ListBoxItemRadioGroupButtonCheckedForeground" ResourceKey="SemiColorInformation" />
<StaticResource x:Key="ListBoxItemRadioGroupButtonCheckedBackground" ResourceKey="SemiColorBackground3" />
<SolidColorBrush x:Key="ListBoxItemRadioGroupButtonCheckedDisabledForeground" Opacity="0.35" Color="#F9F9F9" />
<StaticResource x:Key="ListBoxItemRadioGroupButtonCheckedDisabledForeground" ResourceKey="SemiColorDisabledText" />
<!-- CardRadioGroupListBox -->
<SolidColorBrush x:Key="ListBoxItemRadioGroupCardDefaultBackground" Color="Transparent" />
@ -59,13 +59,13 @@
<!-- CheckGroupListBox -->
<StaticResource x:Key="ListBoxItemCheckForeground" ResourceKey="SemiColorText0" />
<SolidColorBrush x:Key="ListBoxItemCheckDisabledForeground" Opacity="0.35" Color="#F9F9F9" />
<StaticResource x:Key="ListBoxItemCheckDisabledForeground" ResourceKey="SemiColorDisabledText" />
<SolidColorBrush x:Key="ListBoxItemCheckGlyphFill" Color="White" />
<SolidColorBrush x:Key="ListBoxItemCheckGlyphDisabledFill" Color="White" />
<SolidColorBrush x:Key="ListBoxItemCheckDefaultBackground" Color="Transparent" />
<SolidColorBrush x:Key="ListBoxItemCheckDefaultBorderBrush" Opacity="0.35" Color="#F9F9F9" />
<StaticResource x:Key="ListBoxItemCheckDefaultBorderBrush" ResourceKey="SemiColorText3" />
<StaticResource x:Key="ListBoxItemCheckPointeroverBackground" ResourceKey="SemiColorFill0" />
<StaticResource x:Key="ListBoxItemCheckPointeroverBorderBrush" ResourceKey="SemiColorInformation" />
<StaticResource x:Key="ListBoxItemCheckPressedBackground" ResourceKey="SemiColorInformationPressed" />

View File

@ -18,7 +18,7 @@
<StaticResource x:Key="MenuItemExpandIconForeground" ResourceKey="SemiColorText2" />
<StaticResource x:Key="MenuItemExpandIconOpenForeground" ResourceKey="SemiColorText0" />
<SolidColorBrush x:Key="MenuItemDisabledForeground" Opacity="0.35" Color="#F9F9F9" />
<StaticResource x:Key="MenuItemDisabledForeground" ResourceKey="SemiColorDisabledText" />
<SolidColorBrush x:Key="MenuItemDisabledInputGestureTextForeground" Opacity="0.2" Color="#F9F9F9" />
<SolidColorBrush x:Key="MenuItemDisabledExpandIconForeground" Opacity="0.35" Color="#F9F9F9" />
<StaticResource x:Key="MenuItemDisabledExpandIconForeground" ResourceKey="SemiColorDisabledText" />
</ResourceDictionary>

View File

@ -1,13 +1,13 @@
<ResourceDictionary xmlns="https://github.com/avaloniaui" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
<!-- RadioButton -->
<SolidColorBrush x:Key="RadioButtonDisabledForeground" Opacity="0.35" Color="#F9F9F9" />
<StaticResource x:Key="RadioButtonDisabledForeground" ResourceKey="SemiColorDisabledText" />
<SolidColorBrush x:Key="RadioButtonUncheckIconDefaultBackground" Color="Transparent" />
<StaticResource x:Key="RadioButtonUncheckIconPointeroverBackground" ResourceKey="SemiColorFill0" />
<StaticResource x:Key="RadioButtonUncheckIconPressedBackground" ResourceKey="SemiColorFill1" />
<StaticResource x:Key="RadioButtonUncheckIconDisabledBackground" ResourceKey="SemiColorFill0" />
<SolidColorBrush x:Key="RadioButtonUncheckIconDefaultBorderBrush" Opacity="0.35" Color="#F9F9F9" />
<StaticResource x:Key="RadioButtonUncheckIconDefaultBorderBrush" ResourceKey="SemiColorText3" />
<StaticResource x:Key="RadioButtonUncheckIconPointeroverBorderBrush" ResourceKey="SemiColorInformationPointerover" />
<StaticResource x:Key="RadioButtonUncheckIconPressedBorderBrush" ResourceKey="SemiColorInformationPressed" />
<SolidColorBrush x:Key="RadioButtonUncheckIconDisabledBorderBrush" Opacity="0.08" Color="#F9F9F9" />
@ -25,17 +25,17 @@
<StaticResource x:Key="RadioButtonForeground" ResourceKey="SemiColorText0" />
<SolidColorBrush x:Key="RadioButtonDefaultBackground" Color="Transparent" />
<SolidColorBrush x:Key="RadioButtonDefaultBorderBrush" Opacity="0.35" Color="#F9F9F9" />
<StaticResource x:Key="RadioButtonDefaultBorderBrush" ResourceKey="SemiColorText3" />
<StaticResource x:Key="RadioButtonGroupBackground" ResourceKey="SemiColorFill0" />
<!-- ButtonRadioButton -->
<SolidColorBrush x:Key="RadioButtonButtonUncheckedForeground" Opacity="0.8" Color="#F9F9F9" />
<StaticResource x:Key="RadioButtonButtonUncheckedForeground" ResourceKey="SemiColorText1" />
<StaticResource x:Key="RadioButtonButtonUncheckedPointeroverBackground" ResourceKey="SemiColorFill1" />
<SolidColorBrush x:Key="RadioButtonButtonUncheckedDisabledForeground" Opacity="0.35" Color="#F9F9F9" />
<StaticResource x:Key="RadioButtonButtonUncheckedDisabledForeground" ResourceKey="SemiColorDisabledText" />
<StaticResource x:Key="RadioButtonButtonCheckedForeground" ResourceKey="SemiColorInformation" />
<StaticResource x:Key="RadioButtonButtonCheckedBackground" ResourceKey="SemiColorBackground3" />
<SolidColorBrush x:Key="RadioButtonButtonCheckedDisabledForeground" Opacity="0.35" Color="#F9F9F9" />
<StaticResource x:Key="RadioButtonButtonCheckedDisabledForeground" ResourceKey="SemiColorDisabledText" />
<!-- CardRadioButton -->
<SolidColorBrush x:Key="RadioButtonCardDefaultBackground" Color="Transparent" />

View File

@ -1,7 +1,7 @@
<ResourceDictionary xmlns="https://github.com/avaloniaui" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
<SolidColorBrush x:Key="ScrollBarButtonDefaultForeground" Opacity="0.35" Color="#F9F9F9" />
<StaticResource x:Key="ScrollBarButtonDefaultForeground" ResourceKey="SemiColorText3" />
<StaticResource x:Key="ScrollBarButtonPointeroverForeground" ResourceKey="SemiColorText2" />
<SolidColorBrush x:Key="ScrollBarThumbForeground" Opacity="0.35" Color="#F9F9F9" />
<StaticResource x:Key="ScrollBarThumbForeground" ResourceKey="SemiColorText3" />
<StaticResource x:Key="ScrollBarThumbPointeroverForeground" ResourceKey="SemiColorText2" />
<SolidColorBrush x:Key="ScrollBarBackground" Color="Transparent" />
</ResourceDictionary>

View File

@ -6,6 +6,6 @@
<StaticResource x:Key="TabItemLinePipePressedBorderBrush" ResourceKey="SemiColorFill2" />
<StaticResource x:Key="TabItemLineHeaderForeground" ResourceKey="SemiColorText2" />
<SolidColorBrush x:Key="TabItemLineHeaderPointeroverForeground" Opacity="0.8" Color="#F9F9F9" />
<StaticResource x:Key="TabItemLineHeaderPointeroverForeground" ResourceKey="SemiColorText1" />
<StaticResource x:Key="TabItemLineHeaderSelectedForeground" ResourceKey="SemiColorText0" />
</ResourceDictionary>

View File

@ -1,12 +1,12 @@
<ResourceDictionary xmlns="https://github.com/avaloniaui" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
<StaticResource x:Key="TextBlockDefaultForeground" ResourceKey="SemiColorText0" />
<SolidColorBrush x:Key="TextBlockSecondaryForeground" Opacity="0.8" Color="#F9F9F9" />
<StaticResource x:Key="TextBlockSecondaryForeground" ResourceKey="SemiColorText1" />
<StaticResource x:Key="TextBlockTertiaryForeground" ResourceKey="SemiColorText2" />
<SolidColorBrush x:Key="TextBlockQuaternaryForeground" Opacity="0.35" Color="#F9F9F9" />
<StaticResource x:Key="TextBlockQuaternaryForeground" ResourceKey="SemiColorText3" />
<StaticResource x:Key="TextBlockSuccessForeground" ResourceKey="SemiColorSuccess" />
<StaticResource x:Key="TextBlockWarningForeground" ResourceKey="SemiColorWarning" />
<StaticResource x:Key="TextBlockDangerForeground" ResourceKey="SemiColorDanger" />
<SolidColorBrush x:Key="TextBlockDisabledForeground" Opacity="0.35" Color="#F9F9F9" />
<StaticResource x:Key="TextBlockDisabledForeground" ResourceKey="SemiColorDisabledText" />
<SolidColorBrush x:Key="TextBlockCodeForeground" Opacity="0.68" Color="#F9F9F9" />
<SolidColorBrush x:Key="TextBlockMarkBackground" Color="#053170" />
<SolidColorBrush x:Key="TextBlockCodeBackground" Opacity="0.1" Color="#E6E8EA" />

View File

@ -13,7 +13,7 @@
<SolidColorBrush x:Key="TextBoxButtonPointeroverForeground" Opacity="0.4" Color="#E6E8EA" />
<StaticResource x:Key="TextBoxDisabledBackground" ResourceKey="SemiColorDisabledFill" />
<SolidColorBrush x:Key="TextBoxDisabledForeground" Opacity="0.35" Color="#F9F9F9" />
<StaticResource x:Key="TextBoxDisabledForeground" ResourceKey="SemiColorDisabledText" />
<SolidColorBrush x:Key="TextBoxDisabledBorderBrush" Color="Transparent" />
<SolidColorBrush x:Key="TextBoxBorderedDefaultBackground" Color="Transparent" />

View File

@ -4,7 +4,7 @@
<StaticResource x:Key="ToggleButtonDefaultPressedBackground" ResourceKey="SemiColorFill2" />
<StaticResource x:Key="ToggleButtonDefaultDisabledBackground" ResourceKey="SemiColorDisabledFill" />
<SolidColorBrush x:Key="ToggleButtonDefaultDisabledBorderBrush" Color="Transparent" />
<SolidColorBrush x:Key="ToggleButtonDefaultDisabledForeground" Opacity="0.35" Color="#F9F9F9" />
<StaticResource x:Key="ToggleButtonDefaultDisabledForeground" ResourceKey="SemiColorDisabledText" />
<SolidColorBrush x:Key="ToggleButtonDefaultBorderBrush" Color="Transparent" />
@ -80,5 +80,5 @@
<StaticResource x:Key="ToggleButtonWarningIndeterminatePressedForeground" ResourceKey="SemiColorWarningPressed" />
<StaticResource x:Key="ToggleButtonDangerIndeterminatePressedForeground" ResourceKey="SemiColorDangerPressed" />
<SolidColorBrush x:Key="ToggleButtonIndeterminateDisabledBorderBrush" Opacity="0.35" Color="#F9F9F9" />
<StaticResource x:Key="ToggleButtonIndeterminateDisabledBorderBrush" ResourceKey="SemiColorDisabledText" />
</ResourceDictionary>

View File

@ -2,7 +2,7 @@
<StaticResource x:Key="TreeViewItemDefaultForeground" ResourceKey="SemiColorText0" />
<StaticResource x:Key="TreeViewItemIconDefaultForeground" ResourceKey="SemiColorText2" />
<StaticResource x:Key="TreeViewItemIconHoverForeground" ResourceKey="SemiColorText0" />
<SolidColorBrush x:Key="TreeViewItemDisabledForeground" Opacity="0.35" Color="#F9F9F9" />
<StaticResource x:Key="TreeViewItemDisabledForeground" ResourceKey="SemiColorDisabledText" />
<SolidColorBrush x:Key="TreeViewItemDefaultBackground" Color="Transparent" />
<StaticResource x:Key="TreeViewItemPointeroverBackground" ResourceKey="SemiColorFill0" />

View File

@ -1,7 +1,7 @@
<ResourceDictionary xmlns="https://github.com/avaloniaui" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
<StaticResource x:Key="ScrollBarButtonDefaultForeground" ResourceKey="SemiColorDisabledText" />
<StaticResource x:Key="ScrollBarButtonDefaultForeground" ResourceKey="SemiColorText3" />
<StaticResource x:Key="ScrollBarButtonPointeroverForeground" ResourceKey="SemiColorText2" />
<StaticResource x:Key="ScrollBarThumbForeground" ResourceKey="SemiColorDisabledText" />
<StaticResource x:Key="ScrollBarThumbForeground" ResourceKey="SemiColorText3" />
<StaticResource x:Key="ScrollBarThumbPointeroverForeground" ResourceKey="SemiColorText2" />
<SolidColorBrush x:Key="ScrollBarBackground" Color="Transparent" />
</ResourceDictionary>