aboutsummaryrefslogtreecommitdiff
path: root/modern/src/theme/palette.js
diff options
context:
space:
mode:
authorAshutosh Bishnoi <mail2bishnoi@gmail.com>2021-05-06 14:47:56 +0530
committerAshutosh Bishnoi <mail2bishnoi@gmail.com>2021-05-06 14:47:56 +0530
commitf7ada6916541047f8ddf6eb2d1a45ddc3b9dead0 (patch)
treeeec5be51e59fff9d93107133d7b818482cbed93c /modern/src/theme/palette.js
parent73623e1eccde7160fa83b79ad96ae744fa357a32 (diff)
downloadtrackermap-web-f7ada6916541047f8ddf6eb2d1a45ddc3b9dead0.tar.gz
trackermap-web-f7ada6916541047f8ddf6eb2d1a45ddc3b9dead0.tar.bz2
trackermap-web-f7ada6916541047f8ddf6eb2d1a45ddc3b9dead0.zip
More code improvement
Diffstat (limited to 'modern/src/theme/palette.js')
-rw-r--r--modern/src/theme/palette.js19
1 files changed, 19 insertions, 0 deletions
diff --git a/modern/src/theme/palette.js b/modern/src/theme/palette.js
new file mode 100644
index 00000000..24aefce1
--- /dev/null
+++ b/modern/src/theme/palette.js
@@ -0,0 +1,19 @@
+import { deepPurple, green } from '@material-ui/core/colors';
+
+const traccarPurple = deepPurple[500];
+const traccarGreen = green[500];
+const traccarWhite = '#FFF';
+
+export default {
+ common: {
+ purple: traccarPurple,
+ green: traccarGreen
+ },
+ primary: {
+ main: traccarPurple
+ },
+ secondary: {
+ main: traccarGreen,
+ contrastText: traccarWhite
+ }
+};