feat: toggle meta theme-color with mode (#348)

* feat: toggle meta theme-color with mode

* chore: fix lint
This commit is contained in:
云游君 authored and GitHub committed 2022-05-07 05:09:44 +08:00
1 parent abedef1b2e
commit 21b800509b
2 files changed
+6 -1

No files matched your search

-1
View File
@@ -7,7 +7,6 @@
<link rel="apple-touch-icon" href="/pwa-192x192.png">
<link rel="mask-icon" href="/safari-pinned-tab.svg" color="#00aba9">
<meta name="msapplication-TileColor" content="#00aba9">
<meta name="theme-color" content="#ffffff">
<script>
(function() {
const prefersDark = window.matchMedia && window.matchMedia('(prefers-color-scheme: dark)').matches