chore: init

This commit is contained in:
Anthony Fu committed 2021-11-02 11:10:42 +08:00
commit 0fb1b4e8dd
20 files changed
+7475

No files matched your search

+11
View File
@@ -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>