Use badges for suplimentary information such as single word labels or counts.
The standard badge comes in grey, but using the theme utilities, you can change the colour to make it more contextual.
A list of modifiers for the badge component, allowing you to change its appearance to fit a variety of roles and scenarios.
Modifiers can typically be combined to achieve the desired appearance, unless stated otherwise.
Whilst badges scale according to its parent element, sometimes a badge may just be too big. Use these modifiers to make the badge a better fit.
Reverse the badge margins from left to right.
You can theme the badge component to make it fit your brand. For more information on theming EvoToolkit, please see Configuring EvoToolkit.
Below is a list of theme variables and their default values.
Theme Variables | Default |
---|---|
$component-badge-color |
dark |