ThemeProvider (#677)

closes #655
This commit is contained in:
Tom Moor
2018-06-09 19:10:30 -07:00
committed by GitHub
parent 0942deec38
commit 434129a434
50 changed files with 277 additions and 324 deletions

View File

@ -1,14 +1,13 @@
// @flow
import styled from 'styled-components';
import { color } from 'shared/styles/constants';
const Subheading = styled.h3`
font-size: 11px;
font-weight: 500;
text-transform: uppercase;
color: ${color.slate};
color: ${props => props.theme.slate};
letter-spacing: 0.04em;
border-bottom: 1px solid ${color.slateLight};
border-bottom: 1px solid ${props => props.theme.slateLight};
padding-bottom: 8px;
margin-top: 30px;
margin-bottom: 10px;