fix: enforce semantic contrast across admin
Local Build and Deploy / deploy (push) Successful in 44s

This commit is contained in:
Simo committed 2026-07-12 15:14:15 +02:00
1 parent 45c8178cfa
commit f0b4bc1630
86 files changed
+438 -338

No files matched your search

+2 -2
View File
@@ -114,11 +114,11 @@ export default async function AdminWriteableBoxes() {
marginBottom: "0.75rem",
}}
>
<span className="text-sm text-gray-500 dark:text-gray-400">#{String(box.id)}</span>
<span className="text-sm theme-text-muted dark:theme-text-muted">#{String(box.id)}</span>
{box.icon ? <span aria-hidden>{box.icon}</span> : null}
<strong className="flex-1">{box.title}</strong>
<span
className={`inline-block text-[0.72rem] font-bold px-2 py-0.5 rounded-full ${box.isActive ? "bg-green-600/20 text-[var(--color-text)]" : "bg-red-500/22 text-[var(--color-text)]"}`}
className={`inline-block text-[0.72rem] font-bold px-2 py-0.5 rounded-full ${box.isActive ? "bg-[var(--color-success-subtle)] text-[var(--color-text)]" : "bg-[var(--color-error-subtle)] text-[var(--color-text)]"}`}
>
{box.isActive ? t("active") : t("hidden")}
</span>