Ghost1372

everything can be handy

Brush

The brush is based on color, and the existing brush is defined as follows:

Name Use
PrimaryBrush Main Color
LightPrimaryBrush Main Color (Light)
DarkPrimaryBrush Main Color (Dark)
DangerBrush Error, danger
LightDangerBrush Error, danger (Light)
DarkDangerBrush Error, Danger (Dark)
WarningBrush Warning
LightWarningBrush Warning (Light)
DarkWarningBrush Warning (Dark)
InfoBrush Information
LightInfoBrush Information (Light)
DarkInfoBrush Information (Dark)
SuccessBrush Success
LightSuccessBrush Success (Light)
DarkSuccessBrush Success (Dark)
VioletBrush Main Color (Violet) Only Custom Version
DarkVioletBrush Main Color (Violet) Only Custom Version
PrimaryTextBrush Main Text
SecondaryTextBrush Secondary Text
ThirdlyTextBrush Final Text
ReverseTextBrush Inverted Text
TextIconBrush General for text or icons on a dark background
BorderBrush Border
SecondaryBorderBrush Secondary Border
BackgroundBrush Main Background Color
RegionBrush Region Block Background
SecondaryRegionBrush Secondary Block Background
ThirdlyRegionBrush Final Block Background
TitleBrush Title Background
DefaultBrush Default Color
DarkDefaultBrush Secondary default color
AccentBrush Reminder
DarkAccentBrush Reminder (Dark)
DarkMaskBrush Use as a mask
DarkOpacityBrush Translucent Background
MainContentBackgroundBrush Only Custom Version
MainContentForegroundBrush Only Custom Version
MainContentForegroundDrawingBrush Only Custom Version

Example:Foreground="{DynamicResource PrimaryBrush}"

0%