aboutsummaryrefslogtreecommitdiffstats
path: root/packages/dev-tools-pages/ts/components/Trace.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/Trace.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/Trace.tsx')
-rw-r--r--packages/dev-tools-pages/ts/components/Trace.tsx3
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/dev-tools-pages/ts/components/Trace.tsx b/packages/dev-tools-pages/ts/components/Trace.tsx
index 50bbd449a..98695177d 100644
--- a/packages/dev-tools-pages/ts/components/Trace.tsx
+++ b/packages/dev-tools-pages/ts/components/Trace.tsx
@@ -1,5 +1,6 @@
import * as React from 'react';
import styled from 'styled-components';
+import variables from '../variables';
import { withContext, Props } from './withContext';
import { Alpha, Beta, Gamma } from './Typography';
@@ -97,7 +98,7 @@ const StyledSection =
`
max-width: 90rem;
margin: 0 auto;
- background: linear-gradient(to right, #000 50%, ${props => props.background} 50%);
+ background: linear-gradient(to right, ${variables.colors.black} 50%, ${props => props.background} 50%);
padding-top: 6.25rem;
padding-bottom: 5.25rem;
`;