feat: switch theme

This commit is contained in:
QuentinHsu
2024-05-31 23:53:39 +08:00
parent 9761434c3e
commit e8767a5ca2
21 changed files with 453 additions and 5 deletions
@@ -0,0 +1,14 @@
<script setup lang="ts">
import type { HTMLAttributes } from 'vue'
import { cn } from '@/utils'
const props = defineProps<{
class?: HTMLAttributes['class']
}>()
</script>
<template>
<span :class="cn('ml-auto text-xs tracking-widest opacity-60', props.class)">
<slot />
</span>
</template>