Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Built in themes #42

Open
zozobalogh0817 opened this issue Jan 15, 2022 · 0 comments
Open

Built in themes #42

zozobalogh0817 opened this issue Jan 15, 2022 · 0 comments
Assignees
Labels
feature New feature or request

Comments

@zozobalogh0817
Copy link
Owner

zozobalogh0817 commented Jan 15, 2022

CSS variables

Also should create a file with all our colors as variables
This is needed because we use similar but different colors all over the page
- Create variables for colors
- Use the variables in CSS files var(VARIABLE)

If this is done we can now create the built-in themes.
Because we only need to override the variables in this file 🍡 👯‍♀️

YAML settings

Create different themes that can be switched in the settings section of _config.yml

settings:{
	theme: dark-green // [PARENT_THEME]-[CHILD_THEME]
}

Themes with their description

Dark themes
- Green
- Yellow
- Red
- Blue

The dark theme's background is dark and the texts are whites and the colored elements are what the second child indicates like green

Light themes
- Green
- Yellow
- Red
- Blue

The light theme's background is light as you probably guessed, the text are blacks, and colored elements behave as in the dark theme case

@zozobalogh0817 zozobalogh0817 added the feature New feature or request label Jan 15, 2022
@zozobalogh0817 zozobalogh0817 self-assigned this Jan 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant