component

Color Helpers

The following color helper classes are bonded to it respective color variable available at the customize color section. You can use your custom colors pallete for interact with the CSS properties color and background-color using their respective prefix: is-color-<color> for the color property and has-background-<color> when you want to set a background-color to an element.

Contrast Colors

Class Color
<prefix>-contrast-darker
<prefix>-contrast-dark
<prefix>-contrast
<prefix>-contrast-lower
<prefix>-contrast-light
<prefix>-contrast-light-lower
<prefix>-contrast-lighter
<prefix>-contrast
<prefix>-contrast-light

Primary Colors

Class Color
<prefix>-primary-dark
<prefix>-primary
<prefix>-primary-light
<prefix>-primary-lighter

Secondary Colors

Class Color
<prefix>-secondary-dark
<prefix>-secondary
<prefix>-secondary-light
<prefix>-secondary-lighter

Accent Colors

Class Color
<prefix>-accent-dark
<prefix>-accent
<prefix>-accent-light
<prefix>-accent-lighter

Danger Colors

Class Color
<prefix>-danger
<prefix>-danger-light
<prefix>-danger-background

Warning Colors

Class Color
<prefix>-warning
<prefix>-warning-light
<prefix>-warning-background

Success Colors

Class Color
<prefix>-success
<prefix>-success-light
<prefix>-success-background

Info Colors

Class Color
<prefix>-info
<prefix>-info-light
<prefix>-info-background