From acf7ae0cd759f35423681dc7ce6ba0b01b03aec9 Mon Sep 17 00:00:00 2001 From: ChickenPige0n <2336983354@qq.com> Date: Sat, 11 Jul 2026 13:03:06 +0800 Subject: [PATCH] style: update surface colors and typography for improved contrast and readability across various components - Changed text colors from surface-400 to surface-600 and surface-500 to surface-700 for better visibility in multiple Svelte files. - Updated background and border colors in app.css for a more cohesive industrial design. - Adjusted font weights and sizes for headings, labels, and buttons to enhance clarity and user experience. - Refined styles for tables, badges, and buttons to align with the new design language. - Added new styles for input fields and switches to maintain consistency in the UI. --- hub/admin-web/src/app.html | 6 + .../src/lib/components/EmptyState.svelte | 6 +- .../src/lib/components/FolderNode.svelte | 10 +- .../src/lib/components/FolderTree.svelte | 8 +- .../src/lib/components/LoadingState.svelte | 2 +- hub/admin-web/src/lib/components/Modal.svelte | 2 +- .../src/lib/components/RoleCard.svelte | 10 +- .../src/lib/components/SelectField.svelte | 2 +- .../src/lib/components/ToastHost.svelte | 2 +- hub/admin-web/src/routes/+layout.svelte | 48 +-- hub/admin-web/src/routes/+page.svelte | 2 +- .../src/routes/admin/org/[slug]/+page.svelte | 16 +- .../admin/org/[slug]/members/+page.svelte | 16 +- .../admin/org/[slug]/models/+page.svelte | 2 +- .../[slug]/projects/[projectId]/+page.svelte | 16 +- .../admin/org/[slug]/provider/+page.svelte | 4 +- .../admin/org/[slug]/teams/+page.svelte | 14 +- hub/admin-web/src/routes/app.css | 341 +++++++++++------- hub/package-lock.json | 23 ++ 19 files changed, 325 insertions(+), 205 deletions(-) diff --git a/hub/admin-web/src/app.html b/hub/admin-web/src/app.html index 2e18223..97798b5 100644 --- a/hub/admin-web/src/app.html +++ b/hub/admin-web/src/app.html @@ -12,6 +12,12 @@ href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&family=Noto+Sans+SC:wght@400;500;600;700&display=swap" rel="stylesheet" /> +
{title}
+{title}
{#if description} -{description}
+{description}
{/if} {#if action}