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

Easy way to change the main color? #12

Closed
r-richmond opened this issue May 8, 2017 · 2 comments
Closed

Easy way to change the main color? #12

r-richmond opened this issue May 8, 2017 · 2 comments

Comments

@r-richmond
Copy link
Contributor

I was poking around the theme trying to find an easy way to change main color and came across https://github.com/textbook/bulrush/blob/master/static/css/main.less#L4

However changing that value didn't seem to do anything.. What am I missing?

@mohammad-rahchamani
Copy link

the main color comes from https://cdnjs.cloudflare.com/ajax/libs/bulma/0.3.1/css/bulma.min.css so changing the value does nothing.
you should add a css file to your site and override color.

@textbook
Copy link
Owner

textbook commented May 8, 2017

That's just a copy of the primary colour from Bulma, to make it more obvious what is also being set to that colour. If you want to override it it's used in relatively few places in the theme, see e.g. https://github.com/textbook/textbook.github.io-source/blob/d772c430ff676e471cfac69a06549a4bfe424f2c/content/extra/custom.css, where #4abdac is the new primary colour. The only way to override it globally would be to @import the Bulma styles in main.less rather than include them from the CDN in base.html.

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

No branches or pull requests

3 participants