badges-theme
@include badges-theme(
$theme,
$background
);
Description
Control the colours used for Badges that use icons. This will only control the color of the inactive and active labels if the badges have custom images.
Parameters
$theme
(shades | color)
The base color to be used as theme.
Default: primary
$background
(shades | color)
The background color of badge.
Default: white
Return
(CSS) Styles to theme .badges
.
Examples
Use the secondary shade, instead of the primary, to theme badges
@include badges-theme(secondary);
Updated almost 4 years ago