Open Titikomba opened 4 weeks ago
there is no way as of no to set the theme. It detects system settings and applies that theme, as seen in this main.css
@Titikomba You can patch it out pretty easily. I modified my version such that it only loads the light mode version. I plan on submitting a pull request that disables this automatic dark mode, but for now it's just a dirty patch that works. You need to put the file into the static/css directory: main.css
Edit: I just added a pull request with a feature that lets you disable automatic dark mode #500. Hope that helps some
@hydr0nium Thanks for your patch proposition. I already worked out a dirty solution (commenting the dark-theme part :sweat_smile: ), but I think being able to toggle it is better :)
The live demo is not rendered as expected on Firefox/Chromium
instead of
![image](https://github.com/halogenica/beautifulhugo/assets/56675361/302de37a-5771-455e-8b70-b9aaa938c2a6)
It is still working correctly on my phone (Safari).
I observe the same behavior on my local website.
UPDATE. It turns out that, depending on the system theme (light/dark), Chromium and Firefox trigger the dark-theme version of websites. This is their new default behavior. I do not know if there is a way to force light-mode from the html/css side.