Skip to content
This repository has been archived by the owner on Jun 14, 2024. It is now read-only.

Implement parameterize-able color palette #26

Open
celestehorgan opened this issue Sep 30, 2020 · 0 comments
Open

Implement parameterize-able color palette #26

celestehorgan opened this issue Sep 30, 2020 · 0 comments
Labels
enhancement New feature or request
Milestone

Comments

@celestehorgan
Copy link
Contributor

celestehorgan commented Sep 30, 2020

Users should be able to do the following:

  1. Add a sass variable, i.e.
$main-color: #FFFFFF

Alternately, this might happen in config.toml, or a .yaml file:

[[colors]]
main: #FFFFFF
secondary: #000000

After which, we should use Hugo template variables in custom.sass to do the following:

  1. Run though a loop for each defined variable
  2. Define three classes: main-text (sets CSS color: ), main-bg (sets CSS background-color:), main-border (sets CSS border-color).

Allowing people to use custom colors as utility classes in their layouts.

@celestehorgan celestehorgan added the enhancement New feature or request label Sep 30, 2020
@celestehorgan celestehorgan added this to the 1.0 milestone Sep 30, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant