Skip to content

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

NameUse
PrimaryBrushMain Color
LightPrimaryBrushMain Color (Light)
DarkPrimaryBrushMain Color (Dark)
DangerBrushError, danger
LightDangerBrushError, danger (Light)
DarkDangerBrushError, Danger (Dark)
WarningBrushWarning
LightWarningBrushWarning (Light)
DarkWarningBrushWarning (Dark)
InfoBrushInformation
LightInfoBrushInformation (Light)
DarkInfoBrushInformation (Dark)
SuccessBrushSuccess
LightSuccessBrushSuccess (Light)
DarkSuccessBrushSuccess (Dark)
VioletBrushMain Color (Violet) Only Custom Version
DarkVioletBrushMain Color (Violet) Only Custom Version
PrimaryTextBrushMain Text
SecondaryTextBrushSecondary Text
ThirdlyTextBrushFinal Text
ReverseTextBrushInverted Text
TextIconBrushGeneral for text or icons on a dark background
BorderBrushBorder
SecondaryBorderBrushSecondary Border
BackgroundBrushMain Background Color
RegionBrushRegion Block Background
SecondaryRegionBrushSecondary Block Background
ThirdlyRegionBrushFinal Block Background
TitleBrushTitle Background
DefaultBrushDefault Color
DarkDefaultBrushSecondary default color
AccentBrushReminder
DarkAccentBrushReminder (Dark)
DarkMaskBrushUse as a mask
DarkOpacityBrushTranslucent Background
MainContentBackgroundBrushOnly Custom Version
MainContentForegroundBrushOnly Custom Version
MainContentForegroundDrawingBrushOnly Custom Version

NOTE

Example:Foreground="{DynamicResource PrimaryBrush}"

Released under the MIT License.