Dark Mode (#912)

closes #704
This commit is contained in:
Tom Moor
2019-03-12 21:35:35 -07:00
committed by GitHub
parent 6445da33db
commit 59c82f1f06
46 changed files with 648 additions and 252 deletions

View File

@@ -8,21 +8,21 @@ const NavItem = styled(NavLink)`
font-size: 11px;
font-weight: 500;
text-transform: uppercase;
color: ${props => props.theme.slate};
color: ${props => props.theme.textTertiary};
letter-spacing: 0.04em;
margin-right: 24px;
padding-bottom: 8px;
&:hover {
color: ${props => props.theme.slateDark};
color: ${props => props.theme.text};
}
`;
function Tab(props: *) {
const activeStyle = {
paddingBottom: '5px',
borderBottom: `3px solid ${props.theme.slateLight}`,
color: props.theme.slate,
borderBottom: `3px solid ${props.theme.textTertiary}`,
color: props.theme.textTertiary,
};
return <NavItem {...props} activeStyle={activeStyle} />;