Implements color variables and updates components
This commit is contained in:
@@ -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')};
|
||||
|
Reference in New Issue
Block a user