Skip to content

Commit b06e9a0

Browse files
committedJan 2, 2017
Merge branch 'redux' into universal-redux
2 parents d5daee4 + 0781c5b commit b06e9a0

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

67 files changed

+1557
-523
lines changed
 

‎package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@
8787
"redux-saga": "^0.14.0",
8888
"redux-thunk": "^2.1.0",
8989
"serialize-javascript": "^1.3.0",
90-
"styled-components": "^1.0.7",
90+
"styled-components": "1.1.1",
9191
"url-loader": "^0.5.7",
9292
"validator": "^6.1.0",
9393
"webpack": "^1.13.2",

‎src/components/App.js

+5-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
1-
import React, { Component, PropTypes } from 'react'
2-
import { injectGlobal } from 'styled-components'
1+
import React, { PropTypes, Component } from 'react'
2+
import { injectGlobal, ThemeProvider } from 'styled-components'
33
import Helmet from 'react-helmet'
44

5+
import theme from './theme'
6+
57
injectGlobal`
68
body {
79
margin: 0;
@@ -31,7 +33,7 @@ class App extends Component {
3133
link={[
3234
{ rel: 'icon', href: 'https://diegohaz.github.io/arc/icon.png' }
3335
]} />
34-
{children}
36+
<ThemeProvider theme={theme}>{children}</ThemeProvider>
3537
</div>
3638
)
3739
}

0 commit comments

Comments
 (0)