This commit is contained in:
2025-05-28 15:56:01 +02:00
parent 0a76549c0c
commit 7e2df27d9c
20 changed files with 7019 additions and 3659 deletions

View File

@ -13,10 +13,10 @@ const isDark = computed({
<template>
<ClientOnly v-if="!colorMode?.forced">
<div class="w-8 h-8 flex items-center justify-center cursor-pointer">
<UIcon
class="w-8 h-8"
:name="isDark ? 'i-lucide-moon' : 'i-lucide-sun'"
<div class="flex h-8 w-8 cursor-pointer items-center justify-center">
<img
class="h-8 w-8"
:src="`/icons/${isDark ? 'Moon' : 'Light'}.svg`"
@click="isDark = !isDark"
/>
</div>