Navigation :
StyleCode Property: badgeColor
badgeColor
Specifies the preset color theme for the tab’s badge, if displayed.
If set to “custom”, the badge will use textColor & backgroundColor.
Applies to |
Type |
Default |
tabs > tab > badge |
blue , custom , cyan , green , orange , red , white |
white |
Examples
// Example: tabs > tab > badge
show tabs "My Tabs" a1b3 with
"tab1" { badge { badgeColor: blue } }
"tab2"