Automatically set docs appearance to system default (#8924)

@baskaryan
This commit is contained in:
Jacob Lee 2023-08-08 09:54:18 -07:00 committed by GitHub
parent 6b9f266837
commit d1e305028f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -128,6 +128,10 @@ const config = {
hideable: true, hideable: true,
}, },
}, },
colorMode: {
disableSwitch: false,
respectPrefersColorScheme: true,
},
prism: { prism: {
theme: { theme: {
...baseLightCodeBlockTheme, ...baseLightCodeBlockTheme,