use background color in html/body
This commit is contained in:
parent
f2b71e1105
commit
710b6f983e
@ -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`
|
||||||
|
@ -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};
|
||||||
}
|
}
|
||||||
`;
|
`;
|
||||||
|
Loading…
Reference in New Issue
Block a user