misc: add theme color
This commit is contained in:
1 parent
58ba902c6f
commit
9a8b0e277b
3 files changed
+13
-1
No files matched your search
@@ -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>
|
||||
|
||||
|
||||
Reference in new issue
Block a user