docs: modernize the site theme (#3057)

This commit is contained in:
Max 2026-07-02 16:17:33 +01:00 • committed by GitHub
commit 2359b40285
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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: