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

@@ -6,7 +6,7 @@ const Header = styled(Flex)`
font-size: 11px;
font-weight: 600;
text-transform: uppercase;
color: ${props => props.theme.slateDark};
color: ${props => props.theme.sidebarText};
letter-spacing: 0.04em;
margin: 4px 16px;
`;

View File

@@ -46,7 +46,7 @@ const Subheading = styled.div`
font-size: 11px;
text-transform: uppercase;
font-weight: 500;
color: ${props => props.theme.slateDark};
color: ${props => props.theme.sidebarText};
`;
const TeamName = styled.div`

View File

@@ -34,7 +34,7 @@ class SidebarLink extends React.Component<Props> {
activeStyle = {
color: this.props.theme.text,
background: 'rgba(0, 0, 0, 0.05)',
background: this.props.theme.sidebarItemBackground,
fontWeight: 600,
...this.style,
};
@@ -115,7 +115,7 @@ const StyledNavLink = styled(NavLink)`
text-overflow: ellipsis;
padding: 4px 16px;
border-radius: 4px;
color: ${props => props.theme.slateDark};
color: ${props => props.theme.sidebarText};
font-size: 15px;
cursor: pointer;
@@ -128,7 +128,7 @@ const Action = styled.span`
position: absolute;
top: 4px;
right: 4px;
color: ${props => props.theme.slate};
color: ${props => props.theme.textTertiary};
svg {
opacity: 0.75;