Skip to content

Commit

Permalink
describe the configration of dark theme
Browse files Browse the repository at this point in the history
  • Loading branch information
atsuyaw committed Oct 22, 2023
1 parent bde4fac commit b5c4679
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions v4/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -943,6 +943,17 @@ $base-color: {{ .Param "baseColor" | default "#1d1f38" }};
baseColor = "#ff8080"
```
Switching light/dark theme is supported.
Colors for dark theme with a prefix `dk-` are stored in [`assets/sass/dk-theme.scss`](assets/sass/dk-theme.scss).
You can customize them via the same way with light (default) colors.
*Note* that the dark theme can be disabled:
```toml
[params]
darkmode = false
```
### CSS and JS modules
This theme supports hot-swappable CSS and JavaScript extensions, which can be specified using the `css_modules`
Expand Down

0 comments on commit b5c4679

Please sign in to comment.