Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/cntrump/hugo-notepadium.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvvveiii <cntrump@gmail.com>2019-12-30 15:52:48 +0300
committervvveiii <cntrump@gmail.com>2019-12-30 15:52:48 +0300
commit3585889ee125051ec8af9723bea6559255618f9b (patch)
tree602ac94ce83c5285a3602538584edd35fae9413d /README.md
parent2d2ff117756cf0e9c1fc2afd5d39581d60f7b2a7 (diff)
support select light or dark mode
Diffstat (limited to 'README.md')
-rw-r--r--README.md12
1 files changed, 11 insertions, 1 deletions
diff --git a/README.md b/README.md
index 126e2a2..ca16a3a 100644
--- a/README.md
+++ b/README.md
@@ -16,7 +16,7 @@ Features
- CC License
- Builtin `Source Code Pro` font for code
- Pagination with large number of pages supporting
-- DarkMode supporting
+- Light & Dark Mode
- Google analytics supporting
Preview the exampleSite:
@@ -60,6 +60,7 @@ noClasses = false
unsafe = true # enable raw HTML in Markdown
[params]
+style = "auto" # default: auto. light: light theme, dark: dark theme, auto: based on system.
logo = "" # if you have a logo png
slogan = "100% JavaScript-free"
license = "" # CC License
@@ -97,6 +98,15 @@ logo = "/img/logo.png"
slogan = "code my life ~"
```
+### Light and Dark Mode
+
+```toml
+[params]
+style = "auto" # default: "auto", based on system. "light": light theme, "dark": dark theme.
+logo = "/img/logo.png"
+slogan = "code my life ~"
+```
+
### Navigation items
```toml