Skip to content

Commit

Permalink
Merge pull request #111 from zesty-io/feat/custom-roles-vqa
Browse files Browse the repository at this point in the history
 Multiple updates to elevation and border radius
  • Loading branch information
shrunyan authored Dec 20, 2024
2 parents 98382d1 + 60667c6 commit a66bb69
Showing 1 changed file with 24 additions and 1 deletion.
25 changes: 24 additions & 1 deletion src/theme/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -242,9 +242,14 @@ const components: Components = {
],
},
MuiDialog: {
defaultProps: {
PaperProps: {
elevation: 8,
},
},
styleOverrides: {
paper: {
borderRadius: "4px",
borderRadius: "8px",
},
paperWidthXs: {
width: "480px",
Expand Down Expand Up @@ -298,6 +303,16 @@ const components: Components = {
},
},
MuiMenu: {
defaultProps: {
slotProps: {
paper: {
elevation: 8,
sx: {
borderRadius: 2,
},
},
},
},
styleOverrides: {
list: {
minWidth: "240px",
Expand Down Expand Up @@ -709,6 +724,14 @@ const components: Components = {
MuiAutocomplete: {
defaultProps: {
popupIcon: <KeyboardArrowDownRoundedIcon />,
slotProps: {
paper: {
elevation: 8,
sx: {
borderRadius: 2,
},
},
},
},
styleOverrides: {
inputRoot: ({ ownerState }: { ownerState: any }) => ({
Expand Down

0 comments on commit a66bb69

Please sign in to comment.