diff options
author | Eug-VS <eug-vs@keemail.me> | 2020-01-26 16:06:51 +0300 |
---|---|---|
committer | Eug-VS <eug-vs@keemail.me> | 2020-01-26 16:09:27 +0300 |
commit | 3487efe54ee0a70cf4873cb714a9e5e35b63e77e (patch) | |
tree | 6372cccaa60c236a0d91c2886cd551e5a885e65e /src | |
parent | caee577929870603eb0ef7f28c89c2c4207b8050 (diff) | |
download | react-benzin-3487efe54ee0a70cf4873cb714a9e5e35b63e77e.tar.gz |
feat: install material-ui, add theme
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/index.js | 3 | ||||
-rw-r--r-- | src/lib/theme.js | 24 |
2 files changed, 25 insertions, 2 deletions
diff --git a/src/lib/index.js b/src/lib/index.js index e0179c3..220703f 100644 --- a/src/lib/index.js +++ b/src/lib/index.js @@ -4,5 +4,4 @@ import ContentSection from './components/ContentSection/ContentSection'; import SmartList from './components/SmartList/SmartList'; - -export defaut { Window, Header, ContentSection, SmartList }; +export default { Window, Header, ContentSection, SmartList }; diff --git a/src/lib/theme.js b/src/lib/theme.js new file mode 100644 index 0000000..3c671e6 --- /dev/null +++ b/src/lib/theme.js @@ -0,0 +1,24 @@ +import { createMuiTheme } from '@material-ui/core/styles' + +const theme = createMuiTheme({ + palette: { + type: 'dark', + primary: { + main: '#0a0909', + }, + secondary: { + main: '#ff7315', + }, + background: { + default: '#232020', + paper: '#0f0e0e', + elevation: 'rgba(255, 255, 255, 0.04)', + }, + text: { + primary: '#f4f4f4', + secondary: '#6f6666', + } + }, +}); + +export default theme; |