aboutsummaryrefslogtreecommitdiff
path: root/modern/src/theme
diff options
context:
space:
mode:
Diffstat (limited to 'modern/src/theme')
-rw-r--r--modern/src/theme/dimensions.js2
-rw-r--r--modern/src/theme/index.js2
-rw-r--r--modern/src/theme/overrides.js50
3 files changed, 27 insertions, 27 deletions
diff --git a/modern/src/theme/dimensions.js b/modern/src/theme/dimensions.js
index a2403abe..fcdbaee5 100644
--- a/modern/src/theme/dimensions.js
+++ b/modern/src/theme/dimensions.js
@@ -8,5 +8,5 @@ export default {
columnWidthDate: 160,
columnWidthNumber: 130,
columnWidthString: 160,
- columnWidthBoolean: 130
+ columnWidthBoolean: 130,
};
diff --git a/modern/src/theme/index.js b/modern/src/theme/index.js
index 5a3b2a9c..dc0a35bf 100644
--- a/modern/src/theme/index.js
+++ b/modern/src/theme/index.js
@@ -6,7 +6,7 @@ import dimensions from './dimensions';
const theme = createMuiTheme({
palette,
overrides,
- dimensions
+ dimensions,
});
export default theme;
diff --git a/modern/src/theme/overrides.js b/modern/src/theme/overrides.js
index cd6c5a5a..a6d08cf1 100644
--- a/modern/src/theme/overrides.js
+++ b/modern/src/theme/overrides.js
@@ -4,17 +4,17 @@ export default {
MuiFormControl: {
root: {
marginTop: 5,
- marginBottom: 5
- }
+ marginBottom: 5,
+ },
},
MuiInputLabel: {
filled: {
transform: 'translate(12px, 14px) scale(1)',
- '&$shrink' :{
- transform: 'translate(12px, -14px) scale(0.72)'
- }
+ '&$shrink': {
+ transform: 'translate(12px, -14px) scale(0.72)',
+ },
},
- },
+ },
MuiFilledInput: {
root: {
height: dimensions.inputHeight,
@@ -28,19 +28,19 @@ export default {
boxSizing: 'border-box',
'&:-webkit-autofill': {
WebkitBoxShadow: '0 0 0 100px #eeeeee inset',
- },
+ },
},
underline: {
- "&:before": {
+ '&:before': {
borderBottom: 'none',
},
- "&:after": {
+ '&:after': {
borderBottom: 'none',
},
- "&:hover:before": {
+ '&:hover:before': {
borderBottom: 'none',
- },
- }
+ },
+ },
},
MuiButton: {
root: {
@@ -48,31 +48,31 @@ export default {
marginTop: 5,
marginBottom: 5,
'&$disabled': {
- opacity: .4,
+ opacity: 0.4,
color: undefined,
- }
+ },
},
contained: {
'&$disabled': {
- opacity: .4,
+ opacity: 0.4,
color: undefined,
- backgroundColor: undefined
- }
- }
+ backgroundColor: undefined,
+ },
+ },
},
MuiFormHelperText: {
root: {
- marginBottom: -10
+ marginBottom: -10,
},
contained: {
- marginLeft: 12
- }
+ marginLeft: 12,
+ },
},
MuiAutocomplete: {
inputRoot: {
'&.MuiFilledInput-root': {
- paddingTop: 0
- }
- }
- }
+ paddingTop: 0,
+ },
+ },
+ },
};