From 4940fc9df6ed988117004a11abc0949c1b6cddb0 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Sirois Date: Tue, 8 Oct 2019 22:55:41 -0400 Subject: [PATCH] ui(resources): fix anchor color in dark mode --- src/components/Markdown/styles.tsx | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/components/Markdown/styles.tsx b/src/components/Markdown/styles.tsx index 8c0242a..ff291ac 100644 --- a/src/components/Markdown/styles.tsx +++ b/src/components/Markdown/styles.tsx @@ -68,6 +68,15 @@ export const MarkdownWrapper = styled.div` ${modularScaleCSS(1)}; } + h1 .anchor svg, + h2 .anchor svg, + h3 .anchor svg, + h4 .anchor svg, + h5 .anchor svg, + h6 .anchor svg { + fill: ${props => props.theme.main.foreground}; + } + code { background: #192129; padding: 4px 8px;