aboutsummaryrefslogtreecommitdiff
path: root/modern/src/common/theme
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
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')
-rw-r--r--modern/src/common/theme/components.js9
-rw-r--r--modern/src/common/theme/palette.js22
2 files changed, 23 insertions, 8 deletions
diff --git a/modern/src/common/theme/components.js b/modern/src/common/theme/components.js
index 9010626a..97643622 100644
--- a/modern/src/common/theme/components.js
+++ b/modern/src/common/theme/components.js
@@ -1,4 +1,13 @@
+import { grey } from '@mui/material/colors';
+
export default {
+ MuiOutlinedInput: {
+ styleOverrides: {
+ root: {
+ backgroundColor: grey[50],
+ },
+ },
+ },
MuiButton: {
styleOverrides: {
sizeMedium: {
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],
},
};