feat: implement dark mode

This commit is contained in:
Jean-Philippe Sirois
2019-09-14 15:47:10 -04:00
parent a9e74c108f
commit 5f76447e05
18 changed files with 266 additions and 98 deletions
+15
View File
@@ -0,0 +1,15 @@
import { transparentize } from "polished"
import styled from "styled-components"
export const ThemeTogglerWrapper = styled.div``
export const Link = styled.span`
display: inline-block;
cursor: pointer;
border-bottom: 2px solid transparent;
&:hover {
border-bottom: 2px solid
${props => transparentize(0.6, props.theme.sidebar.foreground)};
}
`