From 4e34988b5db9f4e78e1d27458e867be9a8f2db84 Mon Sep 17 00:00:00 2001 From: Alex Shpak Date: Mon, 14 Sep 2020 00:02:55 +0200 Subject: #151, move SCSS vars to CSS vars, implement dark and light modes by browser preference --- exampleSite/config.toml | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'exampleSite/config.toml') diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 424d320..2db8e57 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -49,6 +49,10 @@ enableGitInfo = true 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. -- cgit v1.2.3