Skip to content

Commit

Permalink
πŸ”€ Merge pull request #3
Browse files Browse the repository at this point in the history
πŸ› fix mistake in #2
  • Loading branch information
yanyongyu authored Jan 17, 2022
2 parents 568b848 + a8dcee0 commit abfe4a3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/theme-nonepress/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ export default function docusaurusThemeNonepress(
attributes: {
type: "text/javascript",
},
innerHTML: `${noFlashColorMode(colorMode, true)}`,
innerHTML: `${noFlashColorMode(colorMode)}`,
},
],
};
Expand Down
2 changes: 1 addition & 1 deletion packages/theme-nonepress/src/validateThemeConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const DEFAULT_DOCS_CONFIG = {
const DEFAULT_COLOR_MODE_CONFIG = {
defaultMode: "light",
disableSwitch: false,
respectPrefersColorScheme: false,
respectPrefersColorScheme: true,
switchConfig: {
darkIconText: "🌜",
lightIconText: "🌞",
Expand Down

0 comments on commit abfe4a3

Please sign in to comment.