fix: decorated input text color (#968)
This commit is contained in:
@@ -23,7 +23,7 @@ const getClassNames = (
|
|||||||
container: `flex items-stretch position-relative bg-default border-1 border-solid border-main rounded focus-within:ring-info overflow-hidden ${
|
container: `flex items-stretch position-relative bg-default border-1 border-solid border-main rounded focus-within:ring-info overflow-hidden ${
|
||||||
!hasLeftDecorations && !hasRightDecorations ? 'px-2 py-1.5' : ''
|
!hasLeftDecorations && !hasRightDecorations ? 'px-2 py-1.5' : ''
|
||||||
}`,
|
}`,
|
||||||
input: `w-full border-0 focus:shadow-none bg-transparent ${
|
input: `w-full border-0 focus:shadow-none bg-transparent color-text ${
|
||||||
!hasLeftDecorations && hasRightDecorations ? 'pl-2' : ''
|
!hasLeftDecorations && hasRightDecorations ? 'pl-2' : ''
|
||||||
} ${hasRightDecorations ? 'pr-2' : ''}`,
|
} ${hasRightDecorations ? 'pr-2' : ''}`,
|
||||||
disabled: 'bg-grey-5 cursor-not-allowed',
|
disabled: 'bg-grey-5 cursor-not-allowed',
|
||||||
|
|||||||
Reference in New Issue
Block a user