Changed name of export to colors and updates components

This commit is contained in:
Megan Pearson
2018-10-19 11:32:59 +02:00
parent 561f441a5b
commit 585ca203b0
8 changed files with 22 additions and 20 deletions

View File

@@ -1,6 +1,6 @@
import * as React from 'react';
import styled from 'styled-components';
import variables from '../variables';
import { colors } from '../variables';
import { Tabs as ReactTabs, Tab, TabList, TabPanel } from 'react-tabs'
@@ -36,7 +36,7 @@ const Root = styled.div<{primaryColor: string;}>`
background-color: ${props => props.primaryColor};
}
${StyledTab}[aria-selected="true"] {
background-color: ${variables.colors.gray};
background-color: ${colors.gray};
}
`;