From cde7be9f2a96eda2c7fd0d86fd88436133844166 Mon Sep 17 00:00:00 2001 From: Anders Olsson Date: Sun, 7 Jun 2026 14:15:54 +0200 Subject: [PATCH] refactor(web): migrate feature screens to design tokens + radius token (#49) Co-Authored-By: Claude Opus 4.8 (1M context) --- web/src/app.tsx | 2 +- web/src/auth/login-page.tsx | 2 +- web/src/authorities/authorities-page.tsx | 12 +++++----- web/src/components/delete-confirm-dialog.tsx | 4 ++-- web/src/fields/field-form.tsx | 10 ++++---- web/src/fields/field-list.tsx | 14 ++++++------ web/src/objects/delete-object-dialog.tsx | 4 ++-- web/src/objects/flexible-field-value.tsx | 8 +++---- web/src/objects/object-detail-drawer.tsx | 2 +- web/src/objects/object-detail.tsx | 12 +++++----- web/src/objects/object-edit-form.tsx | 2 +- web/src/objects/object-form.tsx | 10 ++++---- web/src/objects/objects-page.tsx | 2 +- web/src/objects/objects-table.tsx | 24 ++++++++++---------- web/src/objects/options-combobox.tsx | 2 +- web/src/objects/publish-control.tsx | 14 ++++++------ web/src/search/search-panel.tsx | 10 ++++---- web/src/search/search-result-row.tsx | 6 ++--- web/src/search/select-search-prompt.tsx | 2 +- web/src/shell/lang-switch.tsx | 2 +- web/src/shell/sidebar.tsx | 10 ++++---- web/src/vocab/select-vocabulary-prompt.tsx | 2 +- web/src/vocab/vocabulary-list.tsx | 12 +++++----- web/src/vocab/vocabulary-terms.tsx | 12 +++++----- 24 files changed, 90 insertions(+), 90 deletions(-) diff --git a/web/src/app.tsx b/web/src/app.tsx index 54205c4..a5e58a9 100644 --- a/web/src/app.tsx +++ b/web/src/app.tsx @@ -26,7 +26,7 @@ const FieldsPage = lazy(() => ); function FormFallback() { - return
Loading…
; + return
Loading…
; } export function App() { diff --git a/web/src/auth/login-page.tsx b/web/src/auth/login-page.tsx index 32b9e18..6009685 100644 --- a/web/src/auth/login-page.tsx +++ b/web/src/auth/login-page.tsx @@ -53,7 +53,7 @@ export function LoginPage() { /> {errorKey && ( -

+

{t(errorKey)}

)} diff --git a/web/src/authorities/authorities-page.tsx b/web/src/authorities/authorities-page.tsx index 676f92c..b0696af 100644 --- a/web/src/authorities/authorities-page.tsx +++ b/web/src/authorities/authorities-page.tsx @@ -53,7 +53,7 @@ export function AuthoritiesPage() { role="tab" aria-selected={k === currentKind} className={({ isActive }) => - `rounded px-3 py-1 text-sm ${isActive ? "bg-neutral-800 text-white" : "border"}` + `rounded-md px-3 py-1 text-sm ${isActive ? "bg-primary text-primary-foreground" : "border"}` } > {t(`authorities.${k}`)} @@ -63,13 +63,13 @@ export function AuthoritiesPage() {