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/Trace.tsx | |
parent | 580e574c841fb9b0ba9d37a50bd5a0f787799ff2 (diff) | |
download | dexon-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/Trace.tsx')
-rw-r--r-- | packages/dev-tools-pages/ts/components/Trace.tsx | 3 |
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; `; |