Skip to content

Commit 733090e

Browse files
committed
Added material so we have dark / light mode
1 parent 91d8239 commit 733090e

File tree

3 files changed

+226
-1
lines changed

3 files changed

+226
-1
lines changed

mkdocs.yml

+20
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,23 @@
11
site_name: Django Live Components
22
site_url: https://om-proptech.github.io/livecomponents/
33
repo_url: https://github.com/om-proptech/livecomponents
4+
5+
theme:
6+
name: material
7+
palette:
8+
- scheme: default
9+
primary: indigo
10+
accent: indigo
11+
toggle:
12+
icon: material/weather-night
13+
name: Switch to dark mode
14+
- scheme: slate
15+
primary: indigo
16+
accent: indigo
17+
toggle:
18+
icon: material/weather-sunny
19+
name: Switch to light mode
20+
421
nav:
522
- index.md
623
- quickstart.md
@@ -19,3 +36,6 @@ nav:
1936
- component_ids.md
2037
- About:
2138
- Changelog: https://github.com/om-proptech/livecomponents/blob/main/CHANGELOG.md
39+
40+
markdown_extensions:
41+
- pymdownx.superfences

0 commit comments

Comments
 (0)