Allow users to use dark mode

It is nice to allow users to choose light or dark mode based on their own needs, such as sensitivity to bright light.
This commit is contained in:
Brylie Christopher Oxley 2023-11-06 18:25:12 +02:00 committed by GitHub
commit 7bdd8652b1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -112,8 +112,10 @@ module.exports = {
},
colorMode: {
defaultMode: "light",
disableSwitch: true,
respectPrefersColorScheme: false,
/* Allow users to chose light or dark mode. */
disableSwitch: false,
/* Respect user preferences, such as low light mode in the evening */
respectPrefersColorScheme: true,
},
announcementBar: {
content: