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

How do I change the theme color? #2

Open
rastiazul opened this issue Sep 20, 2019 · 1 comment
Open

How do I change the theme color? #2

rastiazul opened this issue Sep 20, 2019 · 1 comment

Comments

@rastiazul
Copy link

I've spent hours trying to do this. I did read the documentation several times.
I want to change the default light blue color by editing a file. I forked the files from another repo. This is mine:
https://github.com/rastiazul/github-pages-gallery
I noticed its different than the one here.
Thank you

@rprieto
Copy link
Member

rprieto commented Nov 3, 2020

Hi, you shouldn't have to fork the theme to change colors.
I see you already have a theme.less file. It should just contain the variables you need:

@body-background: #fff;
@highlight-color: #17baef;

You don't have to copy/paste the rest of the styles.
Any variables included in your --theme-style file will override the theme's default values.

I see you also have a custom.css file which isn't referenced anywhere, you can safely delete it.

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

2 participants