mui-themes-extand
Version:
Boilerplate for extends MUI6 themes
45 lines (44 loc) • 1.1 kB
TypeScript
import { Theme } from "@mui/material/styles";
export default function Lists(theme: Theme): {
MuiListItem: {
styleOverrides: {
root: {
"&$selected": {
backgroundColor: string;
"&:focus": {
backgroundColor: string;
};
};
};
button: {
"&:hover, &:focus": {
backgroundColor: string;
};
};
};
};
MuiListItemIcon: {
styleOverrides: {
root: {
color: string;
minWidth: string;
marginRight: string;
};
};
};
MuiListItemAvatar: {
styleOverrides: {
root: {
minWidth: string;
marginRight: string;
};
};
};
MuiListItemText: {
styleOverrides: {
primary: {
fontWeight: number;
};
};
};
};