Skip to content

Commit

Permalink
Update ThemeContext.js
Browse files Browse the repository at this point in the history
  • Loading branch information
anle9650 committed Sep 20, 2023
1 parent 6913b4b commit 9cbc22d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/src/modules/components/ThemeContext.js
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ export function ThemeProvider(props) {
document.body.classList.remove('mode-dark');
document.body.classList.add('mode-light');
}

const metas = document.querySelectorAll('meta[name="theme-color"]');
metas.forEach((meta) => {
meta.setAttribute('content', getMetaThemeColor(paletteMode));
Expand Down

0 comments on commit 9cbc22d

Please sign in to comment.