Skip to content

Commit

Permalink
Light / Dark theme applied by default based on OS / Browser preference (
Browse files Browse the repository at this point in the history
  • Loading branch information
kumaravel95 authored Nov 2, 2023
1 parent 44523d1 commit ec056b0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docs/www/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,11 @@ const config = {
style: "dark",
copyright: `Copyright © ${new Date().getFullYear()} Microsoft | Built with Docusaurus and Iconcloud.design <br>build: ${getBuildId()}`,
},
colorMode: {
defaultMode: 'light',
disableSwitch: false,
respectPrefersColorScheme: true,
},
prism: {
theme: lightCodeTheme,
darkTheme: darkCodeTheme,
Expand Down

0 comments on commit ec056b0

Please sign in to comment.