Adding a theme toggle

Switches between light mode and dark mode with the default theme being light mode.
This commit is contained in:
Kumaraguru 2023-03-22 10:56:57 +05:30 committed by GitHub
parent 67061361dc
commit 6203142ec6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions

View File

@ -85,6 +85,11 @@ const config = {
}, },
], ],
}, },
colorMode: {
defaultMode: "light",
disableSwitch: false,
respectPrefersColorScheme: false,
},
}), }),
plugins: [ plugins: [