Skip to content

Commit

Permalink
fix(Input): disabled text style
Browse files Browse the repository at this point in the history
  • Loading branch information
zettca committed Sep 5, 2023
1 parent f16c679 commit cd57bf5
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions packages/core/src/components/BaseInput/BaseInput.styles.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,11 @@ export const { staticClasses, useClasses } = createClasses("HvBaseInput", {
backgroundColor: theme.colors.atmo4,
},

"&& $input": {
color: theme.baseInput.disabledTextColor,
WebkitTextFillColor: theme.baseInput.disabledTextColor,
},

"& $inputRootMultiline": {
"& $input": {
backgroundColor: theme.baseInput.disabledBackgroundColor,
Expand Down Expand Up @@ -216,9 +221,7 @@ export const { staticClasses, useClasses } = createClasses("HvBaseInput", {
display: "none",
},
},
inputDisabled: {
color: theme.baseInput.disabledTextColor,
},
inputDisabled: {},
inputReadOnly: {
color: theme.baseInput.readOnlyTextColor,
},
Expand Down

0 comments on commit cd57bf5

Please sign in to comment.