Update index.html
Change the theme colour by media query.
This commit is contained in:
parent
040584c865
commit
686cc79549
@ -16,7 +16,8 @@
|
||||
|
||||
<!-- Add to home screen for Android and modern mobile browsers -->
|
||||
<link rel="manifest" id="manifestPlaceholder" crossorigin="use-credentials">
|
||||
<meta name="theme-color" content="[{[ if .Color -]}][{[ .Color ]}][{[ else ]}]#2979ff[{[ end ]}]">
|
||||
<meta name="theme-color" media="(prefers-color-scheme: light)" content="#2979ff">
|
||||
<meta name="theme-color" media="(prefers-color-scheme: dark)" content="#20292F">
|
||||
|
||||
<!-- Add to home screen for Safari on iOS/iPadOS -->
|
||||
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||
|
||||
Loading…
Reference in New Issue
Block a user