Skip to content

Commit

Permalink
fix dark_theme config docs
Browse files Browse the repository at this point in the history
  • Loading branch information
landmaj committed Nov 8, 2023
1 parent 4bf14be commit 91be2d4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion docs/docs/guide/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ plugins:
cache_dir: .config/plugin/d2
layout: dagre
theme: 0
dark_theme: False
dark_theme: -1
sketch: False
pad: 100
scale: -1.0
Expand Down
3 changes: 3 additions & 0 deletions docs/mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,15 @@ repo_name: landmaj/mkdocs-d2-plugin
plugins:
- d2:
theme: 3
dark_theme: 200
sketch: True

theme:
name: material
icon:
repo: fontawesome/brands/github
palette:
- media: "(prefers-color-scheme)"

nav:
- Home: "index.md"
Expand Down

0 comments on commit 91be2d4

Please sign in to comment.