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

@@ -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;