Skip to content

Set dark mode as default mode #4432

Answered by sid-r-singh
sid-r-singh asked this question in Q&A
Discussion options

You must be logged in to vote

Got it
module.exports = {
themeConfig: {
colorMode: {
// "light" | "dark"
defaultMode: 'light'
// Hides the switch in the navbar
// Useful if you want to support a single color mode
disableSwitch: false,

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by sid-r-singh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant