aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Strapp <matt@mattstrapp.net>2023-09-15 14:33:24 -0500
committerMatt Strapp <matt@mattstrapp.net>2023-09-15 14:33:24 -0500
commitc9dfce0b3b9482752f53b0e66341b18bc46545e4 (patch)
treecb001e6f03a77155fd3486af3ada0086c5a21faa
parentadd a 512x512 icon (diff)
downloadtrinkets-c9dfce0b3b9482752f53b0e66341b18bc46545e4.tar
trinkets-c9dfce0b3b9482752f53b0e66341b18bc46545e4.tar.gz
trinkets-c9dfce0b3b9482752f53b0e66341b18bc46545e4.tar.bz2
trinkets-c9dfce0b3b9482752f53b0e66341b18bc46545e4.tar.lz
trinkets-c9dfce0b3b9482752f53b0e66341b18bc46545e4.tar.xz
trinkets-c9dfce0b3b9482752f53b0e66341b18bc46545e4.tar.zst
trinkets-c9dfce0b3b9482752f53b0e66341b18bc46545e4.zip
Make lighthouse happy
Signed-off-by: Matt Strapp <matt@mattstrapp.net>
-rw-r--r--app/src/app.html1
-rw-r--r--app/vite.config.ts3
2 files changed, 3 insertions, 1 deletions
diff --git a/app/src/app.html b/app/src/app.html
index 54f3529..4950b86 100644
--- a/app/src/app.html
+++ b/app/src/app.html
@@ -2,6 +2,7 @@
<html lang="en" class="dark">
<head>
<meta charset="utf-8" />
+ <meta name="theme-color" content="#000000" />
<link rel="icon" href="%sveltekit.assets%/favicon.svg" />
<meta name="viewport" content="width=device-width" />
%sveltekit.head%
diff --git a/app/vite.config.ts b/app/vite.config.ts
index 33f2399..c31da3b 100644
--- a/app/vite.config.ts
+++ b/app/vite.config.ts
@@ -27,7 +27,8 @@ export default defineConfig({
{
src: '/favicon.svg',
sizes: 'any',
- type: 'image/svg+xml'
+ type: 'image/svg+xml',
+ purpose: 'maskable'
},
{
src: '/pwa-512x512.png',