docs: modernize the site theme (#3057)
This commit is contained in:
parent
e4d95e0d44
commit
2359b40285
1 changed files with 108 additions and 7 deletions
23
mkdocs.yml
23
mkdocs.yml
|
|
@ -69,6 +69,13 @@ nav:
|
|||
|
||||
theme:
|
||||
name: "material"
|
||||
custom_dir: docs/.overrides
|
||||
font:
|
||||
text: Inter
|
||||
code: JetBrains Mono
|
||||
icon:
|
||||
logo: mcp
|
||||
favicon: favicon.svg
|
||||
palette:
|
||||
- media: "(prefers-color-scheme)"
|
||||
scheme: default
|
||||
|
|
@ -86,7 +93,7 @@ theme:
|
|||
name: "Switch to dark mode"
|
||||
- media: "(prefers-color-scheme: dark)"
|
||||
scheme: slate
|
||||
primary: white
|
||||
primary: black
|
||||
accent: white
|
||||
toggle:
|
||||
icon: material/lightbulb-auto-outline
|
||||
|
|
@ -98,14 +105,20 @@ theme:
|
|||
- content.code.annotate
|
||||
- content.code.copy
|
||||
- content.code.select
|
||||
- navigation.path
|
||||
- navigation.footer
|
||||
- navigation.indexes
|
||||
- navigation.instant
|
||||
- navigation.instant.prefetch
|
||||
- navigation.instant.progress
|
||||
- navigation.path
|
||||
- navigation.prune
|
||||
- navigation.sections
|
||||
- navigation.top
|
||||
- navigation.tracking
|
||||
- toc.follow
|
||||
# logo: "img/logo-white.svg"
|
||||
# TODO(Marcelo): Add a favicon.
|
||||
# favicon: "favicon.ico"
|
||||
|
||||
extra_css:
|
||||
- extra.css
|
||||
|
||||
# https://www.mkdocs.org/user-guide/configuration/#validation
|
||||
validation:
|
||||
|
|
|
|||
Loading…
Reference in a new issue