Skip to main content

config-colors

The configuration of the colors used in the theme.

Example:

config-colors(
primary: rgb("#04364A"),
secondary: rgb("#176B87"),
tertiary: rgb("#448C95"),
neutral: rgb("#303030"),
neutral-darkest: rgb("#000000"),
)

IMPORTANT: The colors should be defined in the RGB format at most cases.

There are four main color groups: primary, secondary, tertiary, and neutral. Each group includes the base color plus variants: light, lighter, lightest, dark, darker, darkest. For example, primary, primary-light, primary-lightest, neutral-darkest, etc.

Returns: dictionary