main
Last change
on this file since 5d6f37a was 5d6f37a, checked in by Naum Shapkarovski <naumshapkarovski@…>, 8 weeks ago |
add customer
|
-
Property mode
set to
100644
|
File size:
479 bytes
|
Rev | Line | |
---|
[5d6f37a] | 1 | import { Theme } from '@mui/material/styles';
|
---|
| 2 |
|
---|
| 3 | // ----------------------------------------------------------------------
|
---|
| 4 |
|
---|
| 5 | export function tooltip(theme: Theme) {
|
---|
| 6 | const lightMode = theme.palette.mode === 'light';
|
---|
| 7 |
|
---|
| 8 | return {
|
---|
| 9 | MuiTooltip: {
|
---|
| 10 | styleOverrides: {
|
---|
| 11 | tooltip: {
|
---|
| 12 | backgroundColor: theme.palette.grey[lightMode ? 800 : 700],
|
---|
| 13 | },
|
---|
| 14 | arrow: {
|
---|
| 15 | color: theme.palette.grey[lightMode ? 800 : 700],
|
---|
| 16 | },
|
---|
| 17 | },
|
---|
| 18 | },
|
---|
| 19 | };
|
---|
| 20 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.