From 9cbc22d93db75cb16653a749c33f9d877c2f48d0 Mon Sep 17 00:00:00 2001 From: anle9650 Date: Tue, 19 Sep 2023 22:27:15 -0600 Subject: [PATCH] Update ThemeContext.js --- docs/src/modules/components/ThemeContext.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/src/modules/components/ThemeContext.js b/docs/src/modules/components/ThemeContext.js index 63369296299bdb..66a674f7d3ca08 100644 --- a/docs/src/modules/components/ThemeContext.js +++ b/docs/src/modules/components/ThemeContext.js @@ -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));