Add background-color to PinInput
Adds the `bg-background` class to the Pin-input input fields, which styles it similar to regular Input components, and which fixes the background color in dark mode.
This commit is contained in:
parent
b7ef4653f7
commit
5d5afa1101
|
|
@ -14,5 +14,5 @@ const forwardedProps = useForwardProps(delegatedProps)
|
|||
</script>
|
||||
|
||||
<template>
|
||||
<PinInputInput v-bind="forwardedProps" :class="cn('relative text-center focus:outline-none focus:ring-2 focus:ring-ring focus:relative focus:z-10 flex h-10 w-10 items-center justify-center border-y border-r border-input text-sm transition-all first:rounded-l-md first:border-l last:rounded-r-md', props.class)" />
|
||||
<PinInputInput v-bind="forwardedProps" :class="cn('relative text-center focus:outline-none focus:ring-2 focus:ring-ring focus:relative focus:z-10 flex h-10 w-10 items-center justify-center border-y border-r border-input bg-background text-sm transition-all first:rounded-l-md first:border-l last:rounded-r-md', props.class)" />
|
||||
</template>
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user