Skip to content

Commit

Permalink
Add auto change of site theme depending on system/browser theme (#363)
Browse files Browse the repository at this point in the history
  • Loading branch information
rakleed authored Nov 14, 2023
1 parent 387e686 commit 3619c0b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ const config = {
],
],
themeConfig: {
colorMode: {
respectPrefersColorScheme: true,
},
navbar: {
logo: {
alt: 'Stylelint',
Expand Down

0 comments on commit 3619c0b

Please sign in to comment.