Skip to content

Commit 6059519

Browse files
committed
docs: update docs themes
1 parent 0756cd3 commit 6059519

File tree

1 file changed

+12
-20
lines changed

1 file changed

+12
-20
lines changed

mkdocs.yml

Lines changed: 12 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -4,36 +4,29 @@ site_author: 'S1M0N38'
44
repo_name: 'S1M0N38/balatrobot'
55
repo_url: https://github.com/S1M0N38/balatrobot
66
docs_dir: docs/
7-
87
theme:
98
name: material
9+
icon:
10+
repo: fontawesome/brands/github
1011
features:
1112
- content.code.copy
12-
1313
palette:
14-
- accent: black
15-
- primary: red
16-
17-
- media: "(prefers-color-scheme)"
18-
toggle:
19-
icon: material/brightness-auto
20-
name: Switch to light mode
21-
22-
- media: "(prefers-color-scheme: light)"
23-
scheme: default
14+
# Palette toggle for light mode
15+
- scheme: default
16+
accent: black
17+
primary: red
2418
toggle:
2519
icon: material/brightness-7
2620
name: Switch to dark mode
27-
28-
- media: "(prefers-color-scheme: dark)"
29-
scheme: slate
21+
# Palette toggle for dark mode
22+
- scheme: slate
23+
accent: white
24+
primary: red
3025
toggle:
3126
icon: material/brightness-4
32-
name: Switch to system preference
33-
27+
name: Switch to light mode
3428
plugins:
3529
- search
36-
3730
nav:
3831
- Home: README.md
3932
- Installation: installation.md
@@ -50,7 +43,6 @@ nav:
5043
- Multi-Instance Setup: multi-instance.md
5144
- Logging & Replay: logging-replay.md
5245
- Troubleshooting: troubleshooting.md
53-
5446
markdown_extensions:
5547
- pymdownx.highlight:
5648
anchor_linenums: true
@@ -63,4 +55,4 @@ markdown_extensions:
6355
custom_fences:
6456
- name: mermaid
6557
class: mermaid
66-
format: !!python/name:pymdownx.superfences.fence_code_format
58+
format: !!python/name:pymdownx.superfences.fence_code_format

0 commit comments

Comments
 (0)