Skip to content

Commit

Permalink
* Head color change
Browse files Browse the repository at this point in the history
  • Loading branch information
tenkeyless committed Nov 29, 2024
1 parent 5bdd54d commit 54e423a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions layouts/partials/custom/head-end.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<meta name="theme-color" content="#000000">
<meta name="theme-color" content="#151515">

<script>
(function () {
Expand All @@ -10,7 +10,7 @@
const isDarkMode = window.matchMedia("(prefers-color-scheme: dark)").matches;
const themeColorMeta = document.querySelector('meta[name="theme-color"]');
if (themeColorMeta) {
themeColorMeta.setAttribute("content", isDarkMode ? "#111111cc" : "#fff");
themeColorMeta.setAttribute("content", isDarkMode ? "#151515" : "#fff");
}
}

Expand Down

0 comments on commit 54e423a

Please sign in to comment.