VitePress' default theme is optimized for documentation, and can be customized. Consult the [Default Theme Config Overview](../reference/default-theme-config) for a comprehensive list of options.
VitePress' default theme is optimized for documentation, and can be customized. Consult the [Default Theme Config Overview](../reference/default-theme-config) for a comprehensive list of options.
@ -195,6 +199,102 @@ Full list of slots available in the default theme layout:
- `nav-screen-content-before`
- `nav-screen-content-before`
- `nav-screen-content-after`
- `nav-screen-content-after`
## Using View Transitions API
### On Appearance Toggle
You can extend the default theme to provide a custom transition when the color mode is toggled. An example: