1
0
Fork 0
mirror of https://git.sr.ht/~seirdy/seirdy.one synced 2024-09-19 20:02:10 +00:00

Update theme color

This commit is contained in:
Rohan Kumar 2022-04-25 08:39:13 -07:00
parent 4e65794972
commit f23b4f1975
No known key found for this signature in database
GPG key ID: 1E892DB2A5F84479
2 changed files with 4 additions and 2 deletions

View file

@ -8,7 +8,9 @@
"short_name": "Seirdy",
"description": "{{ .Site.Params.Description }}",
"lang": "en-US",
"display": "browser",
"display": "minimal-ui",
"theme_color": "#0f0f0b",
"background_color": "#0f0f0b",
"scope": "/",
"start_url": "/",
"icons": [

View file

@ -31,7 +31,7 @@
<!-- Why does apple do this -->
<meta name="format-detection" content="telephone=no">
<meta name="color-scheme" content="light dark">
<meta name="theme-color" content="#0d0d0d" media="(prefers-color-scheme:dark)">
<meta name="theme-color" content="#0f0f0b" media="(prefers-color-scheme:dark)">
<meta name="theme-color" content="#fff" media="(prefers-color-scheme:light)">
<!-- webmanifest defines even more icons. This is getting ridiculous -->
{{- $webmanifest := resources.Get "/manifest.webmanifest" | resources.ExecuteAsTemplate "manifest.webmanifest" . | resources.Minify | resources.Fingerprint "md5" -}}