[ui] make disabled color more consistent

This commit is contained in:
Yangshun Tay
2022-10-28 19:28:34 +08:00
parent 720759628d
commit 766bee0e0c
9 changed files with 119 additions and 17 deletions

View File

@@ -108,9 +108,8 @@ function TextArea(
aria-describedby={hasError ? errorId : undefined}
aria-invalid={hasError ? true : undefined}
className={clsx(
'block w-full rounded-md text-sm',
'block w-full rounded-md text-sm disabled:bg-slate-50 disabled:text-slate-500',
stateClasses[state].textArea,
disabled && 'bg-slate-100',
resizeClasses[resize],
)}
defaultValue={defaultValue}