Colors
@mixin: pds-theme
pds-theme($name)
$name
- refers to a theme name, like 'red01'.
var(--pds-color-accfill)
would have been
orange before calling the mixin, it may be blue after calling it.
Example:
Css variables: pds-color-xxx
pds-color-$name
name
-
Refers to a color name, like 'blue', 'creme-40' or a theme
property like 'fill-20'.
See design/colors for an overview of the available color names.
The 'theme' colors depend on the current theme.
Available theme properties are
fill
,stroke
,accfill
andaccstroke
Example:
$pds-colors
is defined as a map, like
$pds-themes
is also defined as a map, like