Separate Client Portal & Dashboard
This commit is contained in:
40
frontend/dashboard/src/theme/overrides/Fab.ts
Normal file
40
frontend/dashboard/src/theme/overrides/Fab.ts
Normal file
@@ -0,0 +1,40 @@
|
||||
import { Theme } from '@mui/material/styles';
|
||||
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
export default function Fab(theme: Theme) {
|
||||
return {
|
||||
MuiFab: {
|
||||
defaultProps: {
|
||||
color: 'primary'
|
||||
},
|
||||
|
||||
styleOverrides: {
|
||||
root: {
|
||||
boxShadow: theme.customShadows.z8,
|
||||
'&:hover': {
|
||||
boxShadow: 'none',
|
||||
backgroundColor: theme.palette.grey[400]
|
||||
}
|
||||
},
|
||||
primary: {
|
||||
boxShadow: theme.customShadows.primary,
|
||||
'&:hover': {
|
||||
backgroundColor: theme.palette.primary.dark
|
||||
}
|
||||
},
|
||||
secondary: {
|
||||
boxShadow: theme.customShadows.secondary,
|
||||
'&:hover': {
|
||||
backgroundColor: theme.palette.secondary.dark
|
||||
}
|
||||
},
|
||||
extended: {
|
||||
'& svg': {
|
||||
marginRight: theme.spacing(1)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user