how to set default theme to Dark #564
-
Dark theme is cute, how to set it to default |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
did you try BR |
Beta Was this translation helpful? Give feedback.
-
I think i used it it 2.0.0-beta26 or 27 but setting it to white or black only to disable selector. Just had a look into the default theme The option is still there, but it seems to be only for the toggle and to avoid darkMode. Maybe feature hardly depends on used style in os? There is also Maybe you can make a feature request, because currently it seems to be only possible by config to disable darkMode toggle and avoid darkMode. BR |
Beta Was this translation helpful? Give feedback.
I think i used it it 2.0.0-beta26 or 27 but setting it to white or black only to disable selector.
Maybe they removed the option.
I am also having issues with vite, so i need to dig into more details.
Just had a look into the default theme
https://github.com/vuepress/vuepress-next/blob/main/packages/%40vuepress/theme-default/src/shared/options.ts
The option is still there, but it seems to be only for the toggle and to avoid darkMode. Maybe feature hardly depends on used style in os?
There is also
vuepress-color-scheme', 'auto'
maybe it can be set to dark.
Maybe you can make a feature request, because currently it seems to be only possible by config to disable darkMode toggle and avoid dar…