aboutsummaryrefslogtreecommitdiff
path: root/modern/src/common/theme/palette.js
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2022-05-23 19:10:17 -0700
committerAnton Tananaev <anton@traccar.org>2022-05-23 19:10:17 -0700
commit2f1574900cbd2e272d088ec721c4691f1db9a6f1 (patch)
tree77fcee7d8bd664d84e29b3cb9a456265e22c813b /modern/src/common/theme/palette.js
parenta9e4b71b7263beeaee68dc21223c8ea07c7961e3 (diff)
downloadtrackermap-web-2f1574900cbd2e272d088ec721c4691f1db9a6f1.tar.gz
trackermap-web-2f1574900cbd2e272d088ec721c4691f1db9a6f1.tar.bz2
trackermap-web-2f1574900cbd2e272d088ec721c4691f1db9a6f1.zip
Update colors
Diffstat (limited to 'modern/src/common/theme/palette.js')
-rw-r--r--modern/src/common/theme/palette.js22
1 files changed, 14 insertions, 8 deletions
diff --git a/modern/src/common/theme/palette.js b/modern/src/common/theme/palette.js
index 02261950..dc9e58e4 100644
--- a/modern/src/common/theme/palette.js
+++ b/modern/src/common/theme/palette.js
@@ -1,16 +1,22 @@
+import { amber, grey, green, indigo, red } from '@mui/material/colors';
+import { common } from '@mui/material/colors';
+
export default {
+ background: {
+ default: grey[50],
+ },
primary: {
- main: '#1a237e',
+ main: indigo[900],
},
secondary: {
- main: '#4caf50',
- contrastText: '#ffffff',
+ main: green[500],
+ contrastText: common.white,
},
colors: {
- white: '#ffffff',
- positive: '#4caf50',
- medium: '#ffa000',
- negative: '#f44336',
- neutral: '#9e9e9e',
+ white: common.white,
+ positive: green[500],
+ medium: amber[700],
+ negative: red[500],
+ neutral: grey[500],
},
};