aboutsummaryrefslogtreecommitdiffstats
path: root/packages/dev-tools-pages/ts/components/Tabs.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/Tabs.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/Tabs.tsx')
-rw-r--r--packages/dev-tools-pages/ts/components/Tabs.tsx4
1 files changed, 3 insertions, 1 deletions
diff --git a/packages/dev-tools-pages/ts/components/Tabs.tsx b/packages/dev-tools-pages/ts/components/Tabs.tsx
index 1efbe1f61..b36b354f3 100644
--- a/packages/dev-tools-pages/ts/components/Tabs.tsx
+++ b/packages/dev-tools-pages/ts/components/Tabs.tsx
@@ -1,5 +1,7 @@
import * as React from 'react';
import styled from 'styled-components';
+import variables from '../variables';
+
import { Tabs as ReactTabs, Tab, TabList, TabPanel } from 'react-tabs'
import {withContext, Props} from './withContext';
@@ -34,7 +36,7 @@ const Root = styled.div<{primaryColor: string;}>`
background-color: ${props => props.primaryColor};
}
${StyledTab}[aria-selected="true"] {
- background-color: #F1F2F7;
+ background-color: ${variables.colors.gray};
}
`;