Skip to content

Commit

Permalink
chore: 🤖 Update to slate
Browse files Browse the repository at this point in the history
  • Loading branch information
yashksaini-coder committed Oct 24, 2024
1 parent 26a8596 commit 88b0d1b
Showing 1 changed file with 3 additions and 22 deletions.
25 changes: 3 additions & 22 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,29 +11,10 @@ theme:
- navigation.instant.progress # Add this line to enable instant navigation progress
icon:
repo: fontawesome/brands/github

palette:

# Palette toggle for automatic mode
- media: "(prefers-color-scheme)"
toggle:
icon: material/brightness-auto
name: Switch to light mode

# Palette toggle for light mode
- media: "(prefers-color-scheme: light)"
scheme: default
toggle:
icon: material/brightness-7
name: Switch to dark mode

# Palette toggle for dark mode
- media: "(prefers-color-scheme: dark)"
scheme: slate
toggle:
icon: material/brightness-4
name: Switch to system preference

palette:
scheme: slate

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

0 comments on commit 88b0d1b

Please sign in to comment.