Merge pull request #8771 from jasonyates/8770-documentation

Updating mkdocs to automatically adjust theme
This commit is contained in:
Jeremy Stretch 2022-03-02 08:38:04 -05:00 committed by GitHub
commit 3436905744
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8,11 +8,13 @@ theme:
icon: icon:
repo: fontawesome/brands/github repo: fontawesome/brands/github
palette: palette:
- scheme: default - media: "(prefers-color-scheme: light)"
scheme: default
toggle: toggle:
icon: material/lightbulb-outline icon: material/lightbulb-outline
name: Switch to Dark Mode name: Switch to Dark Mode
- scheme: slate - media: "(prefers-color-scheme: dark)"
scheme: slate
toggle: toggle:
icon: material/lightbulb icon: material/lightbulb
name: Switch to Light Mode name: Switch to Light Mode