It makes sense to remove the light and auto modes/themes and keep only the dark mode to suit your tastes.
Become a backer or sponsor to support our work.
Firstly, you should remove the github.com/hbstack/header/modules/theme-toggle
module.
See replace meta module if you’re using meta modules.
The hb.color
is available since github.com/hbstack/[email protected]
, please make sure you’ve upgraded to the latest version.
params.toml
1[hb]
2 color = 'dark'
params.yaml
1hb:
2 color: dark
params.json
1{
2 "hb": {
3 "color": "dark"
4 }
5}