You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When disabling "dark"-mode I expect the site to be in "light".
Current Behavior
Disabling "dark"-mode (features.darkMode.enable = false) seems to switch to "system", instead of light. Disabling dark-Mode only seems to be hiding the icon to switch the color scheme.
So there seems no way to fix the site to dark or light. The switch only disables the icon to toggle it manually.
Possible Solution
IMO the default should be "light", not "system". When "dark"-mode is disabled the theme should always be "light" and not switch depending on the browser settings. This is just my two cents, maybe your view on this is different.
When "dark"-mode is disabled the theme should always be "light" and not switch depending on the browser settings.
Yes. I agree on that. When dark mode is disabled, it should set theme to light. If dark mode is enabled, then the default should be System. I will look into it.
Expected Behavior
When disabling "dark"-mode I expect the site to be in "light".
Current Behavior
Disabling "dark"-mode (
features.darkMode.enable = false
) seems to switch to "system", instead of light. Disabling dark-Mode only seems to be hiding the icon to switch the color scheme.So there seems no way to fix the site to dark or light. The switch only disables the icon to toggle it manually.
Possible Solution
IMO the default should be "light", not "system". When "dark"-mode is disabled the theme should always be "light" and not switch depending on the browser settings. This is just my two cents, maybe your view on this is different.
Steps to Reproduce
config.yaml
features.darkMode.enabled
tofalse
hugo server -w
Screenshots
Browsers Affected
Tested on these browsers, all of them show the same behavior.
Detailed Description
The text was updated successfully, but these errors were encountered: