countdown-theme
@include countdown-theme(
$background,
$color
);
Description
Control the colors used in your Countdowns. This will control the colors of the copy, countdown itself, and progress bars, where applicable.
Parameters
$background
(shades | color)
The background color of the progress bar, or the background color behind each countdown label.
Default: primary-super-light
$color
(shades | color)
The base color to be used for your countdown's copy, actual progress of the countdown, and countdown itself.
Default: null
Return
(CSS) Styles to theme .countdown
.
Examples
Use a light shade of the secondary colour, instead of the primary, for the countdown
@include countdown-theme(secondary-super-light, null);
Use a dark primary shade for the background with white text
@include countdown-theme(primary-dark, '#ffffff');
Updated about 3 years ago