diff options
author | Ashutosh Bishnoi <mail2bishnoi@gmail.com> | 2021-05-03 17:45:13 +0530 |
---|---|---|
committer | Ashutosh Bishnoi <mail2bishnoi@gmail.com> | 2021-05-03 17:45:13 +0530 |
commit | 73623e1eccde7160fa83b79ad96ae744fa357a32 (patch) | |
tree | bea85f23bb787abe67fac6a34f641a7e9d1af1a7 /modern/src/Theme.js | |
parent | 17e1f8c7b67a36c4e9384b7c7b930b68c8bfd6f4 (diff) | |
download | etbsa-traccar-web-73623e1eccde7160fa83b79ad96ae744fa357a32.tar.gz etbsa-traccar-web-73623e1eccde7160fa83b79ad96ae744fa357a32.tar.bz2 etbsa-traccar-web-73623e1eccde7160fa83b79ad96ae744fa357a32.zip |
Initial Login Screen Draft
Diffstat (limited to 'modern/src/Theme.js')
-rw-r--r-- | modern/src/Theme.js | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/modern/src/Theme.js b/modern/src/Theme.js new file mode 100644 index 0000000..4d534a4 --- /dev/null +++ b/modern/src/Theme.js @@ -0,0 +1,50 @@ +import { createMuiTheme } from '@material-ui/core/styles'; + +const traccarPurple = '#333366'; +const traccarGreen = '#4CAF50'; +const traccarWhite = '#FFF'; + +export default createMuiTheme({ + palette: { + common: { + purple: traccarPurple, + green: traccarGreen + }, + primary: { + main: traccarPurple + }, + secondary: { + main: traccarGreen, + contrastText: traccarWhite + } + }, + overrides: { + MuiFormControl: { + root: { + height: '42px', + } + }, + MuiFilledInput: { + root: { + height: '42px', + borderRadius: '4px' + }, + underline: { + "&:before": { + borderBottom: 'none', + }, + "&:after": { + borderBottom: 'none', + }, + "&:hover:before": { + borderBottom: 'none', + }, + } + }, + MuiButton: { + root: { + height: '42px', + } + } + } +}); |