ui(resources): style markdown links

This commit is contained in:
Jean-Philippe Sirois
2019-10-07 06:28:40 -04:00
parent 76c3bb4c59
commit f6a189a6d4
+13
View File
@@ -1,3 +1,4 @@
import { darken, lighten } from "polished"
import styled, { css } from "styled-components"
import {
BASE_FONT_SIZE,
@@ -94,4 +95,16 @@ export const MarkdownWrapper = styled.div`
color: #d1529d;
}
}
a {
color: ${props => props.theme.main.link};
cursor: pointer;
&:hover {
color: ${props =>
props.theme.name === "dark"
? lighten(0.15, props.theme.main.link)
: darken(0.15, props.theme.main.link)};
}
}
`