dark mode everywhere

This commit is contained in:
vcoppe
2024-04-28 17:01:22 +02:00
parent ccc26f79e7
commit 031977b801
4 changed files with 226 additions and 2 deletions

View File

@@ -1,5 +1,11 @@
<script lang="ts">
import { base } from '$app/paths';
import { mode } from 'mode-watcher';
</script>
<img src="{base}/logo.svg" alt="Logo of gpx.studio." {...$$restProps} />
<img
src="{base}/logo{$mode === 'dark' ? '-dark' : ''}.svg"
alt="Logo of gpx.studio."
{...$$restProps}
/>