From 8d076960cee271fdcc8783cb6a249e334a3ca167 Mon Sep 17 00:00:00 2001 From: Guanran Wang Date: Tue, 27 Aug 2024 06:25:15 +0800 Subject: [PATCH] fix(a11y): improve text contrast --- assets/static/style.css | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/assets/static/style.css b/assets/static/style.css index dd276f5..8531ed1 100644 --- a/assets/static/style.css +++ b/assets/static/style.css @@ -3,17 +3,17 @@ /* https://tailwindcss.com/docs/customizing-colors#default-color-palette */ :root { --bg: #ede9fe; - --text: #2e1065; - --text-footer: #64748b; --table: #c4b5fd; + --text-footer: #475569; + --text: #2e1065; } @media (prefers-color-scheme: dark) { :root { - --text: #f1f5f9; --bg: #0f172a; - --text-footer: #64748b; --table: #334155; + --text-footer: #94a3b8; + --text: #f1f5f9; } a:link {