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

+3 -3
View File
@@ -88,17 +88,17 @@ export default async function AdminSubscriptions() {
const soon = s.expiresAt <= soonCutoff;
return (
<tr key={s.id}>
<td className="text-sm text-gray-500 dark:text-gray-400 whitespace-nowrap">{s.id}</td>
<td className="text-sm theme-text-muted dark:theme-text-muted whitespace-nowrap">{s.id}</td>
<td>{s.userId ?? "—"}</td>
<td>{s.subscriptionType ?? "—"}</td>
<td>
<span
className={`inline-block text-[0.72rem] font-bold px-2 py-0.5 rounded-full ${soon ? "bg-[var(--color-primary)]/18 text-[var(--color-text)]" : "bg-green-600/20 text-[var(--color-text)]"}`}
className={`inline-block text-[0.72rem] font-bold px-2 py-0.5 rounded-full ${soon ? "bg-[var(--color-primary)]/18 text-[var(--color-text)]" : "bg-[var(--color-success-subtle)] text-[var(--color-text)]"}`}
>
{soon ? t("statusExpiring") : t("statusActive")}
</span>
</td>
<td className="text-sm text-gray-500 dark:text-gray-400 whitespace-nowrap">
<td className="text-sm theme-text-muted dark:theme-text-muted whitespace-nowrap">
{fmt(s.expiresAt)}
</td>
</tr>