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

Themes implementation #425

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Themes implementation #425

wants to merge 2 commits into from

Conversation

JosefUtbult
Copy link

Hello. I have made a change to the framework where the colors of different elements are defined as variables at the root level instead of being hard coded. This is to help with redefining these colors in order to get different themes for the site.

The idea is that a theme can be contained in its own class, where these definitions are overwritten. These changes are non-intrusive, everything looks as it did before if nothing overwrites these variables. No other css files needs to be included either, but I made a couple of example themes that I show in my Themes example. Feel free to look at it and say what you think.

I'm not sure if this is anything that you are actually intrested in adding into your project, but as I'm myself using this functionality I felt like I could at least make it a formal pull request.

Thanks in advance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant