refactor: extract themes to their own folder
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
import blue from '@material-ui/core/colors/blue'
|
||||
|
||||
export default {
|
||||
palette: {
|
||||
primary: {
|
||||
main: '#90caf9'
|
||||
},
|
||||
secondary: blue,
|
||||
type: 'dark'
|
||||
},
|
||||
overrides: {
|
||||
MuiFormGroup: {
|
||||
root: {
|
||||
color: 'white'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
import LightTheme from './light'
|
||||
import DarkTheme from './dark'
|
||||
|
||||
export { LightTheme, DarkTheme }
|
||||
@@ -0,0 +1,20 @@
|
||||
export default {
|
||||
palette: {
|
||||
secondary: {
|
||||
light: '#5f5fc4',
|
||||
main: '#283593',
|
||||
dark: '#001064',
|
||||
contrastText: '#fff'
|
||||
}
|
||||
},
|
||||
overrides: {
|
||||
MuiFilledInput: {
|
||||
root: {
|
||||
backgroundColor: 'rgba(0, 0, 0, 0.04)',
|
||||
'&$disabled': {
|
||||
backgroundColor: 'rgba(0, 0, 0, 0.04)'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user