fix(a11y): improve text contrast

This commit is contained in:
Guanran Wang 2024-08-27 06:25:15 +08:00
parent 2fba090e7f
commit 8d076960ce
Signed by: nyancat
GPG key ID: 91F97D9ED12639CF

View file

@ -3,17 +3,17 @@
/* https://tailwindcss.com/docs/customizing-colors#default-color-palette */ /* https://tailwindcss.com/docs/customizing-colors#default-color-palette */
:root { :root {
--bg: #ede9fe; --bg: #ede9fe;
--text: #2e1065;
--text-footer: #64748b;
--table: #c4b5fd; --table: #c4b5fd;
--text-footer: #475569;
--text: #2e1065;
} }
@media (prefers-color-scheme: dark) { @media (prefers-color-scheme: dark) {
:root { :root {
--text: #f1f5f9;
--bg: #0f172a; --bg: #0f172a;
--text-footer: #64748b;
--table: #334155; --table: #334155;
--text-footer: #94a3b8;
--text: #f1f5f9;
} }
a:link { a:link {