From 91401f083d8a5ed092ab4bbb68d6e1614ae17642 Mon Sep 17 00:00:00 2001 From: developomp Date: Wed, 19 Jan 2022 11:52:10 +0900 Subject: [PATCH] improved anchor color (close #40) --- source/src/styles/globalStyle.tsx | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/source/src/styles/globalStyle.tsx b/source/src/styles/globalStyle.tsx index a397f43..0caaee8 100644 --- a/source/src/styles/globalStyle.tsx +++ b/source/src/styles/globalStyle.tsx @@ -17,6 +17,11 @@ const anchorCSS = css` a.header-anchor { display: inline-block; margin-top: 4.5rem; + color: ${(props) => + theming.theme(props.theme.currentTheme, { + light: "lightgray", + dark: "lightslategray", + })}; } a[id^="fnref"] {