fix: decorated input text color (#968)

This commit is contained in:
Aman Harwara
2022-04-12 12:35:11 +05:30
committed by GitHub
parent ff4debfeb8
commit 369ece1a50

View File

@@ -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 ${
!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' : ''
} ${hasRightDecorations ? 'pr-2' : ''}`,
disabled: 'bg-grey-5 cursor-not-allowed',