Skip to content

Update mkdocs.yml #56

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 15, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 9 additions & 11 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,26 +24,24 @@ theme:
code: Roboto Mono

palette:

# Automatic switching
- media: "(prefers-color-scheme)"
toggle:
icon: material/brightness-auto
name: Color theme set to Automatic. Click to change

# Light mode
- media: "(prefers-color-scheme: light)"
scheme: percona-light
primary: custom
accent: custom
toggle:
icon: material/toggle-switch-off-outline
name: Switch to dark mode

# Dark mode
icon: material/brightness-7
name: Color theme set to Light Mode. Click to change
- media: "(prefers-color-scheme: dark)"
scheme: slate
scheme: percona-dark
primary: custom
accent: custom
toggle:
icon: material/toggle-switch
name: Switch to light mode
icon: material/brightness-4
name: Color theme set to Dark Mode. Click to change

# Theme features

Expand Down