From f47ef73662d20f840c2b5e25dc25e1b865564e80 Mon Sep 17 00:00:00 2001 From: kyrers Date: Fri, 14 Jul 2023 02:15:43 +0100 Subject: [PATCH] Fix ForumWidget not visible in dark theme --- src/components/ForumWidget/ForumWidget.tsx | 2 +- src/components/ForumWidget/styles.module.scss | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/components/ForumWidget/ForumWidget.tsx b/src/components/ForumWidget/ForumWidget.tsx index c2020429..f9a8243a 100644 --- a/src/components/ForumWidget/ForumWidget.tsx +++ b/src/components/ForumWidget/ForumWidget.tsx @@ -38,7 +38,7 @@ const ForumWidget = () => {
- +
diff --git a/src/components/ForumWidget/styles.module.scss b/src/components/ForumWidget/styles.module.scss index 07cde9b4..5bde2998 100644 --- a/src/components/ForumWidget/styles.module.scss +++ b/src/components/ForumWidget/styles.module.scss @@ -20,7 +20,8 @@ text-decoration: none; } & span { - color: #1C1E21; + color: var(--ifm-font-color-base); + color-scheme: var(--ifm-color-scheme); } }