aboutsummaryrefslogtreecommitdiff
path: root/modern/src/Theme.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.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.js')
-rw-r--r--modern/src/Theme.js50
1 files changed, 0 insertions, 50 deletions
diff --git a/modern/src/Theme.js b/modern/src/Theme.js
deleted file mode 100644
index 4d534a43..00000000
--- a/modern/src/Theme.js
+++ /dev/null
@@ -1,50 +0,0 @@
-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',
- }
- }
- }
-});