chore: init
This commit is contained in:
commit
0fb1b4e8dd
20 files changed
+7475
No files matched your search
@@ -0,0 +1,11 @@
|
||||
<script setup lang='ts'>
|
||||
const isDark = useDark()
|
||||
const toggleDark = useToggle(isDark)
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<button class="!outline-none" @click="toggleDark()">
|
||||
<div v-if="isDark" class="i-carbon-moon" />
|
||||
<div v-else class="i-carbon-sun" />
|
||||
</button>
|
||||
</template>
|
||||
Reference in new issue
Block a user