refactor: extract themes to their own folder

This commit is contained in:
Deluan
2020-03-31 09:05:46 -04:00
parent 1e0a79ebb7
commit 500207f7b8
7 changed files with 46 additions and 43 deletions
+18
View File
@@ -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'
}
}
}
}
+4
View File
@@ -0,0 +1,4 @@
import LightTheme from './light'
import DarkTheme from './dark'
export { LightTheme, DarkTheme }
+20
View File
@@ -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)'
}
}
}
}
}