Skip to content

Commit

Permalink
chore: enable respectPrefersColorScheme setting (microsoft#698)
Browse files Browse the repository at this point in the history
  • Loading branch information
mxschmitt authored Aug 1, 2022
1 parent 51b25cd commit 7d9f9a6
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions dotnet/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ module.exports = {
themeConfig: {
colorMode: {
defaultMode: "dark",
respectPrefersColorScheme: true,
},
prism: {
theme: require('prism-react-renderer/themes/dracula'),
Expand Down
1 change: 1 addition & 0 deletions java/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ module.exports = {
themeConfig: {
colorMode: {
defaultMode: "dark",
respectPrefersColorScheme: true,
},
prism: {
theme: require('prism-react-renderer/themes/dracula'),
Expand Down
1 change: 1 addition & 0 deletions nodejs/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ module.exports = {
themeConfig: {
colorMode: {
defaultMode: "dark",
respectPrefersColorScheme: true,
},
prism: {
theme: require('prism-react-renderer/themes/dracula'),
Expand Down
1 change: 1 addition & 0 deletions python/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ module.exports = {
themeConfig: {
colorMode: {
defaultMode: "dark",
respectPrefersColorScheme: true,
},
prism: {
theme: require('prism-react-renderer/themes/dracula'),
Expand Down

0 comments on commit 7d9f9a6

Please sign in to comment.