diff --git a/docs/guide/theme-appearance.md b/docs/guide/theme-appearance.md index 8edd8924..93b65a8f 100644 --- a/docs/guide/theme-appearance.md +++ b/docs/guide/theme-appearance.md @@ -1,6 +1,6 @@ # Dark Mode -By default, VitePress will add a dark-mode toggle to the navigation bar. To remove it, set `false` to the [`config.appearance`](../config/app-configs.html#appearance) option. If you would like to customize the style in dark mode only, prepend `:root.dark ` to the CSS selectors: +By default, VitePress will add a dark-mode toggle to the navigation bar. To remove it, set `false` to the [`config.appearance`](../config/app-configs.html#appearance) option. If you would like to customize the style in dark mode only, prepend `.dark ` to the CSS selectors: ```css .dark .BannerPicture {