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

+5 -5
View File
@@ -42,7 +42,7 @@ export default async function AdminVpn({ searchParams }: { searchParams: Promise
<section className="mt-6">
{sp.saved ? (
<p className="inline-block text-[0.72rem] font-bold px-2 py-0.5 rounded-full bg-green-600/20 text-[var(--color-text)]">
<p className="inline-block text-[0.72rem] font-bold px-2 py-0.5 rounded-full bg-[var(--color-success-subtle)] text-[var(--color-text)]">
{t("settingsSaved")}
</p>
) : null}
@@ -83,7 +83,7 @@ export default async function AdminVpn({ searchParams }: { searchParams: Promise
</option>
))}
</select>
<p className="text-xs text-gray-500 dark:text-gray-400" style={{ margin: "0.2rem 0 0" }}>
<p className="text-xs theme-text-muted dark:theme-text-muted" style={{ margin: "0.2rem 0 0" }}>
{t("providerHint")}
</p>
</div>
@@ -100,7 +100,7 @@ export default async function AdminVpn({ searchParams }: { searchParams: Promise
placeholder={t("apiKeyPlaceholder")}
style={{ width: "100%" }}
/>
<p className="text-xs text-gray-500 dark:text-gray-400" style={{ margin: "0.2rem 0 0" }}>
<p className="text-xs theme-text-muted dark:theme-text-muted" style={{ margin: "0.2rem 0 0" }}>
{t("apiKeyHint")}
</p>
</div>
@@ -120,7 +120,7 @@ export default async function AdminVpn({ searchParams }: { searchParams: Promise
placeholder={t("blockMessagePlaceholder")}
style={{ width: "100%" }}
/>
<p className="text-xs text-gray-500 dark:text-gray-400" style={{ margin: "0.2rem 0 0" }}>
<p className="text-xs theme-text-muted dark:theme-text-muted" style={{ margin: "0.2rem 0 0" }}>
{t("blockMessageHint")}
</p>
</div>
@@ -135,7 +135,7 @@ export default async function AdminVpn({ searchParams }: { searchParams: Promise
<section className="mt-6">
<h2 className="admin-section-title">{t("rawIpTitle")}</h2>
<p className="text-xs text-gray-500 dark:text-gray-400">
<p className="text-xs theme-text-muted dark:theme-text-muted">
{t.rich("rawIpDescription", { ipLink: (chunks) => <Link href="/admin/ip">{chunks}</Link> })}
</p>
<Link href="/admin/ip" className="btn btn-secondary">