Skip to content

Commit

Permalink
fix: switch color
Browse files Browse the repository at this point in the history
  • Loading branch information
dewanakl committed Oct 8, 2024
1 parent 8f2c035 commit e3548e0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions js/theme.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 = () => {
Expand Down Expand Up @@ -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) => {
Expand Down

0 comments on commit e3548e0

Please sign in to comment.