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
committerMegan Pearson <megan.e.pearson@gmail.com>2018-10-19 15:37:14 +0800
commit561f441a5bfc4822b0974169605d089b4f687bf5 (patch)
treed0e2151e49b5337cfb2f71d0d8d987557ca89876 /packages/dev-tools-pages/ts/components/Button.tsx
parent30f7f83573c9254de336c3c2fc7297188d47af15 (diff)
downloaddexon-sol-tools-561f441a5bfc4822b0974169605d089b4f687bf5.tar
dexon-sol-tools-561f441a5bfc4822b0974169605d089b4f687bf5.tar.gz
dexon-sol-tools-561f441a5bfc4822b0974169605d089b4f687bf5.tar.bz2
dexon-sol-tools-561f441a5bfc4822b0974169605d089b4f687bf5.tar.lz
dexon-sol-tools-561f441a5bfc4822b0974169605d089b4f687bf5.tar.xz
dexon-sol-tools-561f441a5bfc4822b0974169605d089b4f687bf5.tar.zst
dexon-sol-tools-561f441a5bfc4822b0974169605d089b4f687bf5.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')};