Skip to content

Commit 1549b5c

Browse files
fix: improve author card visibility in dark mode
1 parent 928e990 commit 1549b5c

1 file changed

Lines changed: 33 additions & 0 deletions

File tree

src/theme/BlogPostItem/Footer/styles.module.css

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -252,3 +252,36 @@
252252
justify-content: center;
253253
}
254254
}
255+
256+
/* Dark mode fixes for author card visibility */
257+
[data-theme='dark'] .authorCard {
258+
background: #1e1e1e;
259+
border-color: rgba(255, 255, 255, 0.12);
260+
}
261+
262+
[data-theme='dark'] .authorName {
263+
color: #f1f5f9;
264+
}
265+
266+
[data-theme='dark'] .authorMeta {
267+
color: #94a3b8;
268+
}
269+
270+
[data-theme='dark'] .authorSummary {
271+
color: #cbd5e1;
272+
}
273+
274+
[data-theme='dark'] .authorBadge {
275+
background: rgba(99, 102, 241, 0.15);
276+
color: #a5b4fc;
277+
}
278+
279+
[data-theme='dark'] .githubButton {
280+
background: #2a2a2a;
281+
border-color: rgba(255, 255, 255, 0.12);
282+
color: #f1f5f9;
283+
}
284+
285+
[data-theme='dark'] .githubButton:hover {
286+
background: #333333;
287+
}

0 commit comments

Comments
 (0)