Ghost1372

everything can be handy

Color

There are three built-in color xaml definitions, as described in the following table:

Name Use
Colors.xaml Default configuration
ColorsDark.xaml Dark Configuration
ColorsViolet.xaml Purple Configuration

The same color name is defined in each file, except that the color values are different. The description of the color names is shown in the following table:

Name Use
PrimaryColor Main Color
LightPrimaryColor Main Color (Light)
DarkPrimaryColor Main Color (Dark)
DangerColor Error, danger
LightDangerColor Error, danger (Light)
DarkDangerColor Error, Danger (Dark)
WarningColor Warning
LightWarningColor Warning (Light)
DarkWarningColor Warning (Dark)
InfoColor Information
LightInfoColor Information (Light)
DarkInfoColor Information (Dark)
SuccessColor Success
LightSuccessColor Success (Light)
DarkSuccessColor Success (Dark)
VioletColor Main Color (Violet) Only Custom Version
DarkVioletColor Main Color (Violet) Only Custom Version
PrimaryTextColor Main Text
SecondaryTextColor Secondary Text
ThirdlyTextColor Last Text
ReverseTextColor Inverted Text
TextIconColor General for text or icons on a dark background
BorderColor Border
SecondaryBorderColor Secondary Border
BackgroundColor Main Background Color
RegionColor Block Background
SecondaryRegionColor Secondary Block Background
ThirdlyRegionColor Final Block Background
TitleColor Title Background
SecondaryTitleColor Subtitle Background
DefaultColor Default Color
DarkDefaultColor Secondary default color
AccentColor Reminder
DarkAccentColor Reminder (Dark)
DarkMaskColor Use as a mask
DarkOpacityColor Translucent Background
BlurGradientValue Background for blurry windows only
MainContentForegroundColor Only Custom Version
MainContentBackgroundColor Only Custom Version
ForthlyRegionColor Only Custom Version

Example:Color="{DynamicResource PrimaryColor}"

0%