Skip to content

Commit

Permalink
feat(theme): additional globabl styling
Browse files Browse the repository at this point in the history
  • Loading branch information
aaadryyy committed Dec 6, 2023
1 parent 432387a commit 640d334
Showing 1 changed file with 34 additions and 4 deletions.
38 changes: 34 additions & 4 deletions components/ThemeRegistry/theme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,16 @@ const theme = createTheme({
}),
},
},
MuiIconButton: {
styleOverrides: {
root: {
borderRadius: "4px",
":hover": {
backgroundColor: "#F8F9FA",
},
},
},
},
MuiTabs: {
styleOverrides: {
indicator: {
Expand All @@ -96,29 +106,49 @@ const theme = createTheme({
},
MuiAccordion: {
styleOverrides: {
root: {
root: ({ ownerState }) => ({
borderRadius: "4px",
"& .MuiAccordionSummary-root": {
backgroundColor:
ownerState.color === "secondary" ? "#F8F9FA" : "#FFFFFF",
},
"& .MuiCollapse-root": {
backgroundColor:
ownerState.color === "secondary" ? "#F8F9FA" : "#FFFFFF",
},
"&:before": {
display: "none",
},
},
}),
},
},
MuiAccordionSummary: {
styleOverrides: {
root: ({ ownerState }) => ({
backgroundColor: "#F8F9FA",
borderRadius: ownerState.expanded ? "4px 4px 0px 0px" : "4px",
}),
},
},
MuiCollapse: {
styleOverrides: {
root: {
backgroundColor: "#F8F9FA",
borderRadius: " 0px 0px 4px 4px",
},
},
},
MuiSelect: {
styleOverrides: {
root: {
backgroundColor: "#F8F9FA",
"& .MuiInputBase-input": {
padding: "4px 32px 4px 8px",
},
"& .MuiOutlinedInput-notchedOutline": {
border: "none",
},
},
},
},
},
});

Expand Down

0 comments on commit 640d334

Please # to comment.