feat: home page optimize
This commit is contained in:
@@ -2,14 +2,17 @@
|
||||
<!-- @strictTemplates true -->
|
||||
|
||||
<script setup lang="ts">
|
||||
import type { HTMLAttributes } from "vue"
|
||||
import { cn } from "@/lib/utils"
|
||||
import type { HTMLAttributes } from "vue";
|
||||
import { cn } from "@/lib/utils";
|
||||
|
||||
const props = defineProps<{ class?: HTMLAttributes["class"] }>()
|
||||
const props = defineProps<{ class?: HTMLAttributes["class"] }>();
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<option data-slot="native-select-option" :class="cn('bg-popover text-popover-foreground', props.class)">
|
||||
<option
|
||||
data-slot="native-select-option"
|
||||
:class="cn('bg-popover text-popover-foreground text-black', props.class)"
|
||||
>
|
||||
<slot />
|
||||
</option>
|
||||
</template>
|
||||
|
||||
Reference in New Issue
Block a user