fix: base component focus color in form (#5760)

This commit is contained in:
Netfan
2025-03-21 09:41:42 +08:00
committed by GitHub
parent efb69fc75f
commit 39888cebaa
3 changed files with 10 additions and 1 deletions

View File

@@ -32,4 +32,8 @@ const props = defineProps<Props>();
button[role='combobox'][data-placeholder] {
color: hsl(var(--muted-foreground));
}
button {
--ring: var(--primary);
}
</style>

View File

@@ -30,3 +30,8 @@ const modelValue = useVModel(props, 'modelValue', emits, {
"
/>
</template>
<style lang="scss" scoped>
input {
--ring: var(--primary);
}
</style>