Separate Client Portal & Dashboard
This commit is contained in:
20
frontend/dashboard/src/theme/overrides/Tooltip.ts
Normal file
20
frontend/dashboard/src/theme/overrides/Tooltip.ts
Normal file
@@ -0,0 +1,20 @@
|
||||
import { Theme } from '@mui/material/styles';
|
||||
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
export default function Tooltip(theme: Theme) {
|
||||
const isLight = theme.palette.mode === 'light';
|
||||
|
||||
return {
|
||||
MuiTooltip: {
|
||||
styleOverrides: {
|
||||
tooltip: {
|
||||
backgroundColor: theme.palette.grey[isLight ? 800 : 700]
|
||||
},
|
||||
arrow: {
|
||||
color: theme.palette.grey[isLight ? 800 : 700]
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user