diff options
author | Alex Shpak <alex-shpak@users.noreply.github.com> | 2020-09-14 00:02:55 +0200 |
---|---|---|
committer | Alex Shpak <alex-shpak@users.noreply.github.com> | 2020-09-14 00:02:55 +0200 |
commit | 4e34988b5db9f4e78e1d27458e867be9a8f2db84 (patch) | |
tree | d0de0934017cd76493106c7af346f2373dda5518 /exampleSite/config.yaml | |
parent | 6beca7928c20364462859f5af57da6182582d14c (diff) |
#151, move SCSS vars to CSS vars, implement dark and light modes by browser preference
Diffstat (limited to 'exampleSite/config.yaml')
-rw-r--r-- | exampleSite/config.yaml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/exampleSite/config.yaml b/exampleSite/config.yaml index 2a4bc33..0367f8e 100644 --- a/exampleSite/config.yaml +++ b/exampleSite/config.yaml @@ -45,6 +45,10 @@ menu: weight: 20 params: + # (Optional, default light) Sets color theme: light, dark or auto. + # Theme 'auto' switches between dark and light modes based on browser/os preferences + BookTheme: "light" + # (Optional, default true) Controls table of contents visibility on right side of pages. # Start and end levels can be controlled with markup.tableOfContents setting. # You can also specify this parameter per page in front matter. |