aboutsummaryrefslogtreecommitdiffstats
path: root/packages/dev-tools-pages/ts/components/Button.tsx
diff options
context:
space:
mode:
authorMegan Pearson <megan.e.pearson@gmail.com>2018-10-19 15:37:14 +0800
committerAugust Skare <post@augustskare.no>2018-10-22 19:27:35 +0800
commit47b281b754a77a2104d39bafa5ea49584f8840cc (patch)
tree06d776c0980c91f58c776e10d326651915a7ff71 /packages/dev-tools-pages/ts/components/Button.tsx
parent580e574c841fb9b0ba9d37a50bd5a0f787799ff2 (diff)
downloaddexon-sol-tools-47b281b754a77a2104d39bafa5ea49584f8840cc.tar
dexon-sol-tools-47b281b754a77a2104d39bafa5ea49584f8840cc.tar.gz
dexon-sol-tools-47b281b754a77a2104d39bafa5ea49584f8840cc.tar.bz2
dexon-sol-tools-47b281b754a77a2104d39bafa5ea49584f8840cc.tar.lz
dexon-sol-tools-47b281b754a77a2104d39bafa5ea49584f8840cc.tar.xz
dexon-sol-tools-47b281b754a77a2104d39bafa5ea49584f8840cc.tar.zst
dexon-sol-tools-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.tsx3
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')};