-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.js
46 lines (43 loc) · 784 Bytes
/
index.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
import React from 'react';
import ReactDOM from 'react-dom';
import {injectGlobal, ThemeProvider} from "styled-components";
import App from './components/App.js';
import registerServiceWorker from './registerServiceWorker';
import './index.css';
const theme = {
mainFontColor: '#000'
}
injectGlobal`
body {
margin: 0;
}
button {
border: none;
background: transparent;
:focus {
outline: none;
}
}
li {
list-style: none;
}
ul {
padding-left: 0;
margin: 0;
}
p {
margin: 0;
}
input {
:focus {
outline: none;
}
}
`
ReactDOM.render(
<ThemeProvider theme={theme}>
<App />
</ThemeProvider>
,
document.getElementById('root'));
registerServiceWorker();