update: more visual consistency

This commit is contained in:
rasmusq
2025-12-19 23:48:23 +01:00
parent 8f574380ce
commit b3f123388f
5 changed files with 10 additions and 13 deletions

View File

@@ -1,6 +1,5 @@
<script lang="ts">
import { themeStore } from '$lib/stores/theme.svelte';
import { Button } from '$lib/components/ui/button';
import { Sun, Moon, Monitor } from 'lucide-svelte';
import IconButton from '../IconButton.svelte';
@@ -17,7 +16,7 @@
}
</script>
<IconButton onclick={toggle} {size} {color}>
<IconButton onclick={toggle} {size} {color} rounded="md">
{#if themeStore.current === 'light'}
<Sun size={20} />
<span class="sr-only">Light mode (click for dark)</span>