From 1549b5c1a93e6563f17c0313a00c65a4d61b40f6 Mon Sep 17 00:00:00 2001 From: garima-agarwall Date: Wed, 27 May 2026 12:11:59 +0530 Subject: [PATCH] fix: improve author card visibility in dark mode --- .../BlogPostItem/Footer/styles.module.css | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/src/theme/BlogPostItem/Footer/styles.module.css b/src/theme/BlogPostItem/Footer/styles.module.css index b2b908a6..956355fc 100644 --- a/src/theme/BlogPostItem/Footer/styles.module.css +++ b/src/theme/BlogPostItem/Footer/styles.module.css @@ -252,3 +252,36 @@ justify-content: center; } } + +/* Dark mode fixes for author card visibility */ +[data-theme='dark'] .authorCard { + background: #1e1e1e; + border-color: rgba(255, 255, 255, 0.12); +} + +[data-theme='dark'] .authorName { + color: #f1f5f9; +} + +[data-theme='dark'] .authorMeta { + color: #94a3b8; +} + +[data-theme='dark'] .authorSummary { + color: #cbd5e1; +} + +[data-theme='dark'] .authorBadge { + background: rgba(99, 102, 241, 0.15); + color: #a5b4fc; +} + +[data-theme='dark'] .githubButton { + background: #2a2a2a; + border-color: rgba(255, 255, 255, 0.12); + color: #f1f5f9; +} + +[data-theme='dark'] .githubButton:hover { + background: #333333; +}