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

+7 -7
View File
@@ -57,7 +57,7 @@ export default async function AdminRadioPointsPage({
return (
<main>
<nav className="text-xs text-gray-500 dark:text-gray-400 mb-2">
<nav className="text-xs theme-text-muted dark:theme-text-muted mb-2">
<Link href="/admin/radio">{t("title")}</Link> ·{" "}
<Link href="/admin/radio/settings">{t("settings")}</Link> ·{" "}
<Link href="/admin/radio/points">{t("points")}</Link> ·{" "}
@@ -79,7 +79,7 @@ export default async function AdminRadioPointsPage({
{saved === "1" ? (
<p>
<span className="inline-block text-[0.72rem] font-bold px-2 py-0.5 rounded-full bg-green-600/20 text-[var(--color-text)]">
<span 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("pointsForm.saved")}
</span>
</p>
@@ -124,7 +124,7 @@ export default async function AdminRadioPointsPage({
<option value="1">{t("pointsForm.enabled")}</option>
<option value="0">{t("pointsForm.disabled")}</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("pointsForm.pointsEnabledHint")}
</p>
</div>
@@ -145,7 +145,7 @@ export default async function AdminRadioPointsPage({
</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("pointsForm.currencyHint")}
</p>
</div>
@@ -163,7 +163,7 @@ export default async function AdminRadioPointsPage({
defaultValue={perMinute}
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("pointsForm.pointsPerMinuteHint")}
</p>
</div>
@@ -181,7 +181,7 @@ export default async function AdminRadioPointsPage({
defaultValue={maxPerDay}
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("pointsForm.maxPerDayHint")}
</p>
</div>
@@ -199,7 +199,7 @@ export default async function AdminRadioPointsPage({
defaultValue={minListeners}
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("pointsForm.minListenersHint")}
</p>
</div>