aboutsummaryrefslogtreecommitdiff
path: root/modern/src/theme
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2021-06-26 23:17:37 -0700
committerAnton Tananaev <anton.tananaev@gmail.com>2021-06-26 23:17:37 -0700
commitd86a3ef187359fbe83a5dd950295868c4ef39d09 (patch)
tree9dab403a24a75bc9d25e0c9ae6af29c6d5341682 /modern/src/theme
parentde199fa668b61ca1def0b8d18de8d666d8148361 (diff)
downloadtrackermap-web-d86a3ef187359fbe83a5dd950295868c4ef39d09.tar.gz
trackermap-web-d86a3ef187359fbe83a5dd950295868c4ef39d09.tar.bz2
trackermap-web-d86a3ef187359fbe83a5dd950295868c4ef39d09.zip
Implement marker colors
Diffstat (limited to 'modern/src/theme')
-rw-r--r--modern/src/theme/palette.js14
1 files changed, 9 insertions, 5 deletions
diff --git a/modern/src/theme/palette.js b/modern/src/theme/palette.js
index 5c93cfd2..ac26e57b 100644
--- a/modern/src/theme/palette.js
+++ b/modern/src/theme/palette.js
@@ -1,17 +1,21 @@
+const traccarWhite = '#FFF';
const traccarPurple = '#333366';
const traccarGreen = '#4CAF50';
-const traccarWhite = '#FFF';
+const traccarRed = '#CC2222';
+const traccarGray = '#888888';
export default {
common: {
purple: traccarPurple,
- green: traccarGreen
+ green: traccarGreen,
+ red: traccarRed,
+ gray: traccarGray,
},
primary: {
- main: traccarPurple
+ main: traccarPurple,
},
secondary: {
main: traccarGreen,
- contrastText: traccarWhite
- }
+ contrastText: traccarWhite,
+ },
};