diff options
author | Anton Tananaev <anton@traccar.org> | 2022-04-16 16:08:03 -0700 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2022-04-16 16:08:03 -0700 |
commit | 838e1b969162b73b1bbafab75203998e7bf60979 (patch) | |
tree | bf99356e4040fd836c4775777f170c06e3460136 /modern/src/theme | |
parent | daacba8e25f5c60c77fab15e9392f43be3fa7a67 (diff) | |
download | trackermap-web-838e1b969162b73b1bbafab75203998e7bf60979.tar.gz trackermap-web-838e1b969162b73b1bbafab75203998e7bf60979.tar.bz2 trackermap-web-838e1b969162b73b1bbafab75203998e7bf60979.zip |
Clean up palette and colors
Diffstat (limited to 'modern/src/theme')
-rw-r--r-- | modern/src/theme/palette.js | 30 |
1 files changed, 6 insertions, 24 deletions
diff --git a/modern/src/theme/palette.js b/modern/src/theme/palette.js index 622e49b0..46f82ae9 100644 --- a/modern/src/theme/palette.js +++ b/modern/src/theme/palette.js @@ -1,32 +1,14 @@ -const traccarWhite = '#FFF'; -const traccarPurple = '#333366'; -const traccarGreen = '#4CAF50'; -const traccarRed = '#CC2222'; -const traccarGray = '#888888'; - export default { - common: { - purple: traccarPurple, - green: traccarGreen, - red: traccarRed, - gray: traccarGray, - }, primary: { - main: traccarPurple, + main: '#333366', }, secondary: { - main: traccarGreen, - contrastText: traccarWhite, + main: '#4CAF50', + contrastText: '#FFFFFF', }, colors: { - red: { - color: traccarRed, - }, - green: { - color: traccarGreen, - }, - gray: { - color: traccarGray, - }, + positive: '#4CAF50', + negative: '#CC2222', + neutral: '#888888', }, }; |