Skip to content

Commit

Permalink
fix: mod readme
Browse files Browse the repository at this point in the history
  • Loading branch information
atsuyaw committed Oct 30, 2023
1 parent 488e60e commit 7151139
Showing 1 changed file with 7 additions and 11 deletions.
18 changes: 7 additions & 11 deletions v4/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -304,6 +304,13 @@ this will only work when the `permanentTopNav` is also set to `true`.

Please note that the top navigation bar is minimized by default on mobile devices.

### Light/Dark Theme Mode
Switching between light and dark theme mode can be enabled by setting the `enableLightDarkMode` parameter to `true`:
```toml
[params]
darkmode = false
```

### Algolia Search

Bilberry theme includes built-in content search via [Algolia SAAS](https://www.algolia.com/).
Expand Down Expand Up @@ -943,17 +950,6 @@ $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 7151139

Please sign in to comment.