1
0
mirror of https://github.com/trezor/trezor-wallet synced 2024-11-30 20:28:09 +00:00

update styled-normalize to 8.0.4

This commit is contained in:
slowbackspace 2018-12-10 12:13:49 +01:00
parent 44b2000d1e
commit 2564bf9dfb
4 changed files with 7 additions and 8 deletions

View File

@ -68,7 +68,7 @@
"redux-thunk": "^2.2.0", "redux-thunk": "^2.2.0",
"rimraf": "^2.6.2", "rimraf": "^2.6.2",
"styled-components": "^4.1.2", "styled-components": "^4.1.2",
"styled-normalize": "^8.0.0", "styled-normalize": "^8.0.4",
"trezor-connect": "6.0.2", "trezor-connect": "6.0.2",
"web3": "1.0.0-beta.35", "web3": "1.0.0-beta.35",
"webpack": "^4.16.3", "webpack": "^4.16.3",

View File

@ -1,6 +1,7 @@
/* @flow */ /* @flow */
import React from 'react'; import React from 'react';
import { render } from 'react-dom'; import { render } from 'react-dom';
import { Normalize } from 'styled-normalize';
import BaseStyles from 'support/styles'; import BaseStyles from 'support/styles';
import App from 'views/index'; import App from 'views/index';
@ -8,6 +9,7 @@ const root: ?HTMLElement = document.getElementById('trezor-wallet-root');
if (root) { if (root) {
render( render(
<React.Fragment> <React.Fragment>
<Normalize />
<BaseStyles /> <BaseStyles />
<App /> <App />
</React.Fragment>, </React.Fragment>,

View File

@ -1,13 +1,10 @@
import { createGlobalStyle } from 'styled-components'; import { createGlobalStyle } from 'styled-components';
import colors from 'config/colors'; import colors from 'config/colors';
import normalize from 'styled-normalize';
import tooltipStyles from './Tooltip'; import tooltipStyles from './Tooltip';
import animationStyles from './Animations'; import animationStyles from './Animations';
const baseStyles = createGlobalStyle` const baseStyles = createGlobalStyle`
${normalize};
html, body { html, body {
width: 100%; width: 100%;
height: 100%; height: 100%;

View File

@ -11424,10 +11424,10 @@ styled-components@^4.1.2:
stylis-rule-sheet "^0.0.10" stylis-rule-sheet "^0.0.10"
supports-color "^5.5.0" supports-color "^5.5.0"
styled-normalize@^8.0.0: styled-normalize@^8.0.4:
version "8.0.0" version "8.0.4"
resolved "https://registry.yarnpkg.com/styled-normalize/-/styled-normalize-8.0.0.tgz#54881c9389540bf9fb2a3d34dca2e2d4d68601f2" resolved "https://registry.yarnpkg.com/styled-normalize/-/styled-normalize-8.0.4.tgz#6a0885dc16c61d88813dab8f5137da928fe0c947"
integrity sha512-6cO9CNRLKkh3I1xq4cCkKEI2OS069hpDwmTharz/DozsFW+pmjYu4KF30wSvbsUkydpZXPzd9y18Tm5AF8xJLw== integrity sha512-dXkKPnT+JcpqYnS0iQiBhUCOdheDz9xEm3H+ZARJV7l4WCXmRkwCx20ujkIYfESoYaiefbuX+F+rbtF6Ku5kvA==
stylelint-config-recommended@^2.1.0: stylelint-config-recommended@^2.1.0:
version "2.1.0" version "2.1.0"