feat: load themes dynamically

This commit is contained in:
Deluan
2020-03-31 17:02:22 -04:00
parent d223a4f4db
commit eb621be646
8 changed files with 32 additions and 44 deletions
+1
View File
@@ -1,6 +1,7 @@
import blue from '@material-ui/core/colors/blue'
export default {
name: 'Dark (default)',
palette: {
primary: {
main: '#90caf9'
+1 -1
View File
@@ -1,4 +1,4 @@
import LightTheme from './light'
import DarkTheme from './dark'
export { LightTheme, DarkTheme }
export default { LightTheme, DarkTheme }
+1
View File
@@ -1,4 +1,5 @@
export default {
name: 'Light',
palette: {
secondary: {
light: '#5f5fc4',