refactor(web): migrate feature screens to design tokens + radius token (#49)

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-06-07 14:15:54 +02:00
parent 04ed0c50e2
commit cde7be9f2a
24 changed files with 90 additions and 90 deletions
+4 -4
View File
@@ -49,9 +49,9 @@ function TermValue({
if (typeof value !== "string") return <></>;
const term = terms?.find((x) => x.id === value);
if (term) return <>{labelText(term.labels, lang)}</>;
if (isLoading) return <span className="text-neutral-400"></span>;
if (isLoading) return <span className="text-muted-foreground"></span>;
return (
<span className="text-neutral-400">
<span className="text-muted-foreground">
{value} {t("objects.unknownRef")}
</span>
);
@@ -72,9 +72,9 @@ function AuthorityValue({
if (typeof value !== "string") return <></>;
const authority = authorities?.find((x) => x.id === value);
if (authority) return <>{labelText(authority.labels, lang)}</>;
if (isLoading) return <span className="text-neutral-400"></span>;
if (isLoading) return <span className="text-muted-foreground"></span>;
return (
<span className="text-neutral-400">
<span className="text-muted-foreground">
{value} {t("objects.unknownRef")}
</span>
);