Add polished | rm normalize.css

This commit is contained in:
Jinksi 2017-03-29 10:52:07 +10:00
parent 4602aa23ae
commit 15b6ee34ee
4 changed files with 7 additions and 6 deletions

View file

@ -8,7 +8,7 @@
"standard": "^9.0.2"
},
"dependencies": {
"normalize.css": "^5.0.0",
"polished": "^1.0.0",
"react": "^15.4.2",
"react-dom": "^15.4.2",
"react-helmet": "^5",

View file

@ -1,4 +1,5 @@
import { injectGlobal } from 'styled-components'
import { normalize } from 'polished'
import WebFont from 'webfontloader'
export const loadFonts = () => WebFont.load({
@ -18,6 +19,7 @@ export const color = {
}
export default () => injectGlobal`
${normalize()}
html{
box-sizing: border-box;
font-size: 62.5%;

View file

@ -1,7 +1,6 @@
import React from 'react'
import { render } from 'react-snapshot'
import App from './App'
import 'normalize.css'
const rootEl = document.getElementById('root')
render(<App />, rootEl)

View file

@ -3771,10 +3771,6 @@ normalize-url@^1.4.0:
query-string "^4.1.0"
sort-keys "^1.0.0"
normalize.css@^5.0.0:
version "5.0.0"
resolved "https://registry.yarnpkg.com/normalize.css/-/normalize.css-5.0.0.tgz#7cec875ce8178a5333c4de80b68ea9c18b9d7c37"
npmlog@^4.0.1:
version "4.0.2"
resolved "https://registry.yarnpkg.com/npmlog/-/npmlog-4.0.2.tgz#d03950e0e78ce1527ba26d2a7592e9348ac3e75f"
@ -4036,6 +4032,10 @@ pluralize@^1.2.1:
version "1.2.1"
resolved "https://registry.yarnpkg.com/pluralize/-/pluralize-1.2.1.tgz#d1a21483fd22bb41e58a12fa3421823140897c45"
polished@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/polished/-/polished-1.0.0.tgz#0a350447c974cf1211fa08356d9e3d31e5275010"
postcss-calc@^5.2.0:
version "5.3.1"
resolved "https://registry.yarnpkg.com/postcss-calc/-/postcss-calc-5.3.1.tgz#77bae7ca928ad85716e2fda42f261bf7c1d65b5e"