misc: add theme color

This commit is contained in:
Xyphyn committed 2023-08-11 15:47:24 -07:00
1 parent 58ba902c6f
commit 9a8b0e277b
3 files changed
+13 -1

No files matched your search

+2
View File
@@ -11,6 +11,7 @@
// @ts-ignore
import { pwaInfo } from 'virtual:pwa-info'
import PwaReload from '$lib/PwaReload.svelte'
import { inDarkTheme } from '$lib/ui/colors.js'
nProgress.configure({
minimum: 0.4,
@@ -37,6 +38,7 @@
</script>
<svelte:head>
<meta name="theme-color" content={inDarkTheme() ? '#020202' : '#f1f6f9'} />
{@html webManifest}
</svelte:head>