From 3487efe54ee0a70cf4873cb714a9e5e35b63e77e Mon Sep 17 00:00:00 2001 From: Eug-VS Date: Sun, 26 Jan 2020 16:06:51 +0300 Subject: feat: install material-ui, add theme --- src/lib/index.js | 3 +-- src/lib/theme.js | 24 ++++++++++++++++++++++++ 2 files changed, 25 insertions(+), 2 deletions(-) create mode 100644 src/lib/theme.js (limited to 'src') 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; -- cgit v1.2.3