front-hub/src/components/CustomTab.tsx

19 lines
493 B
TypeScript
Raw Normal View History

2022-11-21 21:56:51 +00:00
import { Tab } from "@mui/material";
import { styled } from "@mui/material";
export const CustomTab = styled(Tab)(({ theme }) => ({
...theme.typography.body2,
color: theme.palette.primary.main,
padding: "15px",
minWidth: 0,
"&.Mui-selected": {
2022-11-24 19:22:30 +00:00
color: theme.palette.brightPurple.main,
2022-11-21 21:56:51 +00:00
textUnderlinePosition: "under",
textDecoration: "underline",
textUnderlineOffset: "3px",
},
"&:first-of-type": {
paddingLeft: 0,
}
}));