menu: make footer area configurable

This commit is contained in:
Sören Weber 2025-03-15 21:45:27 +01:00
parent 566c17d000
commit b89d1e3fb6
No known key found for this signature in database
GPG key ID: BEC6D55545451B6D
33 changed files with 597 additions and 385 deletions
docs/content/configuration/branding/colors

View file

@ -54,7 +54,7 @@ In the above example, the path of your theme file must be `assets/css/theme-rele
#### Multiple Variants
To let the reader choose between multiple variants, set `themeVariant` like this:
To let the reader choose between multiple variants by displaying a variant switcher, set `themeVariant` like this:
{{< multiconfig file=hugo >}}
[params]
@ -63,6 +63,8 @@ To let the reader choose between multiple variants, set `themeVariant` like this
The first variant is the default, and a selector will appear if there's more than one.
If you want to have more control, where the variant switcher is positioned or you want to configure a different icon, see the [chapter on sidebar configuration](configuration/sidebar/menus#defining-sidebar-menus).
#### Adjust to OS Settings
Use the `auto` value to match OS light/dark settings. Usually it makes sense to set it in the first position and make it the default.