update web

This commit is contained in:
nikk gitanes
2021-07-15 21:56:00 +03:00
parent e177ff135c
commit 1eea3839a2
17 changed files with 115 additions and 80 deletions

View File

@@ -109,9 +109,11 @@ export const mainColors = {
light: {
primary: '#00a572',
secondary: '#00a572',
labels: rgba('#000', 0.9),
},
dark: {
primary: '#323637',
secondary: '#dee3e5',
labels: rgba('#fff', 0.9),
},
}

View File

@@ -52,6 +52,23 @@ export const useMaterialUITheme = () => {
primary: { main: mainColors[theme].primary },
secondary: { main: mainColors[theme].secondary },
},
overrides: {
MuiInputBase: {
input: {
color: mainColors[theme].labels,
},
},
MuiInputLabel: { // MuiFormLabel
root: {
color: mainColors[theme].labels,
// fontSize: '22px',
marginBottom: '10px',
'&$focused': {
color: mainColors[theme].labels,
},
},
},
},
}),
[theme],
)