Implements color variables and updates components

This commit is contained in:
Megan Pearson
2018-10-19 09:37:14 +02:00
committed by August Skare
parent 580e574c84
commit 47b281b754
8 changed files with 29 additions and 10 deletions

View File

@@ -1,4 +1,5 @@
import styled from 'styled-components';
import variables from '../variables';
import { withContext, Props } from './withContext';
@@ -16,7 +17,7 @@ const Button =
white-space: nowrap;
vertical-align: middle;
background-color: ${props => props.colors.secondary};
color: #000;
color: ${variables.colors.black};
border: 0;
border-radius: 5rem;
padding: ${props => (props.large ? '1.125rem 2.375rem' : '.5625rem 1.25rem')};