From 838e1b969162b73b1bbafab75203998e7bf60979 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Sat, 16 Apr 2022 16:08:03 -0700 Subject: Clean up palette and colors --- modern/src/theme/palette.js | 30 ++++++------------------------ 1 file changed, 6 insertions(+), 24 deletions(-) (limited to 'modern/src/theme/palette.js') 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', }, }; -- cgit v1.2.3