fix(striker-ui): improve contrast between input text and label

main
Tsu-ba-me 2 years ago
parent 5e9c38b008
commit 2ffe2c6f61
  1. 4
      striker-ui/components/OutlinedInput/OutlinedInput.tsx
  2. 2
      striker-ui/components/OutlinedInputLabel/OutlinedInputLabel.tsx

@ -76,6 +76,10 @@ const OutlinedInput: FC<OutlinedInputProps> = (outlinedInputProps) => {
borderColor: UNSELECTED,
},
[`& .${muiOutlinedInputClasses.input}`]: {
color: TEXT,
},
'&:hover': {
[`& .${muiOutlinedInputClasses.notchedOutline}`]: {
borderColor: GREY,

@ -27,7 +27,7 @@ const OutlinedInputLabel = (
...inputLabelRestProps
} = inputLabelProps;
const combinedSx = {
color: GREY,
color: `${GREY}9f`,
[`&.${muiInputLabelClasses.focused}`]: {
backgroundColor: GREY,

Loading…
Cancel
Save