Open celestehorgan opened 4 years ago
Users should be able to do the following:
$main-color: #FFFFFF
Alternately, this might happen in config.toml, or a .yaml file:
config.toml
.yaml
[[colors]] main: #FFFFFF secondary: #000000
After which, we should use Hugo template variables in custom.sass to do the following:
custom.sass
main-text
color:
main-bg
background-color:
main-border
border-color
Allowing people to use custom colors as utility classes in their layouts.
Users should be able to do the following:
Alternately, this might happen in
config.toml
, or a.yaml
file:After which, we should use Hugo template variables in
custom.sass
to do the following:main-text
(sets CSScolor:
),main-bg
(sets CSSbackground-color:
),main-border
(sets CSSborder-color
).Allowing people to use custom colors as utility classes in their layouts.