refactor(ui): remove unocss attributify for Input (#699)

This commit is contained in:
Doji
2025-11-01 14:53:12 +08:00
committed by GitHub
parent f1003ff745
commit 84871be1f2
@@ -10,12 +10,14 @@ const modelValue = defineModel<string>({ required: false })
<input <input
v-model="modelValue" v-model="modelValue"
:type="props.type || 'text'" :type="props.type || 'text'"
border="focus:primary-300 dark:focus:primary-400/50 2 solid neutral-100 dark:neutral-900" :class="[
transition="all duration-200 ease-in-out" 'focus:border-primary-300 dark:focus:border-primary-400/50 border-2 border-solid border-neutral-100 dark:border-neutral-900',
text="disabled:neutral-400 dark:disabled:neutral-600" 'transition-all duration-200 ease-in-out',
cursor="disabled:not-allowed" 'text-disabled:neutral-400 dark:text-disabled:neutral-600',
w-full rounded-lg px-2 py-1 text-nowrap text-sm outline-none 'cursor-disabled:not-allowed',
shadow="sm" 'w-full rounded-lg px-2 py-1 text-nowrap text-sm outline-none',
bg="neutral-50 dark:neutral-950 focus:neutral-50 dark:focus:neutral-900" 'shadow-sm',
'bg-neutral-50 dark:bg-neutral-950 focus:bg-neutral-50 dark:focus:bg-neutral-900',
]"
> >
</template> </template>