diff options
author | Megan Pearson <megan.e.pearson@gmail.com> | 2018-10-19 15:37:14 +0800 |
---|---|---|
committer | August Skare <post@augustskare.no> | 2018-10-22 19:27:35 +0800 |
commit | 47b281b754a77a2104d39bafa5ea49584f8840cc (patch) | |
tree | 06d776c0980c91f58c776e10d326651915a7ff71 /packages/dev-tools-pages/ts/components/Button.tsx | |
parent | 580e574c841fb9b0ba9d37a50bd5a0f787799ff2 (diff) | |
download | dexon-0x-contracts-47b281b754a77a2104d39bafa5ea49584f8840cc.tar.gz dexon-0x-contracts-47b281b754a77a2104d39bafa5ea49584f8840cc.tar.zst dexon-0x-contracts-47b281b754a77a2104d39bafa5ea49584f8840cc.zip |
Implements color variables and updates components
Diffstat (limited to 'packages/dev-tools-pages/ts/components/Button.tsx')
-rw-r--r-- | packages/dev-tools-pages/ts/components/Button.tsx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/dev-tools-pages/ts/components/Button.tsx b/packages/dev-tools-pages/ts/components/Button.tsx index e676961c8..fb36f7669 100644 --- a/packages/dev-tools-pages/ts/components/Button.tsx +++ b/packages/dev-tools-pages/ts/components/Button.tsx @@ -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')}; |