Implements color variables and updates components
This commit is contained in:
committed by
August Skare
parent
580e574c84
commit
47b281b754
@@ -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};
|
||||
}
|
||||
`;
|
||||
|
||||
|
Reference in New Issue
Block a user