Changed name of export to colors and updates components

This commit is contained in:
Megan Pearson
2018-10-19 11:32:59 +02:00
parent 561f441a5b
commit 585ca203b0
8 changed files with 22 additions and 20 deletions

View File

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