Fix card text readability: use navbar-text color paired with navbar background on all cards

This commit is contained in:
openhands committed 2026-07-07 19:40:13 +02:00
1 parent e53a9dc838
commit 54c03c998c
2 files changed
+7 -4

No files matched your search

+2 -2
View File
@@ -64,13 +64,13 @@ export default async function NewsPage() {
/>
)}
<div style={{ padding: "1rem 1.1rem", flex: 1, display: "flex", flexDirection: "column" }}>
<h3 style={{ margin: 0, fontSize: "1.05rem", color: "var(--color-text)", lineHeight: 1.4 }}>
<h3 style={{ margin: 0, fontSize: "1.05rem", color: "var(--color-navbar-text)", lineHeight: 1.4 }}>
{a.title}
</h3>
<p className="muted" style={{ margin: "0.35rem 0 0.6rem", fontSize: "0.78rem" }}>
{formatDate(a.createdAt)}
</p>
<p style={{ margin: 0, color: "var(--color-text)", fontSize: "0.88rem", lineHeight: 1.55 }}>
<p style={{ margin: 0, color: "var(--color-navbar-text)", fontSize: "0.88rem", lineHeight: 1.55 }}>
{excerpt(a.shortStory, 150)}
</p>
</div>