Auto switch theme based on system prefrence (#2664)

This commit is contained in:
Franck Nijhof 2025-05-08 23:33:52 +02:00 committed by GitHub
parent bbd69b1fa5
commit e7a725bdda
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -123,6 +123,11 @@ module.exports = {
mermaid: {
theme: { light: "neutral", dark: "forest" },
},
colorMode: {
defaultMode: 'light',
respectPrefersColorScheme: true,
disableSwitch: false,
},
},
presets: [
[