mirror of
https://github.com/yangshun/tech-interview-handbook.git
synced 2026-04-14 10:30:03 +08:00
[ui] make disabled color more consistent
This commit is contained in:
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user