Primary color variables
The primary color is the main accent color that can be configured by the administrator or the user (if user theming is enabled).
Variable |
Example |
Usage |
|---|---|---|
--color-primary |
#00679e |
Primary color configured by user |
--color-primary-text |
#ffffff |
Text color to be used on --color-primary |
--color-primary-hover |
#3285b1 |
Variant of --color-primary for hover effects |
--color-primary-light |
#e5eff5 |
Light variant of --color-primary used for secondary actions |
--color-primary-light-text |
#00293f |
Text color to be used on --color-primary-light |
--color-primary-light-hover |
#dbe4ea |
Variant of --color-primary-light for hover effects |
--color-primary-element |
#00679e |
Accessibility adjusted variant of --color-primary to be used on interactive elements |
--color-primary-element-text |
#ffffff |
Text color to be used on --color-primary-element |
--color-primary-element-text-dark |
#f5f5f5 |
Less contrast version of --color-primary-element-text |
--color-primary-element-hover |
#005a8a |
Variant of --color-primary-element for hover effects |
--color-primary-element-light |
#e5eff5 |
Light variant of --color-primary-element used for secondary actions |
--color-primary-element-light-text |
#00293f |
Text color to be used on --color-primary-element-light |
--color-primary-element-light-hover |
#dbe4ea |
Variant of --color-primary-element-light for hover effects |
--primary-invert-if-bright |
invert(100%) |
Filter to invert icons placed on primary color backgrounds if the primary color is bright |
--primary-invert-if-dark |
invert(100%) |
Filter to invert icons placed on primary color backgrounds if the primary color is dark |