NAM-APJATEL/src/theme/components/Tooltip.ts

18 lines
408 B
TypeScript

// MATERIAL - UI
import { Theme } from '@mui/material';
// ==============================|| OVERRIDES - TOOLTIP ||============================== //
export default function Tooltip(theme: Theme) {
return {
MuiTooltip: {
styleOverrides: {
tooltip: {
backgroundColor: theme.palette.secondary.darker,
color: theme.palette.background.paper
}
}
}
};
}