-
Notifications
You must be signed in to change notification settings - Fork 51
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
setting defaultTheme has no effect #34
Comments
Theme selection is a bit convoluted, I probably should add some explanations somewhere. When the site initially loads, it will set hugo-theme-gruvbox/layouts/_default/baseof.html Lines 2 to 5 in dbf1af4
Inside hugo-theme-gruvbox/assets/js/dark-mode.js Lines 1 to 31 in dbf1af4
|
Understood. Thanks for the detailed explanation. |
The README or the code/config file. |
Add/link explanation regarding theme setting convolution
Setting
params.defaultTheme
in ./config/_default/config.toml has no effect.No matter whether set to "dark" or "light", the theme is always dark.
On the other hand, setting
params.themeColor
andparams.themeContrast
have the desired effects.The text was updated successfully, but these errors were encountered: