1
0
mirror of https://github.com/yldio/copilot.git synced 2024-11-10 21:30:06 +02:00

use background color in html/body

This commit is contained in:
Sérgio Ramos 2017-02-24 13:54:12 +00:00
parent f2b71e1105
commit 710b6f983e
2 changed files with 3 additions and 2 deletions

View File

@ -1,9 +1,8 @@
import styled from 'styled-components'; import styled from 'styled-components';
import { colors, breakpoints } from '@ui/shared/constants'; import { breakpoints } from '@ui/shared/constants';
// Main Contonent Wrapper Styles // Main Contonent Wrapper Styles
export default styled.article` export default styled.article`
background-color: ${colors.base.grey};
padding: 2rem; padding: 2rem;
${breakpoints.large` ${breakpoints.large`

View File

@ -1,4 +1,5 @@
import { css } from 'styled-components'; import { css } from 'styled-components';
import { colors } from '../../shared/constants';
import eotRegular from '../../assets/fonts/librefranklin-regular-webfont.eot'; import eotRegular from '../../assets/fonts/librefranklin-regular-webfont.eot';
import woffRegular from '../../assets/fonts/librefranklin-regular-webfont.woff'; import woffRegular from '../../assets/fonts/librefranklin-regular-webfont.woff';
@ -79,5 +80,6 @@ export default css`
html, body { html, body {
font-size: 16px; font-size: 16px;
margin: 0; margin: 0;
background: ${colors.base.background};
} }
`; `;