aboutsummaryrefslogtreecommitdiff
path: root/modern/src/common/theme/index.js
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2022-05-23 07:19:30 -0700
committerAnton Tananaev <anton@traccar.org>2022-05-23 07:19:30 -0700
commit85461684eb402d4df62c8b59e0a0f627bd3487c1 (patch)
tree6ce2832da2f07d8ea0d54d6ce5f30ab9efc7edaa /modern/src/common/theme/index.js
parentddcb42512e95e98806db0523e4d954484a6e48cc (diff)
downloadtrackermap-web-85461684eb402d4df62c8b59e0a0f627bd3487c1.tar.gz
trackermap-web-85461684eb402d4df62c8b59e0a0f627bd3487c1.tar.bz2
trackermap-web-85461684eb402d4df62c8b59e0a0f627bd3487c1.zip
Initial migration to MUI 5
Diffstat (limited to 'modern/src/common/theme/index.js')
-rw-r--r--modern/src/common/theme/index.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/modern/src/common/theme/index.js b/modern/src/common/theme/index.js
index 02865c23..8e85150e 100644
--- a/modern/src/common/theme/index.js
+++ b/modern/src/common/theme/index.js
@@ -1,12 +1,12 @@
-import { createTheme } from '@material-ui/core/styles';
+import { createTheme, adaptV4Theme } from '@mui/material/styles';
import palette from './palette';
import overrides from './overrides';
import dimensions from './dimensions';
-const theme = createTheme({
+const theme = createTheme(adaptV4Theme({
palette,
overrides,
dimensions,
-});
+}));
export default theme;