From a23c4673ee2a59b45bc766df07aa208ee146e31e Mon Sep 17 00:00:00 2001 From: eug-vs Date: Sat, 6 Jun 2020 22:33:28 +0300 Subject: feat: create initial theme --- src/index.tsx | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) (limited to 'src/index.tsx') diff --git a/src/index.tsx b/src/index.tsx index e858a17..9225909 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -1,19 +1,34 @@ import React, { useState } from 'react'; import ReactDOM from 'react-dom'; + +import { createMuiTheme, ThemeProvider } from '@material-ui/core/styles'; import { CssBaseline } from '@material-ui/core'; +import teal from '@material-ui/core/colors/teal'; import 'typeface-roboto'; import Header from './Header/Header'; +const theme = createMuiTheme({ + palette: { + primary: { + main: teal[700], + }, + text: { + primary: '#000000', + secondary: 'rgba(255, 255, 255, 0.6)', + }, + }, +}); + const App: React.FC = () => { const [page, setPage] = useState('feed'); return ( - <> +

Hello, world!

- + ); }; -- cgit v1.2.3