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

change theme color #299

Open
p4r7h opened this issue May 11, 2021 · 2 comments
Open

change theme color #299

p4r7h opened this issue May 11, 2021 · 2 comments
Labels
question Further information is requested

Comments

@p4r7h
Copy link

p4r7h commented May 11, 2021

is there any way to change theme color unless I can't change my theme color using scss files !!

@aghwotu
Copy link

aghwotu commented Jul 2, 2021

Commenting here to ask for help for the same issue. I updated my styles successfully but it does not reflect when I deploy it to Netlify. What is the preferred way to change the styles? I created a stylesheet in the assets/css/style.css and included it in the baseof.html file. Please I would appreciate any help offered.

I am trying to change the styles for the light theme like so:

[data-theme=light] #heading__title {
  color: #ffb531 !important;
}

[data-theme=light] body {
  background-color: #073642 !important;
  color: #fff !important;
}

[data-theme=light] .header {
  background-color: #002b36 !important;
}

[data-theme=light] .menu__inner {
  background-color: #002b36 !important;
}

[data-theme=light] .logo__cursor {
  background-color: #ffb531 !important;
}

[data-theme=light] a:hover {
  color: #ffb531 !important;
}

@rhazdon
Copy link
Owner

rhazdon commented Aug 24, 2021

Hey guys, the easiest way to change the theme colors is to edit the variables section. :)
https://github.com/rhazdon/hugo-theme-hello-friend-ng/blob/master/assets/scss/_variables.scss

@rhazdon rhazdon added the question Further information is requested label Aug 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants