Skip to content

Commit

Permalink
feat(odyssey-react-mui): set theme.palette.action.disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
edburyenegren-okta committed Aug 17, 2022
1 parent 15df93e commit b3ce58a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -628,6 +628,7 @@ export const components: ThemeOptions["components"] = {
borderColor: theme.palette.action.disabled,
},
[`&.${outlinedInputClasses.disabled}`]: {
backgroundColor: theme.palette.grey[50],
pointerEvents: "none",
},
...(ownerState.startAdornment && {
Expand Down
2 changes: 1 addition & 1 deletion packages/odyssey-react-mui/src/themes/odyssey/palette.ts
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ export const palette: ThemeOptions["palette"] = {
hoverOpacity: 0.04,
selected: "rgba(0, 0, 0, 0.08)",
selectedOpacity: 0.08,
disabled: "rgba(0, 0, 0, 0.26)",
disabled: Tokens.ColorPaletteNeutral200,
disabledBackground: "rgba(0, 0, 0, 0.12)",
disabledOpacity: 0.38,
focus: "rgba(0, 0, 0, 0.12)",
Expand Down

0 comments on commit b3ce58a

Please sign in to comment.