Enable respectPrefersColorScheme
This commit is contained in:
parent
a4e060d0b6
commit
368630f274
@ -73,6 +73,11 @@ const config = {
|
||||
themeConfig:
|
||||
/** @type {import('@docusaurus/preset-classic').ThemeConfig} */
|
||||
({
|
||||
colorMode: {
|
||||
defaultMode: 'light',
|
||||
disableSwitch: false,
|
||||
respectPrefersColorScheme: true,
|
||||
},
|
||||
// Replace with your project's social card
|
||||
image: 'img/card.png',
|
||||
navbar: {
|
||||
|
Loading…
Reference in New Issue
Block a user