change borderRadius
This commit is contained in:
12
src/App.tsx
12
src/App.tsx
@@ -21,7 +21,7 @@ export const applyThemeWithOverrides = (themeConfig: ThemeOptions): ThemeOptions
|
|||||||
...themeConfig,
|
...themeConfig,
|
||||||
shape: {
|
shape: {
|
||||||
...themeConfig.shape,
|
...themeConfig.shape,
|
||||||
borderRadius: 12,
|
borderRadius: 4,
|
||||||
},
|
},
|
||||||
components: {
|
components: {
|
||||||
MuiCssBaseline: {
|
MuiCssBaseline: {
|
||||||
@@ -63,7 +63,7 @@ export const applyThemeWithOverrides = (themeConfig: ThemeOptions): ThemeOptions
|
|||||||
MuiListItemButton: {
|
MuiListItemButton: {
|
||||||
styleOverrides: {
|
styleOverrides: {
|
||||||
root: {
|
root: {
|
||||||
borderRadius: 12,
|
borderRadius: 4,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
@@ -82,7 +82,7 @@ export const applyThemeWithOverrides = (themeConfig: ThemeOptions): ThemeOptions
|
|||||||
MuiMenu: {
|
MuiMenu: {
|
||||||
styleOverrides: {
|
styleOverrides: {
|
||||||
paper: {
|
paper: {
|
||||||
borderRadius: "8px",
|
borderRadius: "4px",
|
||||||
},
|
},
|
||||||
list: {
|
list: {
|
||||||
padding: "4px 0",
|
padding: "4px 0",
|
||||||
@@ -106,7 +106,7 @@ export const applyThemeWithOverrides = (themeConfig: ThemeOptions): ThemeOptions
|
|||||||
MuiMenuItem: {
|
MuiMenuItem: {
|
||||||
styleOverrides: {
|
styleOverrides: {
|
||||||
root: {
|
root: {
|
||||||
borderRadius: "8px",
|
borderRadius: "4px",
|
||||||
margin: "0px 4px",
|
margin: "0px 4px",
|
||||||
paddingLeft: "8px",
|
paddingLeft: "8px",
|
||||||
paddingRight: "8px",
|
paddingRight: "8px",
|
||||||
@@ -127,7 +127,7 @@ export const applyThemeWithOverrides = (themeConfig: ThemeOptions): ThemeOptions
|
|||||||
"&:hover:not(.Mui-disabled, .Mui-error):before": {
|
"&:hover:not(.Mui-disabled, .Mui-error):before": {
|
||||||
borderBottom: "none",
|
borderBottom: "none",
|
||||||
},
|
},
|
||||||
borderRadius: 12,
|
borderRadius: 4,
|
||||||
// '&:hover:not(.Mui-disabled, .Mui-error):before': {
|
// '&:hover:not(.Mui-disabled, .Mui-error):before': {
|
||||||
// borderBottom: '2px solid var(--TextField-brandBorderHoverColor)',
|
// borderBottom: '2px solid var(--TextField-brandBorderHoverColor)',
|
||||||
// },
|
// },
|
||||||
@@ -271,7 +271,7 @@ const getPreferredTheme = (
|
|||||||
|
|
||||||
const StyledMaterialDesignContent = styled(MaterialDesignContent)(({ theme }) => ({
|
const StyledMaterialDesignContent = styled(MaterialDesignContent)(({ theme }) => ({
|
||||||
"&.notistack-MuiContent": {
|
"&.notistack-MuiContent": {
|
||||||
borderRadius: 12,
|
borderRadius: 4,
|
||||||
},
|
},
|
||||||
"&.notistack-MuiContent-success": {
|
"&.notistack-MuiContent-success": {
|
||||||
backgroundColor: theme.palette.success.main,
|
backgroundColor: theme.palette.success.main,
|
||||||
|
|||||||
Reference in New Issue
Block a user