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:
@@ -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>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user