From e3548e0a0eba178f6768611a03110910f275ac2e Mon Sep 17 00:00:00 2001 From: dewanakl Date: Tue, 8 Oct 2024 11:19:46 +0700 Subject: [PATCH] fix: switch color --- js/theme.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/theme.js b/js/theme.js index 504482e..c4a761c 100644 --- a/js/theme.js +++ b/js/theme.js @@ -57,7 +57,7 @@ export const theme = (() => { }); // --bs-body-bg - document.querySelector('meta[name="theme-color"]').setAttribute('content', '#212529'); + document.querySelector('meta[name="theme-color"]').setAttribute('content', '#ffffff'); }; const onDark = () => { @@ -110,7 +110,7 @@ export const theme = (() => { }); // --bs-body-bg - document.querySelector('meta[name="theme-color"]').setAttribute('content', '#ffffff'); + document.querySelector('meta[name="theme-color"]').setAttribute('content', '#212529'); }; const isDarkMode = (onDark = null, onLight = null) => {