diff --git a/docs/mkdocs.yml b/docs/mkdocs.yml index 2cba8080e5..cbabdae851 100644 --- a/docs/mkdocs.yml +++ b/docs/mkdocs.yml @@ -21,12 +21,10 @@ theme: - content.code.copy # copy button palette: # Palette toggle for automated theme selection - # Currently only available to sponsors - # - # - media: "(prefers-color-scheme)" - # toggle: - # icon: material/brightness-auto - # name: Switch to light 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)" diff --git a/docs/source/v1.10.md.inc b/docs/source/v1.10.md.inc index 8068510a01..6ef9f789d3 100644 --- a/docs/source/v1.10.md.inc +++ b/docs/source/v1.10.md.inc @@ -16,6 +16,10 @@ [//]: # (- Whatever (#000 by @whoever)) +### :: Documentation + +- Choose the theme (dark of light) automatically based on the user's operating system setting (#979 by @hoechenberger) + ### :medical_symbol: Code health - Switch from using relative to using absolute imports (#969 by @hoechenberger)