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

View File

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