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

+4 -4
View File
@@ -95,7 +95,7 @@ export default async function AdminRareValues() {
<span className="inline-block text-[0.72rem] font-bold px-2 py-0.5 rounded-full bg-[var(--color-primary)]/18 text-[var(--color-text)]">
{t("priorityLabel", { priority: cat.priority })}
</span>
<span className="text-sm text-gray-500 dark:text-gray-400">
<span className="text-sm theme-text-muted dark:theme-text-muted">
{t("itemCount", { count: rows.length })}
</span>
</div>
@@ -123,7 +123,7 @@ export default async function AdminRareValues() {
{rows.map((v) => (
<tr key={String(v.id)}>
<td>{v.name}</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">
{v.itemId ?? "—"}
</td>
<td>{v.creditValue ?? "—"}</td>
@@ -133,7 +133,7 @@ export default async function AdminRareValues() {
{v.currencyType}
</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">
{v.furnitureIcon}
</td>
<td>
@@ -149,7 +149,7 @@ export default async function AdminRareValues() {
</tbody>
</table>
{rows.length === 0 ? (
<p className="text-xs text-gray-500 dark:text-gray-400" style={{ margin: "0.5rem 0 0" }}>
<p className="text-xs theme-text-muted dark:theme-text-muted" style={{ margin: "0.5rem 0 0" }}>
{t("noValuesInCategory")}
</p>
) : null}