set theme switcher to auto
Signed-off-by: Harald Hoyer <harald@hoyer.xyz>
This commit is contained in:
parent
43838167bb
commit
2324dd26ea
|
@ -190,7 +190,7 @@ js_bundle = true # multiple javascript files combined into a single file (settin
|
|||
js_copycode = true # The copy button on code blocks that allows you to copy them to the clipboard.
|
||||
js_email_encode = true # obfuscates email address in footer
|
||||
js_prestyle = true # used to preload: FontAwesome, Katex, external Google Fonts
|
||||
js_switcher = true # The button that allows manually changing between light/dark mode.
|
||||
js_switcher = false # The button that allows manually changing between light/dark mode.
|
||||
js_switcher_default = "dark" # default nojs switcher mode: dark, light (make sure to also set $switcherDefault in abridge.scss)
|
||||
|
||||
search_library = 'elasticlunr'
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
$mw: 80%,// max-width
|
||||
//$mb: 1200px,// value at which to switch from fluid layout to max-width
|
||||
|
||||
$abridgeMode: "switcher",//valid values: switcher, auto, dark, light
|
||||
$abridgeMode: "auto",//valid values: switcher, auto, dark, light
|
||||
$syntax-mode: "auto",// Force syntax mode: auto, dark, light
|
||||
$switcherDefault: "dark",// default nojs switcher mode: dark, light (make sure to also set js_switcher_default in config.toml)
|
||||
|
||||
|
|
Loading…
Reference in a new issue