Set dark mode as default mode #4432
Answered
by
sid-r-singh
sid-r-singh
asked this question in
Q&A
-
How do I set dark mode as default mode ? Also how do I remove the mode toggle button ? |
Beta Was this translation helpful? Give feedback.
Answered by
sid-r-singh
Mar 15, 2021
Replies: 1 comment
-
Got it |
Beta Was this translation helpful? Give feedback.
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
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,