Database governance built for humans and agents — controlling changes and access across every major database.
Go cicddata-governancedata-maskingdata-securitydatabase-accessdatabase-governancedevopsdevsecopsflywaygitopsliquibasemongodbmysqloraclepostgresqlschema-migrationssecuritysql-clientsqlservertidb
fix(frontend): replace raw Tailwind colors with semantic design tokens (#19940)
p0ny8e5c3f0d8f1d
diff --git a/docs/plans/2026-04-10-shadcn-design-token-cleanup.md b/docs/plans/2026-04-10-shadcn-design-token-cleanup.mdnew file mode 100644index 0000000000..2fa9cff884--- /dev/null+++ b/docs/plans/2026-04-10-shadcn-design-token-cleanup.md@@ -0,0 +1,432 @@+# shadcn Design Token & Pattern Cleanup++> **For Claude:** REQUIRED SUB-SKILL: Use superpowers:executing-plans to implement this plan task-by-task.++**Goal:** Align all React code with shadcn best practices — semantic color tokens, proper spacing utilities, and consistent component patterns.++**Architecture:** Add missing semantic tokens to the CSS variable system, fix the shared UI components first (highest leverage), then sweep page-level code area by area. Each task is independently mergeable.++**Tech Stack:** Tailwind CSS v4, CSS custom properties, React + Base UI + cva++---++## Phase 1: Foundation — Add Missing Semantic Tokens++### Task 1: Add `background` and `overlay` semantic tokens++**Files:**+- Modify: `frontend/src/assets/css/tailwind.css` (`:root` block, lines 106-168)++**Step 1: Add the tokens**++In the `:root` block inside `@layer base`, add after the `--color-control-border` line:++```css+ /* white - page/card/panel background */+ --color-background: 255 255 255; /* #ffffff */+ /* black/50 - overlay backdrop */+ --color-overlay: 0 0 0; /* #000000, use as bg-overlay/50 */+```++**Step 2: Verify Tailwind picks them up**++Run: `pnpm --dir frontend type-check`+Expected: PASS (CSS vars are auto-available in Tailwind v4 via `@config`)++**Step 3: Commit**++```bash+git add frontend/src/assets/css/tailwind.css+git commit -m "feat(frontend): add background and overlay semantic color tokens"+```++---++## Phase 2: Fix Shared UI Components++### Task 2: Fix `dialog.tsx` — replace hardcoded colors++**Files:**+- Modify: `frontend/src/react/components/ui/dialog.tsx`++**Step 1: Replace `bg-black/50` with `bg-overlay/50`**++Line 20: `"fixed inset-0 z-50 bg-black/50"` → `"fixed inset-0 z-50 bg-overlay/50"`++**Step 2: Replace `bg-white` with `bg-background`**++Line 42: `"rounded-sm bg-white shadow-lg"` → `"rounded-sm bg-background shadow-lg"`++**Step 3: Replace `text-gray-500` with `text-control-light`**++Line 77: `"text-sm text-gray-500"` → `"text-sm text-control-light"`++**Step 4: Verify**++Run: `pnpm --dir frontend type-check`++**Step 5: Commit**++```bash+git add frontend/src/react/components/ui/dialog.tsx+git commit -m "fix(frontend): use semantic tokens in Dialog component"+```++### Task 3: Fix `select.tsx` — replace hardcoded colors and use `size-*`++**Files:**+- Modify: `frontend/src/react/components/ui/select.tsx`++**Step 1: Replace `bg-white` with `bg-background`**++Line 20 (`SelectTrigger`): `bg-white` → `bg-background`+Line 51 (`SelectContent`): `bg-white` → `bg-background`++**Step 2: Replace `w-3.5 h-3.5` with `size-3.5`**++Line 29: `className="w-3.5 h-3.5 opacity-50 shrink-0"` → `className="size-3.5 opacity-50 shrink-0"`+Line 82: `className="w-3.5 h-3.5"` → `className="size-3.5"`++**Step 3: Verify**++Run: `pnpm --dir frontend type-check`++**Step 4: Commit**++```bash+git add frontend/src/react/components/ui/select.tsx+git commit -m "fix(frontend): use semantic tokens and size shorthand in Select"+```++### Task 4: Fix `combobox.tsx` — replace hardcoded colors++**Files:**+- Modify: `frontend/src/react/components/ui/combobox.tsx`++**Step 1: Replace all `bg-white` with `bg-background`**++Lines 328, 365: `bg-white` → `bg-background`++**Step 2: Replace any `w-N h-N` pairs with `size-N`**++Scan for matching w/h pairs and replace.++**Step 3: Verify**++Run: `pnpm --dir frontend type-check`++**Step 4: Commit**++```bash+git add frontend/src/react/components/ui/combobox.tsx+git commit -m "fix(frontend): use semantic tokens in Combobox"+```++### Task 5: Fix `switch.tsx` — replace hardcoded colors++**Files:**+- Modify: `frontend/src/react/components/ui/switch.tsx`++**Step 1: Replace `bg-white` with `bg-background`**++Line 37: `bg-white` → `bg-background`++**Step 2: Verify & commit**++```bash+git add frontend/src/react/components/ui/switch.tsx+git commit -m "fix(frontend): use semantic tokens in Switch"+```++### Task 6: Fix `alert.tsx` — use `size-*` shorthand++**Files:**+- Modify: `frontend/src/react/components/ui/alert.tsx`++**Step 1: Replace `h-5 w-5` with `size-5`**++Line 52: `className="h-5 w-5 shrink-0 mt-0.5"` → `className="size-5 shrink-0 mt-0.5"`++**Step 2: Verify & commit**++```bash+git add frontend/src/react/components/ui/alert.tsx+git commit -m "fix(frontend): use size shorthand in Alert icon"+```++---++## Phase 3: Fix `space-x/y` → `gap` (23 instances, 7 files)++### Task 7: Fix spacing in `DatabaseObjectExplorer.tsx`++**Files:**+- Modify: `frontend/src/react/pages/project/database-detail/overview/DatabaseObjectExplorer.tsx`++**Step 1: Replace all `space-y-*` with `flex flex-col gap-*`**++For each occurrence (lines 357, 386, 414, 421, 441, 451, 460, 470, 476, 486):+- If element already has `flex flex-col`: just replace `space-y-N` with `gap-N`+- If element is a plain `div`/`section`: add `flex flex-col` and replace `space-y-N` with `gap-N`++Example: `<section className="space-y-4">` → `<section className="flex flex-col gap-4">`++**Step 2: Verify**++Run: `pnpm --dir frontend type-check`++**Step 3: Commit**++```bash+git add frontend/src/react/pages/project/database-detail/overview/DatabaseObjectExplorer.tsx+git commit -m "fix(frontend): replace space-y with flex gap in DatabaseObjectExplorer"+```++### Task 8: Fix spacing in remaining 6 files++**Files:**+- Modify: `frontend/src/react/plugins/agent/components/ToolCallCard.tsx` (lines 225, 306)+- Modify: `frontend/src/react/plugins/agent/components/AgentChat.tsx` (line 95)+- Modify: `frontend/src/react/pages/settings/PurchaseSection.tsx` (lines 366, 608)+- Modify: `frontend/src/react/pages/settings/RiskAssessmentPage.tsx` (lines 17, 31)+- Modify: `frontend/src/react/pages/settings/DataClassificationPage.tsx` (lines 333, 606)+- Modify: `frontend/src/react/pages/project/database-detail/revision/CreateRevisionDialog.tsx` (lines 109, 110, 140, 163)++**Step 1: Apply the same pattern as Task 7**++For each `space-y-N` or `space-x-N`:+- Replace with `flex flex-col gap-N` (for space-y) or `flex gap-N` (for space-x)+- If element already has `flex`: just swap the spacing utility++**Step 2: Verify**++Run: `pnpm --dir frontend type-check`++**Step 3: Commit**++```bash+git add frontend/src/react/plugins/agent/components/ToolCallCard.tsx \+ frontend/src/react/plugins/agent/components/AgentChat.tsx \+ frontend/src/react/pages/settings/PurchaseSection.tsx \+ frontend/src/react/pages/settings/RiskAssessmentPage.tsx \+ frontend/src/react/pages/settings/DataClassificationPage.tsx \+ frontend/src/react/pages/project/database-detail/revision/CreateRevisionDialog.tsx+git commit -m "fix(frontend): replace space-x/y with flex gap across React pages"+```++---++## Phase 4: Fix Raw Colors in Page-Level Code++**Strategy:** Work area by area. For each file, replace raw Tailwind colors with the closest semantic token:++| Raw Color | Semantic Token |+|-----------|---------------|+| `bg-white` | `bg-background` |+| `bg-black/50`, `bg-black/40`, `bg-black/30` | `bg-overlay/50`, `bg-overlay/40`, `bg-overlay/30` |+| `bg-gray-50`, `bg-gray-100` | `bg-control-bg` |+| `bg-gray-200` | `bg-control-bg-hover` |+| `text-gray-400` | `text-control-placeholder` |+| `text-gray-500`, `text-gray-600` | `text-control-light` |+| `text-gray-700`, `text-gray-800`, `text-gray-900` | `text-control` or `text-main` |+| `border-gray-200` | `border-block-border` |+| `border-gray-300` | `border-control-border` |+| `bg-blue-500`, `bg-blue-600`, `text-blue-600` | `bg-info` / `text-info` or `bg-accent` / `text-accent` (context-dependent) |+| `bg-red-500`, `bg-red-600`, `text-red-500`, `text-red-600` | `bg-error` / `text-error` |+| `bg-green-500`, `bg-green-600`, `text-green-600` | `bg-success` / `text-success` |+| `bg-yellow-500`, `text-yellow-600` | `bg-warning` / `text-warning` |+| `bg-indigo-*`, `text-indigo-*` | `bg-accent` / `text-accent` variants |++**Important:** Some raw colors are intentional (e.g., syntax highlighting, status indicators with specific shades). Use judgment — if a color conveys semantic meaning (error, warning, info, success, accent), use the token. If it's decorative or specific to a visualization, leave it.++### Task 9: Fix raw colors in Agent plugin components++**Files:**+- Modify: `frontend/src/react/plugins/agent/components/AgentWindow.tsx`+- Modify: `frontend/src/react/plugins/agent/components/AgentChat.tsx`+- Modify: `frontend/src/react/plugins/agent/components/AgentInput.tsx`+- Modify: `frontend/src/react/plugins/agent/components/ToolCallCard.tsx`++**Step 1: Read each file and identify all raw color classes**++**Step 2: Replace with semantic tokens per the mapping table above**++**Step 3: Verify**++Run: `pnpm --dir frontend type-check`++**Step 4: Commit**++```bash+git add frontend/src/react/plugins/agent/+git commit -m "fix(frontend): use semantic color tokens in Agent plugin components"+```++### Task 10: Fix raw colors in Drawer/Dialog components++**Files:**+- Modify: `frontend/src/react/components/database/CreateDatabaseDrawer.tsx`+- Modify: `frontend/src/react/components/database/TransferProjectDrawer.tsx`+- Modify: `frontend/src/react/components/database/LabelEditorDrawer.tsx`+- Modify: `frontend/src/react/components/EditEnvironmentDrawer.tsx`+- Modify: `frontend/src/react/components/CreateWorkloadIdentityDrawer.tsx`++**Step 1: Replace `bg-black/50` and `bg-black/30` with `bg-overlay/50` and `bg-overlay/30`**++**Step 2: Replace `bg-white` with `bg-background`**++**Step 3: Verify & commit**++```bash+git add frontend/src/react/components/database/CreateDatabaseDrawer.tsx \+ frontend/src/react/components/database/TransferProjectDrawer.tsx \+ frontend/src/react/components/database/LabelEditorDrawer.tsx \+ frontend/src/react/components/EditEnvironmentDrawer.tsx \+ frontend/src/react/components/CreateWorkloadIdentityDrawer.tsx+git commit -m "fix(frontend): use semantic tokens in Drawer/Dialog components"+```++### Task 11: Fix raw colors in shared components++**Files:**+- Modify: `frontend/src/react/components/AuditLogTable.tsx`+- Modify: `frontend/src/react/components/IssueTable.tsx`+- Modify: `frontend/src/react/components/ExprEditor.tsx`+- Modify: `frontend/src/react/components/AdvancedSearch.tsx`+- Modify: `frontend/src/react/components/AccountMultiSelect.tsx`+- Modify: `frontend/src/react/components/DatabaseGroupForm.tsx`+- Modify: `frontend/src/react/components/WorkspaceSwitcher.tsx`+- Modify: `frontend/src/react/components/TimeRangePicker.tsx`+- Modify: `frontend/src/react/components/MatchedDatabaseView.tsx`+- Modify: `frontend/src/react/components/sql-review/Panels.tsx`+- Modify: `frontend/src/react/components/sql-review/ReviewCreation.tsx`+- Modify: `frontend/src/react/components/CustomApproval/ApprovalStepsTable.tsx`+- Modify: `frontend/src/react/components/task-run-log/SectionHeader.tsx`+- Modify: `frontend/src/react/components/instance/DataSourceForm.tsx`+- Modify: `frontend/src/react/components/instance/InstanceSyncButton.tsx`+- Modify: `frontend/src/react/components/instance/InstanceFormButtons.tsx`+- Modify: `frontend/src/react/components/instance/InstanceActionDropdown.tsx`+- Modify: `frontend/src/react/components/instance/InfoPanel.tsx`+- Modify: `frontend/src/react/components/instance/InstanceFormBody.tsx`+- Modify: `frontend/src/react/components/instance/SslCertificateForm.tsx`++**Step 1: Read each file and replace raw colors per mapping table**++Focus on: `bg-white` → `bg-background`, `bg-black/*` → `bg-overlay/*`, gray scale → semantic tokens, status colors → `error`/`warning`/`success`/`info` tokens.++**Step 2: Verify**++Run: `pnpm --dir frontend type-check`++**Step 3: Commit**++```bash+git add frontend/src/react/components/+git commit -m "fix(frontend): use semantic color tokens in shared React components"+```++### Task 12: Fix raw colors in Settings pages++**Files:**+- Modify: `frontend/src/react/pages/settings/MembersPage.tsx`+- Modify: `frontend/src/react/pages/settings/IDPDetailPage.tsx`+- Modify: `frontend/src/react/pages/settings/ServiceAccountsPage.tsx`+- Modify: `frontend/src/react/pages/settings/ProjectsPage.tsx`+- Modify: `frontend/src/react/pages/settings/InstancesPage.tsx`+- Modify: `frontend/src/react/pages/settings/SemanticTypesPage.tsx`+- Modify: `frontend/src/react/pages/settings/CreateInstancePage.tsx`+- Modify: `frontend/src/react/pages/settings/SQLReviewDetailPage.tsx`+- Modify: `frontend/src/react/pages/settings/PurchaseSection.tsx`+- Modify: `frontend/src/react/pages/settings/DataClassificationPage.tsx`+- Modify: `frontend/src/react/pages/settings/general/GeneralSection.tsx`+- Modify: `frontend/src/react/pages/settings/general/AIAugmentationSection.tsx`+- Modify: `frontend/src/react/pages/settings/general/GeneralPage.tsx`++**Step 1: Read each file and replace raw colors per mapping table**++**Step 2: Verify**++Run: `pnpm --dir frontend type-check`++**Step 3: Commit**++```bash+git add frontend/src/react/pages/settings/+git commit -m "fix(frontend): use semantic color tokens in Settings pages"+```++### Task 13: Fix raw colors in Project pages++**Files:**+- Modify: `frontend/src/react/pages/project/ProjectDataExportPage.tsx`+- Modify: `frontend/src/react/pages/project/ProjectSettingsPage.tsx`+- Modify: `frontend/src/react/pages/project/ProjectWebhooksPage.tsx`+- Modify: `frontend/src/react/pages/project/ProjectReleaseDashboardPage.tsx`+- Modify: `frontend/src/react/pages/project/ProjectMaskingExemptionCreatePage.tsx`+- Modify: `frontend/src/react/pages/project/ProjectPlanDashboardPage.tsx`+- Modify: `frontend/src/react/pages/project/ProjectWebhookForm.tsx`+- Modify: `frontend/src/react/pages/project/ProjectSyncSchemaPage.tsx`+- Modify: `frontend/src/react/pages/project/DatabaseChangelogDetailPage.tsx`+- Modify: `frontend/src/react/pages/project/ProjectDatabasesPage.tsx`+- Modify: `frontend/src/react/pages/project/ProjectMaskingExemptionPage.tsx`+- Modify: `frontend/src/react/pages/project/ProjectDatabaseGroupDetailPage.tsx`+- Modify: `frontend/src/react/pages/project/ProjectDatabaseGroupsPage.tsx`+- Modify: `frontend/src/react/pages/project/export-center/DataExportPrepDrawer.tsx`+- Modify: `frontend/src/react/pages/project/database-detail/changelog/DatabaseChangelogTable.tsx`+- Modify: `frontend/src/react/pages/project/database-detail/DatabaseExportSchemaButton.tsx`+- Modify: `frontend/src/react/pages/project/database-detail/overview/TableDetailDialog.tsx`+- Modify: `frontend/src/react/pages/project/database-detail/overview/ObjectSectionTable.tsx`+- Modify: `frontend/src/react/pages/project/database-detail/overview/DatabaseObjectExplorer.tsx`+- Modify: `frontend/src/react/pages/project/database-detail/overview/TableMetadataTable.tsx`+- Modify: `frontend/src/react/pages/project/database-detail/revision/DatabaseRevisionTable.tsx`++**Step 1: Read each file and replace raw colors per mapping table**++**Step 2: Verify**++Run: `pnpm --dir frontend type-check`++**Step 3: Commit**++```bash+git add frontend/src/react/pages/project/+git commit -m "fix(frontend): use semantic color tokens in Project pages"+```++---++## Phase 5: Fix Legacy CSS Utility Classes++### Task 14: Fix raw colors in `tailwind.css` utility classes++**Files:**+- Modify: `frontend/src/assets/css/tailwind.css`++**Step 1: Replace raw colors in legacy utility classes**++- Line 238: `.textlabeltip` — `text-red-500` → `text-error`+- Line 242: `.textfield` — `bg-gray-50` → `bg-control-bg`+- Line 266: `.radio .label` — `text-gray-700` → `text-control`+- Line 298: `.normal-link` — `text-blue-600` → `text-info`, `text-blue-800` → `text-info-hover`+- Line 302: `.light-link` — `text-blue-400` / `text-blue-200` → keep (dark theme specific)++**Step 2: Verify & commit**++```bash+git add frontend/src/assets/css/tailwind.css+git commit -m "fix(frontend): use semantic tokens in legacy CSS utility classes"+```++---++## Verification Checklist++After all tasks are complete:++1. `pnpm --dir frontend type-check` — passes+2. `pnpm --dir frontend check` — no lint errors+3. `pnpm --dir frontend dev` — visual spot-check that colors haven't changed+4. Search for remaining violations:+ - `rg 'space-[xy]-' frontend/src/react/ --glob '*.tsx'` — should return 0 results+ - `rg 'bg-white|bg-black' frontend/src/react/components/ui/` — should return 0 results+ - `rg 'bg-(gray|blue|red|green|yellow|orange)-\d' frontend/src/react/ --glob '*.tsx'` — should be minimal (only intentional decorative uses)diff --git a/frontend/src/assets/css/tailwind.css b/frontend/src/assets/css/tailwind.cssindex d7ff159a5f..849c6f2ca6 100644--- a/frontend/src/assets/css/tailwind.css+++ b/frontend/src/assets/css/tailwind.css@@ -165,6 +165,11 @@--color-block-border: 229 231 235; /* #e5e7eb *//* gray-300 */--color-control-border: 209 213 219; /* #d1d5db */++ /* white - page/card/panel background */+ --color-background: 255 255 255; /* #ffffff */+ /* black - overlay backdrop, use with opacity e.g. bg-overlay/50 */+ --color-overlay: 0 0 0; /* #000000 */}:root {/* same as vs-dark theme's bg, not pure black. */@@ -235,11 +240,11 @@}.textlabeltip {- @apply text-xs font-normal text-red-500 ml-2;+ @apply text-xs font-normal text-error ml-2;}.textfield {- @apply text-main disabled:text-control disabled:bg-gray-50 disabled:cursor-not-allowed disabled:opacity-70 focus:ring-control focus:border-control sm:text-sm border-control-border rounded-sm;+ @apply text-main disabled:text-control disabled:bg-control-bg disabled:cursor-not-allowed disabled:opacity-70 focus:ring-control focus:border-control sm:text-sm border-control-border rounded-sm;}.textarea {@@ -259,11 +264,11 @@}.radio .btn {- @apply focus:ring-accent h-4 w-4 text-accent select-none;+ @apply focus:ring-accent size-4 text-accent select-none;}.radio .label {- @apply ml-1.5 block text-sm font-medium text-gray-700 select-none;+ @apply ml-1.5 block text-sm font-medium text-control select-none;}.outline-title {@@ -295,7 +300,7 @@}.normal-link {- @apply cursor-pointer text-blue-600 hover:underline hover:text-blue-800 focus:outline-hidden;+ @apply cursor-pointer text-info hover:underline hover:text-info-hover focus:outline-hidden;}.light-link {diff --git a/frontend/src/react/components/AccountMultiSelect.tsx b/frontend/src/react/components/AccountMultiSelect.tsxindex 8e948c2a54..47a525b897 100644--- a/frontend/src/react/components/AccountMultiSelect.tsx+++ b/frontend/src/react/components/AccountMultiSelect.tsx@@ -80,9 +80,9 @@ function SelectionCheckbox({ selected }: { selected: boolean }) {return (<divclassName={cn(- "h-4 w-4 rounded-xs border flex items-center justify-center shrink-0",+ "size-4 rounded-xs border flex items-center justify-center shrink-0",selected- ? "bg-accent border-accent text-white"+ ? "bg-accent border-accent text-accent-text": "border-control-border")}>@@ -110,14 +110,14 @@ function SpecialAccountOption({return (<divclassName={cn(- "flex items-center gap-x-3 px-3 py-2 cursor-pointer hover:bg-gray-50",+ "flex items-center gap-x-3 px-3 py-2 cursor-pointer hover:bg-control-bg",selected && "bg-accent/5")}onClick={onToggle}><SelectionCheckbox selected={selected} /><div- className="h-7 w-7 rounded-full flex items-center justify-center text-white text-xs font-medium shrink-0"+ className="size-7 rounded-full flex items-center justify-center text-accent-text text-xs font-medium shrink-0"style={{ backgroundColor: getAvatarColor(match.email) }}><Icon className="h-3.5 w-3.5" />@@ -127,7 +127,7 @@ function SpecialAccountOption({<span className="text-sm font-medium truncate">{match.email.split("@")[0]}</span>- <span className="text-xs text-control-light bg-gray-100 rounded-xs px-1">+ <span className="text-xs text-control-light bg-control-bg rounded-xs px-1">{label}</span></div>@@ -296,7 +296,7 @@ export function AccountMultiSelect({{value.map((binding) => (<spankey={binding}- className="inline-flex items-center gap-x-1 rounded-xs bg-gray-100 px-1.5 py-0.5 text-xs"+ className="inline-flex items-center gap-x-1 rounded-xs bg-control-bg px-1.5 py-0.5 text-xs">{chipLabel(binding)}{!disabled && (@@ -323,11 +323,11 @@ export function AccountMultiSelect({{/* Dropdown */}{open && (- <div className="absolute z-50 mt-1 w-full bg-white border border-control-border rounded-sm shadow-lg max-h-72 overflow-auto flex flex-col">+ <div className="absolute z-50 mt-1 w-full bg-background border border-control-border rounded-sm shadow-lg max-h-72 overflow-auto flex flex-col">{/* Search input */}<SearchInputref={inputRef}- wrapperClassName="sticky top-0 bg-white m-2"+ wrapperClassName="sticky top-0 bg-background m-2"value={search}onChange={(e) => setSearch(e.target.value)}placeholder={t("common.search-for-more")}@@ -338,7 +338,7 @@ export function AccountMultiSelect({{includeAllUsers && (<divclassName={cn(- "flex items-center gap-x-3 px-3 py-2 cursor-pointer hover:bg-gray-50",+ "flex items-center gap-x-3 px-3 py-2 cursor-pointer hover:bg-control-bg",selectedFullnames.has(ALL_USERS_USER_EMAIL) && "bg-accent/5")}onClick={() => toggle(ALL_USERS_USER_EMAIL)}@@ -348,7 +348,7 @@ export function AccountMultiSelect({/>{/* Blue avatar circle */}<div- className="h-7 w-7 rounded-full flex items-center justify-center text-white text-xs font-medium shrink-0"+ className="size-7 rounded-full flex items-center justify-center text-accent-text text-xs font-medium shrink-0"style={{ backgroundColor: "#3B82F6" }}><Users className="h-4 w-4" />@@ -362,7 +362,7 @@ export function AccountMultiSelect({{/* Users */}{users.length > 0 && (<div>- <div className="px-3 py-1.5 text-xs font-medium text-control-light uppercase tracking-wide bg-gray-50 border-b">+ <div className="px-3 py-1.5 text-xs font-medium text-control-light uppercase tracking-wide bg-control-bg border-b">{t("common.users")}</div>{users.map((user) => {@@ -376,7 +376,7 @@ export function AccountMultiSelect({<divkey={user.name}className={cn(- "flex items-center gap-x-3 px-3 py-2 cursor-pointer hover:bg-gray-50",+ "flex items-center gap-x-3 px-3 py-2 cursor-pointer hover:bg-control-bg",selected && "bg-accent/5")}onClick={() => toggle(fullname)}@@ -384,7 +384,7 @@ export function AccountMultiSelect({<SelectionCheckbox selected={selected} />{/* Avatar */}<div- className="h-7 w-7 rounded-full flex items-center justify-center text-white text-xs font-medium shrink-0"+ className="size-7 rounded-full flex items-center justify-center text-accent-text text-xs font-medium shrink-0"style={{ backgroundColor: color }}>{initials}@@ -395,7 +395,7 @@ export function AccountMultiSelect({{displayName}</span>{isCurrentUser && (- <span className="text-xs text-control-light bg-gray-100 rounded-xs px-1">+ <span className="text-xs text-control-light bg-control-bg rounded-xs px-1">{t("common.you")}</span>)}@@ -415,7 +415,7 @@ export function AccountMultiSelect({{/* Groups */}{groups.length > 0 && (<div>- <div className="px-3 py-1.5 text-xs font-medium text-control-light uppercase tracking-wide bg-gray-50 border-b">+ <div className="px-3 py-1.5 text-xs font-medium text-control-light uppercase tracking-wide bg-control-bg border-b">{t("common.groups")}</div>{groups.map((group) => {@@ -425,13 +425,13 @@ export function AccountMultiSelect({<divkey={group.name}className={cn(- "flex items-center gap-x-3 px-3 py-2 cursor-pointer hover:bg-gray-50",+ "flex items-center gap-x-3 px-3 py-2 cursor-pointer hover:bg-control-bg",selected && "bg-accent/5")}onClick={() => toggle(fullname)}><SelectionCheckbox selected={selected} />- <div className="h-7 w-7 rounded-full bg-gray-200 flex items-center justify-center shrink-0">+ <div className="size-7 rounded-full bg-control-bg-hover flex items-center justify-center shrink-0"><Users className="h-4 w-4 text-control-light" /></div><div className="flex flex-col min-w-0">@@ -470,7 +470,7 @@ export function AccountMultiSelect({{arbitraryEmailMatch && (<divclassName={cn(- "flex items-center gap-x-3 px-3 py-2 cursor-pointer hover:bg-gray-50",+ "flex items-center gap-x-3 px-3 py-2 cursor-pointer hover:bg-control-bg",selectedFullnames.has(`users/${arbitraryEmailMatch}`) &&"bg-accent/5")}@@ -482,7 +482,7 @@ export function AccountMultiSelect({)}/><div- className="h-7 w-7 rounded-full flex items-center justify-center text-white text-xs font-medium shrink-0"+ className="size-7 rounded-full flex items-center justify-center text-accent-text text-xs font-medium shrink-0"style={{backgroundColor: getAvatarColor(arbitraryEmailMatch),}}diff --git a/frontend/src/react/components/AdvancedSearch.tsx b/frontend/src/react/components/AdvancedSearch.tsxindex 9651378733..22f0e9e3c0 100644--- a/frontend/src/react/components/AdvancedSearch.tsx+++ b/frontend/src/react/components/AdvancedSearch.tsx@@ -590,7 +590,7 @@ export function AdvancedSearch({<div ref={containerRef} className="w-full min-w-0 relative">{/* Input container */}<div- className="flex min-w-0 items-center h-9 overflow-hidden border border-gray-300 rounded-xs bg-white transition-colors"+ className="flex min-w-0 items-center h-9 overflow-hidden border border-control-border rounded-xs bg-background transition-colors"onClick={() => inputRef.current?.focus()}><div className="flex min-w-0 max-w-[60%] items-center shrink">@@ -610,7 +610,7 @@ export function AdvancedSearch({data-search-scope-id={scope.id}data-search-scope-index={originalIndex}className={cn(- "inline-flex max-w-[16rem] min-w-0 shrink-0 items-center gap-1 rounded-xs bg-gray-100 px-1.5 py-0.5 text-xs whitespace-nowrap",+ "inline-flex max-w-[16rem] min-w-0 shrink-0 items-center gap-1 rounded-xs bg-control-bg px-1.5 py-0.5 text-xs whitespace-nowrap",focusedTagIndex === originalIndex && "ring-1 ring-accent")}onClick={(e) => {@@ -638,10 +638,16 @@ export function AdvancedSearch({))}</div>{tagFade.showStart && (- <ScrollFade edge="left" className="from-white to-transparent" />+ <ScrollFade+ edge="left"+ className="from-background to-transparent"+ />)}{tagFade.showEnd && (- <ScrollFade edge="right" className="from-white to-transparent" />+ <ScrollFade+ edge="right"+ className="from-background to-transparent"+ />)}</div></div>@@ -674,7 +680,7 @@ export function AdvancedSearch({{/* Dropdown menu */}{showMenu && (<div- className="absolute top-[38px] w-full bg-gray-100 shadow-xl origin-top-left rounded-sm overflow-hidden z-50"+ className="absolute top-[38px] w-full bg-control-bg shadow-xl origin-top-left rounded-sm overflow-hidden z-50"onMouseDown={(e) => e.preventDefault()}>{/* Scope menu */}@@ -690,7 +696,7 @@ export function AdvancedSearch({className={cn("flex gap-x-2 px-3 py-2 cursor-pointer text-sm items-center",index > 0 && "border-t border-block-border",- index === menuIndex && "bg-gray-200/75"+ index === menuIndex && "bg-control-bg-hover/75")}onMouseEnter={() => setMenuIndex(index)}onClick={() => selectScope(option.id)}@@ -707,13 +713,13 @@ export function AdvancedSearch({{scopeMenuFade.showStart && (<ScrollFadeedge="top"- className="from-gray-100 to-transparent"+ className="from-control-bg to-transparent"/>)}{scopeMenuFade.showEnd && (<ScrollFadeedge="bottom"- className="from-gray-100 to-transparent"+ className="from-control-bg to-transparent"/>)}</div>@@ -743,7 +749,7 @@ export function AdvancedSearch({key={option.value}className={cn("h-[38px] flex gap-x-2 px-3 items-center cursor-pointer border-t border-block-border overflow-hidden",- index === menuIndex && "bg-gray-200/75"+ index === menuIndex && "bg-control-bg-hover/75")}onMouseEnter={() => setMenuIndex(index)}onClick={() => selectValue(option.value)}@@ -782,13 +788,13 @@ export function AdvancedSearch({{valueMenuFade.showStart && (<ScrollFadeedge="top"- className="top-[41px] from-gray-100 to-transparent"+ className="top-[41px] from-control-bg to-transparent"/>)}{valueMenuFade.showEnd && (<ScrollFadeedge="bottom"- className="from-gray-100 to-transparent"+ className="from-control-bg to-transparent"/>)}</div>diff --git a/frontend/src/react/components/AuditLogTable.tsx b/frontend/src/react/components/AuditLogTable.tsxindex 1fb5215fef..d04d1337a9 100644--- a/frontend/src/react/components/AuditLogTable.tsx+++ b/frontend/src/react/components/AuditLogTable.tsx@@ -192,17 +192,17 @@ function JSONStringView({ jsonString }: { jsonString: string }) {className="p-0.5 border border-control-border rounded-xs hover:bg-control-bg"onClick={() => setShowModal(true)}>- <Maximize2 className="w-3 h-3" />+ <Maximize2 className="size-3" /></button></div></div>{showModal && (<div- className="fixed inset-0 z-50 flex items-center justify-center bg-black/50"+ className="fixed inset-0 z-50 flex items-center justify-center bg-overlay/50"onClick={() => setShowModal(false)}><div- className="bg-white rounded-sm shadow-lg flex flex-col"+ className="bg-background rounded-sm shadow-lg flex flex-col"style={{width: "calc(100vw - 12rem)",height: "calc(100vh - 12rem)",@@ -217,7 +217,7 @@ function JSONStringView({ jsonString }: { jsonString: string }) {className="p-1 hover:bg-control-bg rounded-full"onClick={() => setShowModal(false)}>- <X className="w-4 h-4" />+ <X className="size-4" /></button></div><div className="flex-1 overflow-auto p-4">@@ -275,11 +275,11 @@ function ExportDropdown({title={tooltip}onClick={() => setOpen(!open)}>- <Download className="w-4 h-4 mr-1" />+ <Download className="size-4 mr-1" />{t("common.export")}</Button>{open && !disabled && (- <div className="absolute right-0 top-[42px] bg-white border border-control-border rounded-sm shadow-lg z-50 py-1 min-w-[100px]">+ <div className="absolute right-0 top-[42px] bg-background border border-control-border rounded-sm shadow-lg z-50 py-1 min-w-[100px]">{formats.map(({ format, label }) => (<buttonkey={label}@@ -442,7 +442,7 @@ function useColumnDefs(): ColumnDef[] {if (!link.startsWith("/")) link = `/${link}`;return (<a href={link} target="_blank" rel="noreferrer">- <ExternalLink className="w-4 h-4 text-accent" />+ <ExternalLink className="size-4 text-accent" /></a>);},@@ -811,7 +811,7 @@ export function AuditLogTable({</div>{col.resizable && (<div- className="absolute right-0 top-1/4 h-1/2 w-[3px] cursor-col-resize rounded-full bg-gray-200 hover:bg-accent/60 active:bg-accent transition-colors"+ className="absolute right-0 top-1/4 h-1/2 w-[3px] cursor-col-resize rounded-full bg-control-bg-hover hover:bg-accent/60 active:bg-accent transition-colors"onMouseDown={(e) => onResizeStart(colIdx, e)}/>)}@@ -844,7 +844,7 @@ export function AuditLogTable({key={log.name || idx}className={cn("border-b border-block-border",- idx % 2 === 1 && "bg-gray-50/50"+ idx % 2 === 1 && "bg-control-bg/50")}>{columns.map((col) => (diff --git a/frontend/src/react/components/CreateWorkloadIdentityDrawer.tsx b/frontend/src/react/components/CreateWorkloadIdentityDrawer.tsxindex aa5f87582f..1e6d9f2cda 100644--- a/frontend/src/react/components/CreateWorkloadIdentityDrawer.tsx+++ b/frontend/src/react/components/CreateWorkloadIdentityDrawer.tsx@@ -342,13 +342,13 @@ export function CreateWorkloadIdentityDrawer({return (<>{/* Backdrop */}- <div className="fixed inset-0 z-40 bg-black/30" onClick={onClose} />+ <div className="fixed inset-0 z-40 bg-overlay/30" onClick={onClose} />{/* Drawer */}<divrole="dialog"aria-modal="true"- className="fixed inset-y-0 right-0 z-50 w-[40rem] max-w-[100vw] bg-white shadow-xl flex flex-col"+ className="fixed inset-y-0 right-0 z-50 w-[40rem] max-w-[100vw] bg-background shadow-xl flex flex-col">{/* Header */}<div className="flex items-center justify-between px-6 py-4 border-b">@@ -356,7 +356,7 @@ export function CreateWorkloadIdentityDrawer({{t("settings.members.workload-identity")}</h2><Button variant="ghost" size="icon" onClick={onClose}>- <X className="h-5 w-5" />+ <X className="size-5" /></Button></div>@@ -416,7 +416,7 @@ export function CreateWorkloadIdentityDrawer({) as WorkloadIdentityConfig_ProviderType)}- className="border border-control-border rounded-xs text-sm px-2 py-2 bg-white"+ className="border border-control-border rounded-xs text-sm px-2 py-2 bg-background">{[WorkloadIdentityConfig_ProviderType.GITHUB,@@ -460,7 +460,7 @@ export function CreateWorkloadIdentityDrawer({maxLength={200}autoComplete="off"/>- <span className="text-xs text-gray-500">+ <span className="text-xs text-control-light">{isGitLab? t("settings.members.workload-identity-project-hint"): t("settings.members.workload-identity-repo-hint")}@@ -478,7 +478,7 @@ export function CreateWorkloadIdentityDrawer({<selectvalue={refType}onChange={(e) => setRefType(e.target.value as RefType)}- className="border border-control-border rounded-xs text-sm px-2 py-2 bg-white"+ className="border border-control-border rounded-xs text-sm px-2 py-2 bg-background"><option value="all">{t("settings.members.workload-identity-all-branches-tags")}@@ -508,7 +508,7 @@ export function CreateWorkloadIdentityDrawer({maxLength={200}autoComplete="off"/>- <span className="text-xs text-gray-500">+ <span className="text-xs text-control-light">{isTagRefType? t("settings.members.workload-identity-tag-hint"): t("settings.members.workload-identity-branch-hint")}@@ -533,7 +533,7 @@ export function CreateWorkloadIdentityDrawer({autoComplete="off"/>{isGitLab && (- <span className="text-xs text-gray-500">+ <span className="text-xs text-control-light">{t("settings.members.workload-identity-gitlab-url-hint")}</span>)}@@ -575,9 +575,9 @@ export function CreateWorkloadIdentityDrawer({>{t("settings.members.workload-identity-advanced")}{showAdvanced ? (- <ChevronUp className="w-4 h-4" />+ <ChevronUp className="size-4" />) : (- <ChevronDown className="w-4 h-4" />+ <ChevronDown className="size-4" />)}</button>diff --git a/frontend/src/react/components/CustomApproval/ApprovalStepsTable.tsx b/frontend/src/react/components/CustomApproval/ApprovalStepsTable.tsxindex a953f7b142..1333d633f1 100644--- a/frontend/src/react/components/CustomApproval/ApprovalStepsTable.tsx+++ b/frontend/src/react/components/CustomApproval/ApprovalStepsTable.tsx@@ -59,7 +59,7 @@ export function ApprovalStepsTable({{roles.map((role, index) => (<trkey={index}- className={index % 2 === 1 ? "bg-control-bg/50" : "bg-white"}+ className={index % 2 === 1 ? "bg-control-bg/50" : "bg-background"}><td className="border border-control-border px-3 py-2 text-center text-control">{index + 1}diff --git a/frontend/src/react/components/DatabaseGroupForm.tsx b/frontend/src/react/components/DatabaseGroupForm.tsxindex 20340a6752..8d731153d8 100644--- a/frontend/src/react/components/DatabaseGroupForm.tsx+++ b/frontend/src/react/components/DatabaseGroupForm.tsx@@ -247,7 +247,7 @@ export function DatabaseGroupForm({{!readonly && (<div className="sticky bottom-0 z-10">- <div className="flex justify-end w-full py-4 border-t border-block-border bg-white gap-x-3">+ <div className="flex justify-end w-full py-4 border-t border-block-border bg-background gap-x-3"><Button variant="outline" onClick={onDismiss}>{t("common.cancel")}</Button>diff --git a/frontend/src/react/components/EditEnvironmentDrawer.tsx b/frontend/src/react/components/EditEnvironmentDrawer.tsxindex 5cf2d4e01d..7d7600e8cc 100644--- a/frontend/src/react/components/EditEnvironmentDrawer.tsx+++ b/frontend/src/react/components/EditEnvironmentDrawer.tsx@@ -36,8 +36,8 @@ export function EditEnvironmentDrawer({return (<div className="fixed inset-0 z-50 flex">- <div className="fixed inset-0 bg-black/50" onClick={onClose} />- <div className="ml-auto relative bg-white w-[24rem] max-w-[100vw] h-full shadow-lg flex flex-col">+ <div className="fixed inset-0 bg-overlay/50" onClick={onClose} />+ <div className="ml-auto relative bg-background w-[24rem] max-w-[100vw] h-full shadow-lg flex flex-col"><div className="flex items-center justify-between px-6 py-4 border-b border-control-border"><h2 className="text-lg font-semibold">{t("database.edit-environment")}@@ -46,7 +46,7 @@ export function EditEnvironmentDrawer({className="p-1 hover:bg-control-bg rounded-xs"onClick={onClose}>- <X className="w-4 h-4" />+ <X className="size-4" /></button></div><div className="flex-1 overflow-y-auto p-6">@@ -58,7 +58,7 @@ export function EditEnvironmentDrawer({"flex items-center gap-x-3 px-3 py-2.5 rounded-sm cursor-pointer border transition-colors",selected === env.name? "border-accent bg-accent/5"- : "border-transparent hover:bg-gray-50"+ : "border-transparent hover:bg-control-bg")}><inputdiff --git a/frontend/src/react/components/ExprEditor.tsx b/frontend/src/react/components/ExprEditor.tsxindex f804522e02..e595e4ccf8 100644--- a/frontend/src/react/components/ExprEditor.tsx+++ b/frontend/src/react/components/ExprEditor.tsx@@ -373,7 +373,7 @@ function SearchableSelect({<buttonref={triggerRef}type="button"- className="h-8 px-2 text-sm rounded-xs border border-control-border bg-white w-full text-left disabled:opacity-50 truncate"+ className="h-8 px-2 text-sm rounded-xs border border-control-border bg-background w-full text-left disabled:opacity-50 truncate"disabled={disabled}onClick={handleOpen}>@@ -386,7 +386,7 @@ function SearchableSelect({anchorRef={triggerRef}dropdownRef={dropdownRef}matchAnchorWidth- className="bg-white border border-control-border rounded-sm shadow-md"+ className="bg-background border border-control-border rounded-sm shadow-md"><div className="p-1 border-b border-control-border"><SearchInput@@ -411,7 +411,7 @@ function SearchableSelect({{options.map((o) => (<likey={o.value}- className={`px-3 py-1 text-sm cursor-pointer hover:bg-gray-100 ${+ className={`px-3 py-1 text-sm cursor-pointer hover:bg-control-bg ${o.value === value ? "font-medium text-accent" : ""}`}onMouseDown={() => handleSelect(o.value)}@@ -551,7 +551,7 @@ function MultiSearchableSelect({<div className="min-w-32 max-w-xs"><divref={triggerRef}- className="min-h-8 px-2 py-0.5 text-sm rounded-xs border border-control-border bg-white flex flex-wrap gap-1 cursor-pointer"+ className="min-h-8 px-2 py-0.5 text-sm rounded-xs border border-control-border bg-background flex flex-wrap gap-1 cursor-pointer"onClick={disabled ? undefined : handleOpen}>{value.length === 0 && (@@ -562,19 +562,19 @@ function MultiSearchableSelect({{value.map((v) => (<spankey={v}- className="inline-flex items-center gap-1 bg-gray-100 text-xs px-1.5 py-0.5 rounded-xs"+ className="inline-flex items-center gap-1 bg-control-bg text-xs px-1.5 py-0.5 rounded-xs">{getLabelForValue(v)}{!disabled && (<buttontype="button"- className="text-gray-400 hover:text-gray-600"+ className="text-control-placeholder hover:text-control-light"onMouseDown={(e) => {e.stopPropagation();removeValue(v);}}>- <X className="w-3 h-3" />+ <X className="size-3" /></button>)}</span>@@ -585,7 +585,7 @@ function MultiSearchableSelect({anchorRef={triggerRef}dropdownRef={dropdownRef}matchAnchorWidth- className="bg-white border border-control-border rounded-sm shadow-md"+ className="bg-background border border-control-border rounded-sm shadow-md"><div className="p-1 border-b border-control-border"><SearchInput@@ -610,7 +610,7 @@ function MultiSearchableSelect({{allOptions.map((o) => (<likey={o.value}- className={`px-3 py-1 text-sm cursor-pointer hover:bg-gray-100 flex items-center gap-2 ${+ className={`px-3 py-1 text-sm cursor-pointer hover:bg-control-bg flex items-center gap-2 ${value.includes(o.value) ? "font-medium" : ""}`}onMouseDown={() => toggleValue(o.value)}@@ -673,20 +673,20 @@ function TagInput({};return (- <div className="flex flex-wrap items-center gap-1 min-h-8 px-2 py-0.5 rounded-xs border border-control-border bg-white min-w-64 max-w-xs">+ <div className="flex flex-wrap items-center gap-1 min-h-8 px-2 py-0.5 rounded-xs border border-control-border bg-background min-w-64 max-w-xs">{value.map((tag) => (<spankey={tag}- className="inline-flex items-center gap-1 bg-gray-100 text-xs px-1.5 py-0.5 rounded-xs"+ className="inline-flex items-center gap-1 bg-control-bg text-xs px-1.5 py-0.5 rounded-xs">{tag}{!disabled && (<buttontype="button"- className="text-gray-400 hover:text-gray-600"+ className="text-control-placeholder hover:text-control-light"onClick={() => removeTag(tag)}>- <X className="w-3 h-3" />+ <X className="size-3" /></button>)}</span>@@ -756,7 +756,7 @@ function MultiCheckSelect({<buttonref={triggerRef}type="button"- className="inline-flex items-center gap-1 min-h-8 w-full px-2 py-0.5 text-sm rounded-xs border border-control-border bg-white text-left hover:bg-control-bg disabled:pointer-events-none disabled:opacity-50 flex-wrap"+ className="inline-flex items-center gap-1 min-h-8 w-full px-2 py-0.5 text-sm rounded-xs border border-control-border bg-background text-left hover:bg-control-bg disabled:pointer-events-none disabled:opacity-50 flex-wrap"disabled={disabled}onClick={() => setOpen(!open)}>@@ -766,7 +766,7 @@ function MultiCheckSelect({{value.map((v) => (<spankey={v}- className="inline-flex items-center gap-1 bg-gray-100 text-xs px-1.5 py-0.5 rounded-xs"+ className="inline-flex items-center gap-1 bg-control-bg text-xs px-1.5 py-0.5 rounded-xs">{renderValue? renderValue(v, getLabelForValue(v))@@ -774,14 +774,14 @@ function MultiCheckSelect({{!disabled && (<spanrole="button"- className="text-gray-400 hover:text-gray-600"+ className="text-control-placeholder hover:text-control-light"onMouseDown={(e) => {e.stopPropagation();e.preventDefault();onChange(value.filter((x) => x !== v));}}>- <X className="w-3 h-3" />+ <X className="size-3" /></span>)}</span>@@ -792,7 +792,7 @@ function MultiCheckSelect({anchorRef={triggerRef}dropdownRef={dropdownRef}matchAnchorWidth- className="bg-white border border-control-border rounded-sm shadow-md py-1"+ className="bg-background border border-control-border rounded-sm shadow-md py-1"><label className="flex items-center gap-2 px-3 py-1.5 text-sm cursor-pointer border-b border-control-border hover:bg-control-bg"><input@@ -1212,14 +1212,14 @@ function ConditionRow({{!readonly && (<buttontype="button"- className="shrink-0 w-7 h-7 flex items-center justify-center rounded-xs text-control-placeholder hover:text-control hover:bg-gray-100"+ className="shrink-0 size-7 flex items-center justify-center rounded-xs text-control-placeholder hover:text-control hover:bg-control-bg"onClick={() =>doUpdate((group) => {group.args.splice(operandIndex, 1);})}>- <Trash2 className="w-3.5 h-3.5" />+ <Trash2 className="size-3.5" /></button>)}</div>@@ -1245,7 +1245,7 @@ function RawStringEditor({return (<div className="w-full flex items-start gap-x-1"><textarea- className="flex-1 min-h-16 max-h-24 px-2 py-1 text-sm rounded-xs border border-control-border bg-white resize-y disabled:opacity-50"+ className="flex-1 min-h-16 max-h-24 px-2 py-1 text-sm rounded-xs border border-control-border bg-background resize-y disabled:opacity-50"placeholder="Enter raw CEL expression"value={expr.content}disabled={readonly}@@ -1261,14 +1261,14 @@ function RawStringEditor({{!readonly && (<buttontype="button"- className="shrink-0 w-7 h-7 flex items-center justify-center rounded-xs text-control-placeholder hover:text-control hover:bg-gray-100"+ className="shrink-0 size-7 flex items-center justify-center rounded-xs text-control-placeholder hover:text-control hover:bg-control-bg"onClick={() =>doUpdate((group) => {group.args.splice(operandIndex, 1);})}>- <Trash2 className="w-3.5 h-3.5" />+ <Trash2 className="size-3.5" /></button>)}</div>@@ -1349,11 +1349,11 @@ function ConditionGroup({return (<divclassName={`w-full flex flex-col gap-y-2 py-0.5 ${- root ? "" : "border rounded-xs bg-gray-50"+ root ? "" : "border rounded-xs bg-control-bg"}`}>{!root && (- <div className="pl-2.5 pr-1 text-gray-500 flex items-center">+ <div className="pl-2.5 pr-1 text-control-light flex items-center"><div className="flex-1">{args.length > 0 ? (<>@@ -1376,14 +1376,14 @@ function ConditionGroup({<div className="flex items-center justify-end"><buttontype="button"- className="w-[22px] h-[22px] flex items-center justify-center rounded-xs hover:bg-gray-100"+ className="size-[22px] flex items-center justify-center rounded-xs hover:bg-control-bg"onClick={() =>parentDoUpdate((group) => {group.args.splice(operandIndex!, 1);})}>- <Trash2 className="w-3.5 h-3.5" />+ <Trash2 className="size-3.5" /></button></div>)}@@ -1391,7 +1391,7 @@ function ConditionGroup({)}{root && args.length === 0 && (- <div className="text-gray-500 text-sm">+ <div className="text-control-light text-sm">{t("cel.condition.add-root-condition-placeholder")}</div>)}@@ -1465,20 +1465,20 @@ function ConditionGroup({<div className="pl-1.5 pb-1 flex gap-x-1"><buttontype="button"- className="inline-flex items-center gap-1 text-sm text-gray-500 px-1.5 py-0.5 rounded-xs hover:bg-gray-100 disabled:opacity-50"+ className="inline-flex items-center gap-1 text-sm text-control-light px-1.5 py-0.5 rounded-xs hover:bg-control-bg disabled:opacity-50"disabled={readonly}onClick={addCondition}>- <Plus className="w-4 h-4" />+ <Plus className="size-4" />{t("cel.condition.add")}</button><buttontype="button"- className="inline-flex items-center gap-1 text-sm text-gray-500 px-1.5 py-0.5 rounded-xs hover:bg-gray-100 disabled:opacity-50"+ className="inline-flex items-center gap-1 text-sm text-control-light px-1.5 py-0.5 rounded-xs hover:bg-control-bg disabled:opacity-50"disabled={readonly}onClick={addRawString}>- <Plus className="w-4 h-4" />+ <Plus className="size-4" />{t("cel.condition.add-raw-expression")}</button></div>@@ -1488,24 +1488,24 @@ function ConditionGroup({<div className="flex gap-x-1"><buttontype="button"- className="inline-flex items-center gap-1 text-sm px-1.5 py-0.5 rounded-xs hover:bg-gray-100 disabled:opacity-50"+ className="inline-flex items-center gap-1 text-sm px-1.5 py-0.5 rounded-xs hover:bg-control-bg disabled:opacity-50"disabled={readonly}onClick={addCondition}>- <Plus className="w-4 h-4" />+ <Plus className="size-4" />{t("cel.condition.add")}</button><buttontype="button"- className="inline-flex items-center gap-1 text-sm px-1.5 py-0.5 rounded-xs hover:bg-gray-100 disabled:opacity-50 group relative"+ className="inline-flex items-center gap-1 text-sm px-1.5 py-0.5 rounded-xs hover:bg-control-bg disabled:opacity-50 group relative"disabled={readonly}onClick={addConditionGroup}>- <Plus className="w-4 h-4" />+ <Plus className="size-4" />{t("cel.condition.add-group")}<span className="relative">- <HelpCircle className="ml-1 w-3 h-3 text-gray-400" />- <span className="absolute bottom-full left-1/2 -translate-x-1/2 mb-1 hidden group-hover:block w-72 p-2 text-xs bg-gray-800 text-white rounded-sm shadow-lg z-50">+ <HelpCircle className="ml-1 size-3 text-control-placeholder" />+ <span className="absolute bottom-full left-1/2 -translate-x-1/2 mb-1 hidden group-hover:block w-72 p-2 text-xs bg-main text-accent-text rounded-sm shadow-lg z-50">{t("cel.condition.group.tooltip")}</span></span>@@ -1513,11 +1513,11 @@ function ConditionGroup({{enableRawExpression && (<buttontype="button"- className="inline-flex items-center gap-1 text-sm px-1.5 py-0.5 rounded-xs hover:bg-gray-100 disabled:opacity-50"+ className="inline-flex items-center gap-1 text-sm px-1.5 py-0.5 rounded-xs hover:bg-control-bg disabled:opacity-50"disabled={readonly}onClick={addRawString}>- <Plus className="w-4 h-4" />+ <Plus className="size-4" />{t("cel.condition.add-raw-expression")}</button>)}diff --git a/frontend/src/react/components/IssueTable.tsx b/frontend/src/react/components/IssueTable.tsxindex c6d26249ab..c56dee6f16 100644--- a/frontend/src/react/components/IssueTable.tsx+++ b/frontend/src/react/components/IssueTable.tsx@@ -140,11 +140,11 @@ function IssueSortDropdown({)}onClick={() => setOpen(!open)}>- <ArrowUpDown className="w-4 h-4" />+ <ArrowUpDown className="size-4" /><span className="hidden md:inline ml-1">{t("issue.sort.sort")}</span></Button>{open && (- <div className="absolute right-0 top-full mt-1 z-50 bg-white border border-gray-200 rounded-sm shadow-lg min-w-[180px] py-1">+ <div className="absolute right-0 top-full mt-1 z-50 bg-background border border-block-border rounded-sm shadow-lg min-w-[180px] py-1">{sortOptions.map((group) => (<div key={group.label}><div className="px-3 py-1.5 text-xs text-control-light font-medium">@@ -154,12 +154,12 @@ function IssueSortDropdown({<buttonkey={opt.key}type="button"- className="w-full text-left px-3 py-1.5 text-sm hover:bg-gray-50 flex items-center gap-x-2"+ className="w-full text-left px-3 py-1.5 text-sm hover:bg-control-bg flex items-center gap-x-2"onClick={() => handleSelect(opt.key)}><CheckclassName={cn(- "w-3 h-3",+ "size-3",orderBy === opt.key ? "text-accent" : "text-transparent")}/>@@ -502,7 +502,7 @@ export function useIssueSearchScopeOptions(render: () => (<div className="flex items-center gap-x-2"><div- className="w-4 h-4 rounded-sm"+ className="size-4 rounded-sm"style={{ backgroundColor: label.color }}/>{label.value}@@ -633,7 +633,7 @@ export function IssueListItem({return (<div- className="flex items-start gap-x-2 px-3 sm:px-4 py-3 cursor-pointer border-b border-gray-100 hover:bg-gray-50"+ className="flex items-start gap-x-2 px-3 sm:px-4 py-3 cursor-pointer border-b border-control-bg hover:bg-control-bg"onClick={onRowClick}><input@@ -663,7 +663,7 @@ export function IssueListItem({) : (<ahref={issueUrl}- className="font-medium text-base truncate hover:underline italic text-gray-400"+ className="font-medium text-base truncate hover:underline italic text-control-placeholder"onClick={(e) => e.stopPropagation()}>{t("common.untitled")}@@ -676,7 +676,7 @@ export function IssueListItem({className="inline-flex items-center gap-x-1 px-1.5 py-0.5 rounded-xs text-xs whitespace-nowrap border shrink-0"><span- className="w-2.5 h-2.5 rounded-sm shrink-0"+ className="size-2.5 rounded-sm shrink-0"style={{ backgroundColor: label.color }}/>{label.value}@@ -749,14 +749,14 @@ export function IssueStatusIcon({ status }: { status: IssueStatus }) {switch (status) {case IssueStatus.OPEN:return (- <span className="flex items-center justify-center rounded-full w-5 h-5 bg-white border-2 border-info text-info shrink-0">+ <span className="flex items-center justify-center rounded-full size-5 bg-background border-2 border-info text-info shrink-0"><span className="h-1.5 w-1.5 bg-info rounded-full" /></span>);case IssueStatus.DONE:return (- <span className="flex items-center justify-center rounded-full w-5 h-5 bg-success text-white shrink-0">- <svg className="w-4 h-4" fill="currentColor" viewBox="0 0 20 20">+ <span className="flex items-center justify-center rounded-full size-5 bg-success text-accent-text shrink-0">+ <svg className="size-4" fill="currentColor" viewBox="0 0 20 20"><pathfillRule="evenodd"d="M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z"@@ -767,8 +767,8 @@ export function IssueStatusIcon({ status }: { status: IssueStatus }) {);case IssueStatus.CANCELED:return (- <span className="flex items-center justify-center rounded-full w-5 h-5 bg-white border-2 text-gray-400 border-gray-400 shrink-0">- <svg className="w-5 h-5" fill="currentColor" viewBox="0 0 20 20">+ <span className="flex items-center justify-center rounded-full size-5 bg-background border-2 text-control-placeholder border-control-placeholder shrink-0">+ <svg className="size-5" fill="currentColor" viewBox="0 0 20 20"><pathfillRule="evenodd"d="M3 10a1 1 0 011-1h12a1 1 0 110 2H4a1 1 0 01-1-1z"@@ -803,7 +803,7 @@ function RiskLevelIcon({ riskLevel }: { riskLevel: RiskLevel }) {return (<Tooltip content={`${label} (${t("issue.risk-level.self")})`}><svg- className={`w-4 h-4 shrink-0 ${color}`}+ className={`size-4 shrink-0 ${color}`}fill="none"viewBox="0 0 24 24"stroke="currentColor"@@ -829,7 +829,7 @@ function IssueApprovalStatusTag({ issue }: { issue: Issue }) {if (issue.approvalStatus === Issue_ApprovalStatus.CHECKING) {return (- <span className="shrink-0 mt-1 inline-flex items-center rounded-full bg-gray-100 px-2 py-0.5 text-xs text-gray-600">+ <span className="shrink-0 mt-1 inline-flex items-center rounded-full bg-control-bg px-2 py-0.5 text-xs text-control-light">{t("custom-approval.issue-review.generating-approval-flow")}</span>);@@ -872,7 +872,7 @@ function IssueApprovalStatusTag({ issue }: { issue: Issue }) {const roleName = role ? displayRoleTitle(role) : "";return (<div className="shrink-0 flex flex-row sm:flex-col items-center sm:items-end gap-x-1.5 sm:gap-x-0 mt-1">- <span className="inline-flex items-center rounded-full bg-gray-100 px-2 py-0.5 text-xs text-gray-600">+ <span className="inline-flex items-center rounded-full bg-control-bg px-2 py-0.5 text-xs text-control-light">{progressText}</span>{roleName && (@@ -886,7 +886,7 @@ function IssueApprovalStatusTag({ issue }: { issue: Issue }) {}return (- <span className="shrink-0 mt-1 inline-flex items-center rounded-full bg-gray-50 px-2 py-0.5 text-xs text-gray-500">+ <span className="shrink-0 mt-1 inline-flex items-center rounded-full bg-control-bg px-2 py-0.5 text-xs text-control-light">{t("custom-approval.approval-flow.skip")}</span>);@@ -921,7 +921,7 @@ export function BatchActionBar({!statuses.has(IssueStatus.OPEN) && !statuses.has(IssueStatus.DONE);return (- <div className="sticky bottom-0 w-full bg-white flex items-center gap-x-2 px-3 sm:px-4 py-2 border-y">+ <div className="sticky bottom-0 w-full bg-background flex items-center gap-x-2 px-3 sm:px-4 py-2 border-y"><inputtype="checkbox"checked={allSelected}@@ -1034,15 +1034,15 @@ export function BatchIssueStatusActionDrawer({return (<div className="fixed inset-0 z-50 flex">- <div className="fixed inset-0 bg-black/50" onClick={onClose} />- <div className="ml-auto relative bg-white w-[calc(100vw-8rem)] lg:w-160 max-w-[calc(100vw-8rem)] h-full shadow-lg flex flex-col">+ <div className="fixed inset-0 bg-overlay/50" onClick={onClose} />+ <div className="ml-auto relative bg-background w-[calc(100vw-8rem)] lg:w-160 max-w-[calc(100vw-8rem)] h-full shadow-lg flex flex-col"><div className="px-6 py-4 border-b border-control-border flex items-center justify-between"><span className="text-lg font-semibold">{title}</span><buttonclassName="p-1 hover:bg-control-bg rounded-xs"onClick={onClose}>- <X className="w-4 h-4" />+ <X className="size-4" /></button></div>@@ -1079,7 +1079,7 @@ export function BatchIssueStatusActionDrawer({{t("common.cancel")}</Button><Button disabled={loading} onClick={handleConfirm}>- {loading && <Loader2 className="w-4 h-4 mr-1 animate-spin" />}+ {loading && <Loader2 className="size-4 mr-1 animate-spin" />}{t("common.confirm")}</Button></div>diff --git a/frontend/src/react/components/MatchedDatabaseView.tsx b/frontend/src/react/components/MatchedDatabaseView.tsxindex 05ee4ed01e..81a3f1433d 100644--- a/frontend/src/react/components/MatchedDatabaseView.tsx+++ b/frontend/src/react/components/MatchedDatabaseView.tsx@@ -255,7 +255,7 @@ export function MatchedDatabaseView({</span>{loading && (<svg- className="animate-spin h-5 w-5 opacity-60"+ className="animate-spin size-5 opacity-60"xmlns="http://www.w3.org/2000/svg"fill="none"viewBox="0 0 24 24"@@ -278,7 +278,7 @@ export function MatchedDatabaseView({</div>{matchingError && (- <p className="my-2 text-sm border border-red-600 px-2 py-1 rounded-sm bg-red-50 text-red-600">+ <p className="my-2 text-sm border border-error px-2 py-1 rounded-sm bg-error/10 text-error">{matchingError}</p>)}@@ -294,17 +294,17 @@ export function MatchedDatabaseView({type="button"className={`w-full flex items-center justify-between py-2 px-1 text-left text-sm ${isEmpty- ? "cursor-default text-gray-400"- : "cursor-pointer hover:bg-gray-50"+ ? "cursor-default text-control-placeholder"+ : "cursor-pointer hover:bg-control-bg"}`}disabled={isEmpty}onClick={() => toggleSection(section.name)}><div className="flex items-center gap-x-1"><svg- className={`h-4 w-4 transition-transform ${+ className={`size-4 transition-transform ${isExpanded ? "rotate-90" : ""- } ${isEmpty ? "text-gray-300" : ""}`}+ } ${isEmpty ? "text-control-border" : ""}`}fill="none"viewBox="0 0 24 24"stroke="currentColor"@@ -319,7 +319,9 @@ export function MatchedDatabaseView({<span>{section.title}</span></div>{section.showTotal && (- <span className="text-gray-500 text-xs">{section.total}</span>+ <span className="text-control-light text-xs">+ {section.total}+ </span>)}</button>@@ -339,7 +341,7 @@ export function MatchedDatabaseView({<span className="truncate">{dbName}</span><div className="flex-1 flex flex-row justify-end items-center shrink-0"><span className="text-sm">{instance.title}</span>- <span className="ml-1 text-sm text-gray-400 max-w-31 truncate">+ <span className="ml-1 text-sm text-control-placeholder max-w-31 truncate">{env.title}</span></div>@@ -350,7 +352,7 @@ export function MatchedDatabaseView({{section.hasMore && (<buttontype="button"- className="self-start px-2 py-1 text-sm text-blue-600 hover:text-blue-800 disabled:opacity-50"+ className="self-start px-2 py-1 text-sm text-accent hover:text-accent/80 disabled:opacity-50"disabled={section.sectionLoading}onClick={section.onLoadMore}>diff --git a/frontend/src/react/components/TimeRangePicker.tsx b/frontend/src/react/components/TimeRangePicker.tsxindex 137bab8862..e8097c1335 100644--- a/frontend/src/react/components/TimeRangePicker.tsx+++ b/frontend/src/react/components/TimeRangePicker.tsx@@ -99,16 +99,16 @@ export function TimeRangePicker({{displayFrom && displayTo ? (<><span>{displayFrom}</span>- <ArrowRight className="w-3.5 h-3.5 text-control-light shrink-0" />+ <ArrowRight className="size-3.5 text-control-light shrink-0" /><span>{displayTo}</span></>) : (<span className="text-control-placeholder">{t("common.select")}</span>)}- <Calendar className="w-4 h-4 text-control-light ml-1 shrink-0" />+ <Calendar className="size-4 text-control-light ml-1 shrink-0" /></button>{showPicker && (- <div className="absolute right-0 top-[42px] bg-white border border-control-border rounded-sm shadow-lg z-50 p-3 flex flex-col gap-y-2 min-w-[300px]">+ <div className="absolute right-0 top-[42px] bg-background border border-control-border rounded-sm shadow-lg z-50 p-3 flex flex-col gap-y-2 min-w-[300px]"><div className="flex items-center gap-x-2"><label className="text-sm text-control-light whitespace-nowrap w-10">{t("common.from")}diff --git a/frontend/src/react/components/WorkspaceSwitcher.tsx b/frontend/src/react/components/WorkspaceSwitcher.tsxindex 0e3ec70730..4c86b0a0a5 100644--- a/frontend/src/react/components/WorkspaceSwitcher.tsx+++ b/frontend/src/react/components/WorkspaceSwitcher.tsx@@ -34,25 +34,25 @@ export function WorkspaceSwitcher() {<div ref={containerRef} className="relative px-2.5 pb-2"><buttontype="button"- className="w-full flex items-center gap-x-2 px-2 py-1.5 rounded-xs text-sm font-medium text-gray-700 hover:bg-gray-100 cursor-pointer"+ className="w-full flex items-center gap-x-2 px-2 py-1.5 rounded-xs text-sm font-medium text-control hover:bg-control-bg cursor-pointer"onClick={() => setOpen(!open)}>- <Building2 className="w-4 h-4 text-gray-500 shrink-0" />+ <Building2 className="size-4 text-control-light shrink-0" /><span className="truncate flex-1 text-left">{currentWorkspace?.title}</span>- <ChevronsUpDown className="w-3.5 h-3.5 text-gray-400 shrink-0" />+ <ChevronsUpDown className="size-3.5 text-control-placeholder shrink-0" /></button>{open && (- <div className="absolute left-2.5 right-2.5 z-10 mt-1 bg-white border border-gray-200 rounded-sm shadow-lg py-1">+ <div className="absolute left-2.5 right-2.5 z-10 mt-1 bg-background border border-block-border rounded-sm shadow-lg py-1">{workspaceList.map((ws) => (<buttonkey={ws.name}type="button"- className={`w-full text-left px-3 py-1.5 text-sm hover:bg-gray-100 cursor-pointer ${+ className={`w-full text-left px-3 py-1.5 text-sm hover:bg-control-bg cursor-pointer ${ws.name === currentWorkspaceName? "font-medium text-accent"- : "text-gray-700"+ : "text-control"}`}onClick={() => onSwitch(ws.name)}>diff --git a/frontend/src/react/components/database/CreateDatabaseDrawer.tsx b/frontend/src/react/components/database/CreateDatabaseDrawer.tsxindex ec9cbcff35..b35da153c8 100644--- a/frontend/src/react/components/database/CreateDatabaseDrawer.tsx+++ b/frontend/src/react/components/database/CreateDatabaseDrawer.tsx@@ -79,7 +79,7 @@ function IssueLabelSelect({<buttontype="button"className={cn(- "w-full flex items-center justify-between gap-2 border border-gray-300 rounded-xs h-9 px-3 text-sm bg-white text-left transition-colors",+ "w-full flex items-center justify-between gap-2 border border-control-border rounded-xs h-9 px-3 text-sm bg-background text-left transition-colors","hover:border-gray-400",open && "border-accent shadow-[0_0_0_1px_var(--color-accent)]")}@@ -92,15 +92,15 @@ function IssueLabelSelect({return (<spankey={val}- className="inline-flex items-center gap-1 px-1.5 py-0.5 rounded-xs bg-gray-100 text-xs"+ className="inline-flex items-center gap-1 px-1.5 py-0.5 rounded-xs bg-control-bg text-xs"><span- className="w-2.5 h-2.5 rounded-sm shrink-0"+ className="size-2.5 rounded-sm shrink-0"style={{ backgroundColor: label?.color }}/>{val}<X- className="w-3 h-3 text-gray-400 hover:text-gray-600"+ className="size-3 text-control-placeholder hover:text-control-light"onClick={(e) => {e.stopPropagation();toggleLabel(val);@@ -111,20 +111,22 @@ function IssueLabelSelect({})}</div>) : (- <span className="text-gray-400">{t("common.select")}</span>+ <span className="text-control-placeholder">+ {t("common.select")}+ </span>)}<ChevronDownclassName={cn(- "w-4 h-4 text-gray-400 shrink-0 transition-transform",+ "size-4 text-control-placeholder shrink-0 transition-transform",open && "rotate-180")}/></button>{open && (- <div className="absolute z-50 mt-1 w-full bg-white border border-gray-200 rounded-sm shadow-lg overflow-hidden">+ <div className="absolute z-50 mt-1 w-full bg-background border border-block-border rounded-sm shadow-lg overflow-hidden"><div className="max-h-60 overflow-y-auto">{labels.length === 0 ? (- <div className="px-3 py-6 text-sm text-gray-400 text-center">+ <div className="px-3 py-6 text-sm text-control-placeholder text-center">{t("common.no-data")}</div>) : (@@ -134,17 +136,17 @@ function IssueLabelSelect({<buttonkey={label.value}type="button"- className="w-full text-left px-3 py-2 text-sm flex items-center gap-2 hover:bg-gray-50 transition-colors"+ className="w-full text-left px-3 py-2 text-sm flex items-center gap-2 hover:bg-control-bg transition-colors"onClick={() => toggleLabel(label.value)}><inputtype="checkbox"checked={isSelected}readOnly- className="rounded-xs border-gray-300 accent-accent"+ className="rounded-xs border-control-border accent-accent"/><span- className="w-4 h-4 rounded-sm shrink-0"+ className="size-4 rounded-sm shrink-0"style={{ backgroundColor: label.color }}/><span>{label.value}</span>@@ -371,8 +373,8 @@ export function CreateDatabaseDrawer({return (<div className="fixed inset-0 z-50 flex">- <div className="fixed inset-0 bg-black/50" onClick={onClose} />- <div className="ml-auto relative bg-white w-[40rem] max-w-[100vw] h-full shadow-lg flex flex-col">+ <div className="fixed inset-0 bg-overlay/50" onClick={onClose} />+ <div className="ml-auto relative bg-background w-[40rem] max-w-[100vw] h-full shadow-lg flex flex-col"><div className="flex items-center justify-between px-6 py-4 border-b border-control-border"><h2 className="text-lg font-semibold">{t("quick-action.create-db")}@@ -381,7 +383,7 @@ export function CreateDatabaseDrawer({className="p-1 hover:bg-control-bg rounded-xs"onClick={onClose}>- <X className="w-4 h-4" />+ <X className="size-4" /></button></div>@@ -551,8 +553,8 @@ export function CreateDatabaseDrawer({</div>{creating && (- <div className="absolute inset-0 bg-white/60 flex items-center justify-center z-10">- <div className="animate-spin h-6 w-6 border-2 border-accent border-t-transparent rounded-full" />+ <div className="absolute inset-0 bg-background/60 flex items-center justify-center z-10">+ <div className="animate-spin size-6 border-2 border-accent border-t-transparent rounded-full" /></div>)}</div>diff --git a/frontend/src/react/components/database/LabelEditorDrawer.tsx b/frontend/src/react/components/database/LabelEditorDrawer.tsxindex 936de7ca7c..58d8d92ce8 100644--- a/frontend/src/react/components/database/LabelEditorDrawer.tsx+++ b/frontend/src/react/components/database/LabelEditorDrawer.tsx@@ -72,15 +72,15 @@ export function LabelEditorDrawer({return (<div className="fixed inset-0 z-50 flex">- <div className="fixed inset-0 bg-black/50" onClick={onClose} />- <div className="ml-auto relative bg-white w-[28rem] max-w-[100vw] h-full shadow-lg flex flex-col">+ <div className="fixed inset-0 bg-overlay/50" onClick={onClose} />+ <div className="ml-auto relative bg-background w-[28rem] max-w-[100vw] h-full shadow-lg flex flex-col"><div className="flex items-center justify-between px-6 py-4 border-b border-control-border"><h2 className="text-lg font-semibold">{t("database.edit-labels")}</h2><buttonclassName="p-1 hover:bg-control-bg rounded-xs"onClick={onClose}>- <X className="w-4 h-4" />+ <X className="size-4" /></button></div><div className="flex-1 overflow-y-auto p-6">@@ -107,7 +107,7 @@ export function LabelEditorDrawer({}}/><Button size="sm" onClick={addLabelToAll} disabled={!newKey.trim()}>- <Plus className="h-4 w-4" />+ <Plus className="size-4" /></Button></div>{allKeys.length > 0 ? (@@ -117,7 +117,7 @@ export function LabelEditorDrawer({return (<divkey={key}- className="flex items-center justify-between rounded-xs bg-gray-50 px-3 py-2"+ className="flex items-center justify-between rounded-xs bg-control-bg px-3 py-2"><span className="text-sm">{key}:@@ -130,10 +130,10 @@ export function LabelEditorDrawer({)}</span><button- className="p-0.5 hover:bg-gray-200 rounded-xs"+ className="p-0.5 hover:bg-control-bg-hover rounded-xs"onClick={() => removeLabel(key)}>- <X className="w-3 h-3" />+ <X className="size-3" /></button></div>);diff --git a/frontend/src/react/components/database/TransferProjectDrawer.tsx b/frontend/src/react/components/database/TransferProjectDrawer.tsxindex 49c899d408..d126980f2f 100644--- a/frontend/src/react/components/database/TransferProjectDrawer.tsx+++ b/frontend/src/react/components/database/TransferProjectDrawer.tsx@@ -84,8 +84,8 @@ export function TransferProjectDrawer({return (<div className="fixed inset-0 z-50 flex">- <div className="fixed inset-0 bg-black/50" onClick={onClose} />- <div className="ml-auto relative bg-white w-[36rem] max-w-[100vw] h-full shadow-lg flex flex-col">+ <div className="fixed inset-0 bg-overlay/50" onClick={onClose} />+ <div className="ml-auto relative bg-background w-[36rem] max-w-[100vw] h-full shadow-lg flex flex-col"><div className="flex items-center justify-between px-6 py-4 border-b border-control-border"><h2 className="text-lg font-semibold">{t("database.transfer-project")}@@ -94,7 +94,7 @@ export function TransferProjectDrawer({className="p-1 hover:bg-control-bg rounded-xs"onClick={onClose}>- <X className="w-4 h-4" />+ <X className="size-4" /></button></div><div className="flex-1 overflow-y-auto p-6 flex flex-col gap-y-4">@@ -109,7 +109,7 @@ export function TransferProjectDrawer({className="px-3 py-2 text-sm border-b last:border-b-0 flex items-center gap-x-2"><img- className="h-4 w-4"+ className="size-4"src={EngineIconPath[getInstanceResource(db).engine]}alt=""/>@@ -168,7 +168,7 @@ export function TransferProjectDrawer({"flex items-center gap-x-3 px-3 py-2.5 cursor-pointer border-b last:border-b-0 transition-colors",selectedProject === project.name? "bg-accent/5"- : "hover:bg-gray-50"+ : "hover:bg-control-bg")}><inputdiff --git a/frontend/src/react/components/instance/DataSourceForm.tsx b/frontend/src/react/components/instance/DataSourceForm.tsxindex 627f764c79..57f999d12c 100644--- a/frontend/src/react/components/instance/DataSourceForm.tsx+++ b/frontend/src/react/components/instance/DataSourceForm.tsx@@ -510,7 +510,7 @@ export function DataSourceForm({<><div className="sm:col-span-3 sm:col-start-1"><label className="textlabel block">- Principal <span className="text-red-600">*</span>+ Principal <span className="text-error">*</span></label><div className="mt-2 flex items-center gap-x-2"><Input@@ -570,7 +570,7 @@ export function DataSourceForm({</div><div className="sm:col-span-3 sm:col-start-1"><label className="textlabel block">- KDC <span className="text-red-600">*</span>+ KDC <span className="text-error">*</span></label><div className="flex items-center gap-x-2"><div className="w-fit textlabel flex gap-x-3">@@ -646,7 +646,7 @@ export function DataSourceForm({</div><div className="sm:col-span-3 sm:col-start-1"><label className="textlabel block">- Keytab File <span className="text-red-600">*</span>+ Keytab File <span className="text-error">*</span></label><div className="mt-3 border-2 border-dashed rounded-lg p-6 text-center"><input@@ -681,7 +681,7 @@ export function DataSourceForm({className="inline-flex items-center gap-x-0.5 text-accent text-xs"onClick={() => onOpenInfoPanel("authentication")}>- <Info className="w-3.5 h-3.5" />+ <Info className="size-3.5" /></button>)}</label>@@ -713,7 +713,7 @@ export function DataSourceForm({<div className="sm:col-span-3 sm:col-start-1"><label className="textlabel block">{t("instance.database-region")}{" "}- <span className="text-red-600">*</span>+ <span className="text-error">*</span></label><Inputvalue={dataSource.region ?? ""}@@ -857,7 +857,7 @@ export function DataSourceForm({{t("instance.external-secret-vault.vault-url")}{" "}- <span className="text-red-600">*</span>+ <span className="text-error">*</span></label><Inputvalue={dataSource.externalSecret.url ?? ""}@@ -928,7 +928,7 @@ export function DataSourceForm({{t("instance.external-secret-vault.vault-auth-type.token.self")}{" "}- <span className="text-red-600">*</span>+ <span className="text-error">*</span></label><Inputvalue={@@ -964,7 +964,7 @@ export function DataSourceForm({{t("instance.external-secret-vault.vault-auth-type.approle.role-id")}{" "}- <span className="text-red-600">*</span>+ <span className="text-error">*</span></label><Inputvalue={@@ -1001,7 +1001,7 @@ export function DataSourceForm({{t("instance.external-secret-vault.vault-auth-type.approle.secret-id")}{" "}- <span className="text-red-600">*</span>+ <span className="text-error">*</span></label><div className="textlabel my-1 flex gap-x-4"><label className="flex items-center gap-x-1.5 cursor-pointer">@@ -1161,7 +1161,7 @@ export function DataSourceForm({{t("instance.external-secret-vault.vault-secret-engine-name")}{" "}- <span className="text-red-600">*</span>+ <span className="text-error">*</span></label><div className="flex gap-x-2 text-sm textinfolabel">{t(@@ -1197,7 +1197,7 @@ export function DataSourceForm({<div><label className="textlabel block">{t("instance.external-secret-azure.vault-url")}{" "}- <span className="text-red-600">*</span>+ <span className="text-error">*</span></label><div className="flex gap-x-2 text-sm textinfolabel">{t(@@ -1228,7 +1228,7 @@ export function DataSourceForm({<div><label className="textlabel block">{secretNameLabel}{" "}- <span className="text-red-600">*</span>+ <span className="text-error">*</span></label>{passwordType ===DataSourceExternalSecret_SecretType.GCP_SECRET_MANAGER && (@@ -1271,7 +1271,7 @@ export function DataSourceForm({<div><label className="textlabel block">{secretKeyLabel}{" "}- <span className="text-red-600">*</span>+ <span className="text-error">*</span></label><Inputvalue={@@ -1303,8 +1303,7 @@ export function DataSourceForm({<><div className="mt-2"><label className="textlabel">- Master Name{" "}- <span className="text-red-600">*</span>+ Master Name <span className="text-error">*</span></label><Inputvalue={dataSource.masterName ?? ""}@@ -1483,7 +1482,7 @@ export function DataSourceForm({<><div><div className="textlabel mt-2">- Warehouse ID <span className="text-red-600">*</span>+ Warehouse ID <span className="text-error">*</span></div><Inputvalue={dataSource.warehouseId ?? ""}@@ -1494,7 +1493,7 @@ export function DataSourceForm({</div><div><div className="textlabel mt-2">- Token <span className="text-red-600">*</span>+ Token <span className="text-error">*</span></div><Inputvalue={dataSource.authenticationPrivateKey ?? ""}@@ -1594,12 +1593,12 @@ export function DataSourceForm({<buttontype="button"className={`relative inline-flex h-5 w-9 items-center rounded-full transition-colors ${- dataSource.useSsl ? "bg-accent" : "bg-gray-200"+ dataSource.useSsl ? "bg-accent" : "bg-control-bg-hover"}`}onClick={() => handleUseSslChanged(!dataSource.useSsl)}><span- className={`inline-block h-3.5 w-3.5 transform rounded-full bg-white transition-transform ${+ className={`inline-block size-3.5 transform rounded-full bg-background transition-transform ${dataSource.useSsl ? "translate-x-4.5" : "translate-x-0.5"}`}/>@@ -1610,7 +1609,7 @@ export function DataSourceForm({className="inline-flex items-center gap-x-0.5 text-accent text-xs"onClick={() => onOpenInfoPanel("ssl")}>- <Info className="w-3.5 h-3.5" />+ <Info className="size-3.5" /></button>)}</div>@@ -1665,7 +1664,7 @@ export function DataSourceForm({className="inline-flex items-center gap-x-0.5 text-accent text-xs"onClick={() => onOpenInfoPanel("ssh")}>- <Info className="w-3.5 h-3.5" />+ <Info className="size-3.5" /></button>)}</div>@@ -1691,7 +1690,7 @@ export function DataSourceForm({</div>{allowEdit && (- <div className="flex mt-2 mb-2 gap-x-2 bg-gray-50 p-3 rounded-sm">+ <div className="flex mt-2 mb-2 gap-x-2 bg-control-bg p-3 rounded-sm"><Inputvalue={newParamKey}className="w-full"diff --git a/frontend/src/react/components/instance/InfoPanel.tsx b/frontend/src/react/components/instance/InfoPanel.tsxindex fd5397e171..e8f5b8a41d 100644--- a/frontend/src/react/components/instance/InfoPanel.tsx+++ b/frontend/src/react/components/instance/InfoPanel.tsx@@ -54,7 +54,7 @@ export function InfoPanel({onTransitionEnd={handleTransitionEnd}><div- className={`w-[500px] bg-white border-l border-block-border shadow-lg flex flex-col h-full transition-transform duration-200 ${+ className={`w-[500px] bg-background border-l border-block-border shadow-lg flex flex-col h-full transition-transform duration-200 ${visible ? "translate-x-0" : "translate-x-full"}`}>@@ -70,7 +70,7 @@ export function InfoPanel({return (<asidedata-info-panel-docked="true"- className={`h-full w-full min-w-0 overflow-hidden border-l border-block-border bg-white transition-all duration-150 ${+ className={`h-full w-full min-w-0 overflow-hidden border-l border-block-border bg-background transition-all duration-150 ${visible ? "opacity-100" : "opacity-0 translate-x-3"}`}onTransitionEnd={handleTransitionEnd}@@ -94,7 +94,7 @@ function PanelHeader({}) {return (<div- className={`sticky top-0 z-10 flex items-center justify-between border-b border-block-border bg-white ${className ?? ""}`}+ className={`sticky top-0 z-10 flex items-center justify-between border-b border-block-border bg-background ${className ?? ""}`}><h3 className="min-w-0 truncate text-sm font-semibold text-main">{title}@@ -103,7 +103,7 @@ function PanelHeader({className="text-control-light hover:text-main p-0.5 rounded-xs"onClick={onClose}>- <X className="w-4 h-4" />+ <X className="size-4" /></button></div>);@@ -132,10 +132,10 @@ export function InfoPanelContent({ engine, section }: InfoPanelContentProps) {{snippet.codeBlock && (<div className="flex flex-col gap-y-1"><div className="flex flex-row">- <pre className="flex-1 min-w-0 w-full px-3 py-2 border border-control-border bg-gray-50 whitespace-pre-line rounded-l-[3px] overflow-x-auto text-[12px]">+ <pre className="flex-1 min-w-0 w-full px-3 py-2 border border-control-border bg-control-bg whitespace-pre-line rounded-l-[3px] overflow-x-auto text-[12px]"><code>{snippet.codeBlock.code}</code></pre>- <div className="flex items-center -ml-px px-2 py-2 border border-gray-300 text-sm font-medium text-control-light bg-gray-50 hover:bg-gray-100 rounded-r-[3px]">+ <div className="flex items-center -ml-px px-2 py-2 border border-control-border text-sm font-medium text-control-light bg-control-bg hover:bg-control-bg-hover rounded-r-[3px]"><CopyButton content={snippet.codeBlock.code} /></div></div>@@ -181,9 +181,9 @@ function CopyButton({ content }: { content: string }) {onClick={handleCopy}>{copied ? (- <Check className="w-4 h-4 text-success" />+ <Check className="size-4 text-success" />) : (- <Copy className="w-4 h-4" />+ <Copy className="size-4" />)}</button>);diff --git a/frontend/src/react/components/instance/InstanceActionDropdown.tsx b/frontend/src/react/components/instance/InstanceActionDropdown.tsxindex d64965967b..40c7f00dd4 100644--- a/frontend/src/react/components/instance/InstanceActionDropdown.tsx+++ b/frontend/src/react/components/instance/InstanceActionDropdown.tsx@@ -118,21 +118,21 @@ export function InstanceActionDropdown({<Buttonvariant="ghost"size="icon"- className="h-8 w-8"+ className="size-8"onClick={() => setOpen(!open)}>- <EllipsisVertical className="w-4 h-4" />+ <EllipsisVertical className="size-4" /></Button>{open && (<><div className="fixed inset-0 z-40" onClick={() => setOpen(false)} />- <div className="absolute right-0 top-full mt-1 z-50 min-w-[120px] rounded-sm border bg-white shadow-md py-1">+ <div className="absolute right-0 top-full mt-1 z-50 min-w-[120px] rounded-sm border bg-background shadow-md py-1">{options.map((opt) => (<buttonkey={opt.key}type="button"- className={`w-full text-left px-3 py-1.5 text-sm hover:bg-gray-100 ${- opt.key === "delete" ? "text-red-600" : ""+ className={`w-full text-left px-3 py-1.5 text-sm hover:bg-control-bg ${+ opt.key === "delete" ? "text-error" : ""}`}onClick={() => {setOpen(false);diff --git a/frontend/src/react/components/instance/InstanceFormBody.tsx b/frontend/src/react/components/instance/InstanceFormBody.tsxindex a4d8c20623..96316177ed 100644--- a/frontend/src/react/components/instance/InstanceFormBody.tsx+++ b/frontend/src/react/components/instance/InstanceFormBody.tsx@@ -153,7 +153,7 @@ function SpannerHostInput({className="normal-link inline-flex items-center">{t("common.detailed-guide")}- <ExternalLink className="w-4 h-4 ml-1" />+ <ExternalLink className="size-4 ml-1" /></a></p></div>@@ -215,7 +215,7 @@ function BigQueryHostInput({className="normal-link inline-flex items-center">{t("common.detailed-guide")}- <ExternalLink className="w-4 h-4 ml-1" />+ <ExternalLink className="size-4 ml-1" /></a></p></div>@@ -242,20 +242,16 @@ function InstanceEngineRadioGrid({className={`flex items-center gap-x-2 rounded-sm border px-3 py-2 text-sm text-left transition-colors ${eng === engine? "border-accent bg-accent/5 ring-1 ring-accent"- : "border-control-border hover:border-accent/50 hover:bg-gray-50"+ : "border-control-border hover:border-accent/50 hover:bg-control-bg"}`}onClick={() => onEngineChange(eng)}>{EngineIconPath[eng] && (- <img- src={EngineIconPath[eng]}- alt=""- className="w-5 h-5 shrink-0"- />+ <img src={EngineIconPath[eng]} alt="" className="size-5 shrink-0" />)}<span className="truncate">{engineNameV1(eng)}</span>{isEngineBeta(eng) && (- <span className="ml-auto shrink-0 rounded-full bg-blue-100 px-2 py-0.5 text-xs text-blue-600">+ <span className="ml-auto shrink-0 rounded-full bg-accent/10 px-2 py-0.5 text-xs text-accent">Beta</span>)}@@ -416,7 +412,7 @@ function ResourceIdField({<div className="sm:col-span-3 sm:col-start-1 -mt-4"><div className="mt-4 textinfolabel text-sm flex items-center gap-x-1">{t("resource-id.self", { resource: resourceName })}:{" "}- <span className="text-gray-600 font-medium">{resourceId}</span>+ <span className="text-control-light font-medium">{resourceId}</span></div></div>);@@ -429,7 +425,7 @@ function ResourceIdField({<div className="flex items-center gap-x-1">{t("resource-id.self", { resource: resourceName })}:{resourceId ? (- <span className="text-gray-600 font-medium mr-1">+ <span className="text-control-light font-medium mr-1">{resourceId}</span>) : (@@ -454,7 +450,7 @@ function ResourceIdField({<likey={msg.message}className={`text-xs break-words ${- msg.type === "warning" ? "text-yellow-600" : "text-red-600"+ msg.type === "warning" ? "text-warning" : "text-error"}`}>{msg.message}@@ -495,7 +491,7 @@ function ResourceIdField({<likey={msg.message}className={`text-xs break-words ${- msg.type === "warning" ? "text-yellow-600" : "text-red-600"+ msg.type === "warning" ? "text-warning" : "text-error"}`}>{msg.message}@@ -1276,10 +1272,10 @@ export function InstanceFormBody({ onOpenInfoPanel }: InstanceFormBodyProps) {<div className="w-full flex flex-col gap-y-6">{/* Engine Selector (create only) */}{isCreating && (- <div className="rounded-lg border border-block-border bg-white">+ <div className="rounded-lg border border-block-border bg-background"><buttontype="button"- className="w-full flex items-center justify-between gap-x-3 px-4 py-3 text-left transition-colors hover:bg-gray-50"+ className="w-full flex items-center justify-between gap-x-3 px-4 py-3 text-left transition-colors hover:bg-control-bg"onClick={() => setIsEngineSelectorCollapsed((prev) => !prev)}><div className="min-w-0">@@ -1291,14 +1287,14 @@ export function InstanceFormBody({ onOpenInfoPanel }: InstanceFormBodyProps) {<imgsrc={EngineIconPath[basicInfo.engine]}alt=""- className="w-4 h-4"+ className="size-4"/>)}<span className="text-sm font-medium text-main">{engineNameV1(basicInfo.engine)}</span>{isEngineBeta(basicInfo.engine) && (- <span className="rounded-full bg-blue-100 px-2 py-0.5 text-xs text-blue-600">+ <span className="rounded-full bg-accent/10 px-2 py-0.5 text-xs text-accent">Beta</span>)}@@ -1306,9 +1302,9 @@ export function InstanceFormBody({ onOpenInfoPanel }: InstanceFormBodyProps) {</div><div className="shrink-0 text-control-light">{!isEngineSelectorCollapsed ? (- <ChevronDown className="w-4 h-4" />+ <ChevronDown className="size-4" />) : (- <ChevronRight className="w-4 h-4" />+ <ChevronRight className="size-4" />)}</div></button>@@ -1359,7 +1355,7 @@ export function InstanceFormBody({ onOpenInfoPanel }: InstanceFormBodyProps) {<imgsrc={EngineIconPath[instance.engine]}alt=""- className="w-4 h-4"+ className="size-4"/>)}<span className="ml-1">{instance.engineVersion}</span>@@ -1401,7 +1397,7 @@ export function InstanceFormBody({ onOpenInfoPanel }: InstanceFormBodyProps) {changeInstanceActivation(e.target.checked)}/>- <div className="w-9 h-5 bg-gray-300 peer-focus:outline-none rounded-full peer peer-checked:bg-accent transition-colors after:content-[''] after:absolute after:top-0.5 after:left-0.5 after:bg-white after:rounded-full after:h-4 after:w-4 after:transition-all peer-checked:after:translate-x-4" />+ <div className="w-9 h-5 bg-control-border peer-focus:outline-none rounded-full peer peer-checked:bg-accent transition-colors after:content-[''] after:absolute after:top-0.5 after:left-0.5 after:bg-background after:rounded-full after:h-4 after:w-4 after:transition-all peer-checked:after:translate-x-4" /></label></div></div>@@ -1484,7 +1480,7 @@ export function InstanceFormBody({ onOpenInfoPanel }: InstanceFormBodyProps) {);}}>- <ExternalLink className="w-4 h-4" />+ <ExternalLink className="size-4" /></button>)}</label>@@ -1605,7 +1601,7 @@ export function InstanceFormBody({ onOpenInfoPanel }: InstanceFormBodyProps) {className="ml-1 inline-flex items-center gap-x-0.5 text-accent text-xs"onClick={() => openInfoPanel("host")}>- <Info className="w-3.5 h-3.5" />+ <Info className="size-3.5" /></button>)}</>@@ -1772,7 +1768,7 @@ export function InstanceFormBody({ onOpenInfoPanel }: InstanceFormBodyProps) {disabled={!allowEdit}onClick={() => removeDSAdditionalAddress(index)}>- <Trash2 className="w-4 h-4" />+ <Trash2 className="size-4" /></button></div></div>@@ -1860,10 +1856,10 @@ export function InstanceFormBody({ onOpenInfoPanel }: InstanceFormBodyProps) {{/* Connection Options Card */}{basicInfo.engine !== Engine.DYNAMODB && editingDataSource && (- <div className="border border-block-border rounded-lg bg-white">+ <div className="border border-block-border rounded-lg bg-background"><buttontype="button"- className="w-full flex items-center justify-between gap-x-3 px-5 py-4 text-left transition-colors hover:bg-gray-50"+ className="w-full flex items-center justify-between gap-x-3 px-5 py-4 text-left transition-colors hover:bg-control-bg"onClick={() => setIsConnectionOptionsCollapsed((prev) => !prev)}><h3 className="text-base font-medium text-main">@@ -1871,9 +1867,9 @@ export function InstanceFormBody({ onOpenInfoPanel }: InstanceFormBodyProps) {</h3><div className="shrink-0 text-control-light">{!isConnectionOptionsCollapsed ? (- <ChevronDown className="w-4 h-4" />+ <ChevronDown className="size-4" />) : (- <ChevronRight className="w-4 h-4" />+ <ChevronRight className="size-4" />)}</div></button>diff --git a/frontend/src/react/components/instance/InstanceFormButtons.tsx b/frontend/src/react/components/instance/InstanceFormButtons.tsxindex ffa19b4529..a24a59b4ad 100644--- a/frontend/src/react/components/instance/InstanceFormButtons.tsx+++ b/frontend/src/react/components/instance/InstanceFormButtons.tsx@@ -440,7 +440,7 @@ export function InstanceFormButtons({return (<divclassName={cn(- "w-full py-4 border-t border-block-border flex justify-between bg-white",+ "w-full py-4 border-t border-block-border flex justify-between bg-background",className)}>@@ -473,7 +473,7 @@ export function InstanceFormButtons({return (<divclassName={cn(- "w-full mt-4 py-4 border-t border-block-border flex justify-between bg-white",+ "w-full mt-4 py-4 border-t border-block-border flex justify-between bg-background",className)}>diff --git a/frontend/src/react/components/instance/InstanceSyncButton.tsx b/frontend/src/react/components/instance/InstanceSyncButton.tsxindex aee5ebbb8a..34e224b838 100644--- a/frontend/src/react/components/instance/InstanceSyncButton.tsx+++ b/frontend/src/react/components/instance/InstanceSyncButton.tsx@@ -127,15 +127,15 @@ export function InstanceSyncButton({onClick={() => setOpen(!open)}>{syncing ? t("instance.syncing") : t("instance.sync.self")}- <ChevronDown className="ml-1 w-4 h-4" />+ <ChevronDown className="ml-1 size-4" /></Button>{open && (<><div className="fixed inset-0 z-40" onClick={() => setOpen(false)} />- <div className="absolute left-0 top-full mt-1 z-50 min-w-[140px] rounded-sm border bg-white shadow-md py-1">+ <div className="absolute left-0 top-full mt-1 z-50 min-w-[140px] rounded-sm border bg-background shadow-md py-1"><buttontype="button"- className="w-full text-left px-3 py-1.5 text-sm hover:bg-gray-100"+ className="w-full text-left px-3 py-1.5 text-sm hover:bg-control-bg"title={t("instance.sync.sync-all-tip")}onClick={() => syncSchema("sync-all")}>@@ -143,7 +143,7 @@ export function InstanceSyncButton({</button><buttontype="button"- className="w-full text-left px-3 py-1.5 text-sm hover:bg-gray-100"+ className="w-full text-left px-3 py-1.5 text-sm hover:bg-control-bg"onClick={() => syncSchema("sync-new")}>{t("instance.sync.sync-new")}diff --git a/frontend/src/react/components/instance/SslCertificateForm.tsx b/frontend/src/react/components/instance/SslCertificateForm.tsxindex 1095e125cd..407b873073 100644--- a/frontend/src/react/components/instance/SslCertificateForm.tsx+++ b/frontend/src/react/components/instance/SslCertificateForm.tsx@@ -72,7 +72,7 @@ function DroppableTextarea({onDragOver={handleDragOver}disabled={disabled}placeholder={placeholder}- className="w-full h-24 whitespace-pre-wrap resize-none rounded-xs border border-control-border bg-white px-3 py-2 text-sm focus:outline-hidden focus:border-accent disabled:cursor-not-allowed disabled:opacity-50"+ className="w-full h-24 whitespace-pre-wrap resize-none rounded-xs border border-control-border bg-background px-3 py-2 text-sm focus:outline-hidden focus:border-accent disabled:cursor-not-allowed disabled:opacity-50"/>);}@@ -123,7 +123,7 @@ export function SslCertificateForm({content={t("data-source.ssl.verify-certificate-tooltip")}side="right">- <Info className="w-4 h-4 text-yellow-600" />+ <Info className="size-4 text-warning" /></Tooltip>)}</div>diff --git a/frontend/src/react/components/sql-review/Panels.tsx b/frontend/src/react/components/sql-review/Panels.tsxindex 37b69c1ec5..a9f1621df6 100644--- a/frontend/src/react/components/sql-review/Panels.tsx+++ b/frontend/src/react/components/sql-review/Panels.tsx@@ -101,14 +101,14 @@ export function RulesSelectPanel({return (<div className="fixed inset-0 z-50 flex">- <div className="fixed inset-0 bg-black/50" onClick={onClose} />- <div className="ml-auto relative bg-white w-[70rem] max-w-[100vw] h-full shadow-lg flex flex-col">+ <div className="fixed inset-0 bg-overlay/50" onClick={onClose} />+ <div className="ml-auto relative bg-background w-[70rem] max-w-[100vw] h-full shadow-lg flex flex-col"><div className="px-4 py-3 border-b flex items-center justify-between"><h2 className="text-lg font-medium">{t("sql-review.select-review-rules")}</h2><Button variant="ghost" size="icon" onClick={onClose}>- <X className="w-4 h-4" />+ <X className="size-4" /></Button></div><div className="flex-1 overflow-y-auto p-4">@@ -253,14 +253,14 @@ export function AttachResourcesPanel({return (<div className="fixed inset-0 z-50 flex">- <div className="fixed inset-0 bg-black/50" onClick={onClose} />- <div className="ml-auto relative bg-white w-[40rem] max-w-[100vw] h-full shadow-lg flex flex-col">+ <div className="fixed inset-0 bg-overlay/50" onClick={onClose} />+ <div className="ml-auto relative bg-background w-[40rem] max-w-[100vw] h-full shadow-lg flex flex-col"><div className="px-4 py-3 border-b flex items-center justify-between"><h2 className="text-lg font-medium">{t("sql-review.attach-resource.self")}</h2><Button variant="ghost" size="icon" onClick={onClose}>- <X className="w-4 h-4" />+ <X className="size-4" /></Button></div>@@ -307,7 +307,7 @@ export function AttachResourcesPanel({{/* OR divider */}<div className="flex items-center gap-x-2"><div className="textlabel w-10 capitalize">{t("common.or")}</div>- <hr className="flex-1 border-gray-200" />+ <hr className="flex-1 border-block-border" /></div>{/* Project section */}diff --git a/frontend/src/react/components/sql-review/ReviewCreation.tsx b/frontend/src/react/components/sql-review/ReviewCreation.tsxindex 0be7f656f5..80e51ade09 100644--- a/frontend/src/react/components/sql-review/ReviewCreation.tsx+++ b/frontend/src/react/components/sql-review/ReviewCreation.tsx@@ -286,21 +286,21 @@ export function ReviewCreation({return (<div className="w-full h-full flex flex-col">{/* Step bar */}- <div className="sticky top-0 z-10 bg-white border-b px-6 py-4">+ <div className="sticky top-0 z-10 bg-background border-b px-6 py-4"><div className="flex items-center gap-x-2">{steps.map((step, index) => (<div key={index} className="flex items-center gap-x-2">- {index > 0 && <div className="w-8 h-px bg-gray-300" />}+ {index > 0 && <div className="w-8 h-px bg-control-border" />}<divclassName={`flex items-center gap-x-2 px-3 py-1.5 rounded-full text-sm font-medium ${index === currentStep- ? "bg-accent text-white"+ ? "bg-accent text-accent-text": index < currentStep- ? "bg-green-100 text-green-800"- : "bg-gray-100 text-gray-500"+ ? "bg-success/10 text-success"+ : "bg-control-bg text-control-light"}`}>- <span className="inline-flex items-center justify-center w-5 h-5 rounded-full text-xs bg-white/20">+ <span className="inline-flex items-center justify-center size-5 rounded-full text-xs bg-background/20">{index + 1}</span>{step.label}@@ -318,7 +318,7 @@ export function ReviewCreation({<div><label className="textlabel">{t("sql-review.create.basic-info.display-name")}- <span className="text-red-500 ml-0.5">*</span>+ <span className="text-error ml-0.5">*</span></label><p className="mt-1 textinfolabel">{t("sql-review.create.basic-info.display-name-label")}@@ -374,10 +374,10 @@ export function ReviewCreation({</TabsByEngine></>) : (- <div className="py-12 border rounded-sm flex flex-col items-center gap-y-4 text-gray-500">+ <div className="py-12 border rounded-sm flex flex-col items-center gap-y-4 text-control-light"><p>{t("common.no-data")}</p><Button onClick={() => setShowRuleSelectPanel(true)}>- <Plus className="w-4 h-4 mr-1" />+ <Plus className="size-4 mr-1" />{t("sql-review.add-rules")}</Button></div>diff --git a/frontend/src/react/components/task-run-log/SectionHeader.tsx b/frontend/src/react/components/task-run-log/SectionHeader.tsxindex 0b9f63857c..b6808521d3 100644--- a/frontend/src/react/components/task-run-log/SectionHeader.tsx+++ b/frontend/src/react/components/task-run-log/SectionHeader.tsx@@ -26,7 +26,7 @@ export function SectionHeader({type="button"aria-expanded={isExpanded}className={cn(- "flex w-full items-center gap-x-2 py-1.5 bg-white hover:bg-gray-50 cursor-pointer select-none text-left focus:outline-none focus-visible:ring-2 focus-visible:ring-accent focus-visible:ring-offset-2",+ "flex w-full items-center gap-x-2 py-1.5 bg-background hover:bg-control-bg cursor-pointer select-none text-left focus:outline-none focus-visible:ring-2 focus-visible:ring-accent focus-visible:ring-offset-2",indent ? "px-6" : "px-3",className)}@@ -34,9 +34,9 @@ export function SectionHeader({{...props}>{isExpanded ? (- <ChevronDown className="h-3.5 w-3.5 shrink-0 text-gray-400" />+ <ChevronDown className="size-3.5 shrink-0 text-control-placeholder" />) : (- <ChevronRight className="h-3.5 w-3.5 shrink-0 text-gray-400" />+ <ChevronRight className="size-3.5 shrink-0 text-control-placeholder" />)}<StatusIconclassName={cn(@@ -45,13 +45,15 @@ export function SectionHeader({section.status === "running" && "animate-spin")}/>- <span className="text-gray-700">{section.label}</span>+ <span className="text-control">{section.label}</span>{section.entryCount > 1 ? (- <span className="text-gray-400">({section.entryCount})</span>+ <span className="text-control-placeholder">({section.entryCount})</span>) : null}<span className="flex-1" />{section.duration ? (- <span className="text-gray-500 tabular-nums">{section.duration}</span>+ <span className="text-control-light tabular-nums">+ {section.duration}+ </span>) : null}</button>);diff --git a/frontend/src/react/components/ui/alert.tsx b/frontend/src/react/components/ui/alert.tsxindex 7a2b13cbfe..629407e1a1 100644--- a/frontend/src/react/components/ui/alert.tsx+++ b/frontend/src/react/components/ui/alert.tsx@@ -49,7 +49,7 @@ function Alert({className={cn(alertVariants({ variant, className }))}{...props}>- {showIcon && <Icon className="h-5 w-5 shrink-0 mt-0.5" />}+ {showIcon && <Icon className="size-5 shrink-0 mt-0.5" />}<div>{children}</div></div>);diff --git a/frontend/src/react/components/ui/combobox.tsx b/frontend/src/react/components/ui/combobox.tsxindex 26ee3e55ec..4f0a674e12 100644--- a/frontend/src/react/components/ui/combobox.tsx+++ b/frontend/src/react/components/ui/combobox.tsx@@ -225,7 +225,7 @@ export function Combobox(props: ComboboxProps) {{selectedOptions.map((opt) => (<spankey={opt.value}- className="inline-flex items-center gap-x-1 rounded-xs bg-gray-100 px-1.5 py-0.5 text-xs"+ className="inline-flex items-center gap-x-1 rounded-xs bg-control-bg px-1.5 py-0.5 text-xs">{opt.label}{!disabled && (@@ -234,7 +234,7 @@ export function Combobox(props: ComboboxProps) {className="hover:text-error"onClick={(e) => handleRemoveChip(opt.value, e)}>- <X className="h-3 w-3" />+ <X className="size-3" /></button>)}</span>@@ -273,7 +273,7 @@ export function Combobox(props: ComboboxProps) {disabled={option.disabled}className={cn("w-full text-left px-3 py-1.5 text-sm flex items-center gap-x-2 transition-colors",- "hover:bg-gray-50",+ "hover:bg-control-bg",isSelected && "bg-accent/5",option.disabled && "opacity-50 cursor-not-allowed")}@@ -282,13 +282,13 @@ export function Combobox(props: ComboboxProps) {{multiple && (<divclassName={cn(- "h-4 w-4 rounded-xs border flex items-center justify-center shrink-0",+ "size-4 rounded-xs border flex items-center justify-center shrink-0",isSelected- ? "bg-accent border-accent text-white"+ ? "bg-accent border-accent text-accent-text": "border-control-border")}>- {isSelected && <Check className="h-3 w-3" />}+ {isSelected && <Check className="size-3" />}</div>)}<div className="flex flex-col min-w-0 flex-1">@@ -313,7 +313,7 @@ export function Combobox(props: ComboboxProps) {)}</div>{!multiple && isSelected && (- <Check className="w-4 h-4 text-accent shrink-0" />+ <Check className="size-4 text-accent shrink-0" />)}</button>);@@ -325,7 +325,7 @@ export function Combobox(props: ComboboxProps) {ref={dropdownRef}style={portal ? dropdownStyle : undefined}className={cn(- "bg-white border border-control-border rounded-sm shadow-lg overflow-hidden",+ "bg-background border border-control-border rounded-sm shadow-lg overflow-hidden",portal ? "z-[999]" : "absolute z-50 mt-1 min-w-full w-max")}>@@ -345,7 +345,7 @@ export function Combobox(props: ComboboxProps) {filteredGroups.map((group) => (<div key={group.label}>{group.label && (- <div className="px-3 py-1.5 text-xs font-medium text-control-light uppercase tracking-wide bg-gray-50">+ <div className="px-3 py-1.5 text-xs font-medium text-control-light uppercase tracking-wide bg-control-bg">{group.label}</div>)}@@ -362,7 +362,7 @@ export function Combobox(props: ComboboxProps) {{/* Trigger */}<divclassName={cn(- "flex flex-wrap items-center gap-1 min-h-[2.25rem] w-full rounded-xs border border-control-border bg-white px-2 py-1 text-sm cursor-pointer",+ "flex flex-wrap items-center gap-1 min-h-[2.25rem] w-full rounded-xs border border-control-border bg-background px-2 py-1 text-sm cursor-pointer",disabled && "opacity-50 cursor-not-allowed",open && "border-accent")}@@ -376,13 +376,13 @@ export function Combobox(props: ComboboxProps) {<div className="flex items-center gap-1 shrink-0 ml-auto">{clearable && hasValue && !disabled && (<span- className="rounded-full p-0.5 hover:bg-gray-100 transition-colors"+ className="rounded-full p-0.5 hover:bg-control-bg transition-colors"onClick={handleClear}>- <X className="w-3 h-3 text-control-light" />+ <X className="size-3 text-control-light" /></span>)}- <ChevronDown className="w-4 h-4 text-control-light" />+ <ChevronDown className="size-4 text-control-light" /></div></div>diff --git a/frontend/src/react/components/ui/dialog.tsx b/frontend/src/react/components/ui/dialog.tsxindex 095e5f355d..1fd37712f6 100644--- a/frontend/src/react/components/ui/dialog.tsx+++ b/frontend/src/react/components/ui/dialog.tsx@@ -17,7 +17,7 @@ function DialogOverlay({return (<BaseDialog.Backdropref={ref}- className={cn("fixed inset-0 z-50 bg-black/50", className)}+ className={cn("fixed inset-0 z-50 bg-overlay/50", className)}{...props}/>);@@ -39,7 +39,7 @@ function DialogContent({"fixed left-1/2 top-1/2 z-50 -translate-x-1/2 -translate-y-1/2","w-[calc(100vw-8rem)] max-w-3xl 2xl:max-w-[55vw]","max-h-[calc(100vh-10rem)] overflow-y-auto",- "rounded-sm bg-white shadow-lg",+ "rounded-sm bg-background shadow-lg",className)}{...props}@@ -74,7 +74,7 @@ function DialogDescription({return (<BaseDialog.Descriptionref={ref}- className={cn("text-sm text-gray-500", className)}+ className={cn("text-sm text-control-light", className)}{...props}/>);diff --git a/frontend/src/react/components/ui/select.tsx b/frontend/src/react/components/ui/select.tsxindex acc47eeaba..38f038e6f1 100644--- a/frontend/src/react/components/ui/select.tsx+++ b/frontend/src/react/components/ui/select.tsx@@ -17,7 +17,7 @@ function SelectTrigger({<BaseSelect.Triggerref={ref}className={cn(- "inline-flex items-center justify-between gap-1 h-8 px-2 text-sm rounded-xs border border-control-border bg-white text-control whitespace-nowrap",+ "inline-flex items-center justify-between gap-1 h-8 px-2 text-sm rounded-xs border border-control-border bg-background text-control whitespace-nowrap","hover:bg-control-bg focus:outline-hidden focus-visible:ring-2 focus-visible:ring-accent","disabled:pointer-events-none disabled:opacity-50",className@@ -26,7 +26,7 @@ function SelectTrigger({>{children}<BaseSelect.Icon>- <ChevronDown className="w-3.5 h-3.5 opacity-50 shrink-0" />+ <ChevronDown className="size-3.5 opacity-50 shrink-0" /></BaseSelect.Icon></BaseSelect.Trigger>);@@ -48,7 +48,7 @@ function SelectContent({<BaseSelect.Popupref={ref}className={cn(- "min-w-(--anchor-width) max-h-60 overflow-auto rounded-sm border border-control-border bg-white py-1 shadow-md",+ "min-w-(--anchor-width) max-h-60 overflow-auto rounded-sm border border-control-border bg-background py-1 shadow-md",className)}{...props}@@ -79,7 +79,7 @@ function SelectItem({{...props}><BaseSelect.ItemIndicator className="absolute left-1.5">- <Check className="w-3.5 h-3.5" />+ <Check className="size-3.5" /></BaseSelect.ItemIndicator><BaseSelect.ItemText>{children}</BaseSelect.ItemText></BaseSelect.Item>diff --git a/frontend/src/react/components/ui/switch.tsx b/frontend/src/react/components/ui/switch.tsxindex bc1737a1ac..4b18c1cae3 100644--- a/frontend/src/react/components/ui/switch.tsx+++ b/frontend/src/react/components/ui/switch.tsx@@ -26,7 +26,7 @@ function Switch({className={cn("relative inline-flex cursor-pointer items-center rounded-full transition-colors",isSmall ? "h-4 w-7" : "h-5 w-9",- "bg-gray-300 data-[checked]:bg-blue-600",+ "bg-control-border data-[checked]:bg-accent","focus:outline-hidden focus-visible:ring-2 focus-visible:ring-accent focus-visible:ring-offset-2","disabled:cursor-not-allowed disabled:opacity-50",className@@ -34,7 +34,7 @@ function Switch({><BaseSwitch.ThumbclassName={cn(- "block rounded-full bg-white shadow-sm transition-transform",+ "block rounded-full bg-background shadow-sm transition-transform",isSmall? "h-3 w-3 translate-x-0.5 data-[checked]:translate-x-[12px]": "h-4 w-4 translate-x-0.5 data-[checked]:translate-x-[18px]"diff --git a/frontend/src/react/pages/project/DatabaseChangelogDetailPage.tsx b/frontend/src/react/pages/project/DatabaseChangelogDetailPage.tsxindex 661d5a18be..119449702e 100644--- a/frontend/src/react/pages/project/DatabaseChangelogDetailPage.tsx+++ b/frontend/src/react/pages/project/DatabaseChangelogDetailPage.tsx@@ -77,10 +77,10 @@ function ChangelogStatusIndicator({ status }: { status: Changelog_Status }) {return (<spanaria-label={t("common.status")}- className="flex h-5 w-5 items-center justify-center rounded-full border-2 border-info bg-white text-info"+ className="flex size-5 items-center justify-center rounded-full border-2 border-info bg-background text-info"><span- className="h-2 w-2 rounded-full bg-info"+ className="size-2 rounded-full bg-info"style={{animation: "pulse 2.5s cubic-bezier(0.4, 0, 0.6, 1) infinite",}}@@ -91,16 +91,16 @@ function ChangelogStatusIndicator({ status }: { status: Changelog_Status }) {return (<spanaria-label={t("common.status")}- className="flex h-5 w-5 items-center justify-center rounded-full bg-success text-white"+ className="flex size-5 items-center justify-center rounded-full bg-success text-accent-text">- <Check className="h-4 w-4" />+ <Check className="size-4" /></span>);case Changelog_Status.FAILED:return (<spanaria-label={t("common.status")}- className="flex h-5 w-5 items-center justify-center rounded-full bg-error text-white"+ className="flex size-5 items-center justify-center rounded-full bg-error text-accent-text"><span className="pb-0.5 text-base font-normal">!</span></span>@@ -143,7 +143,7 @@ function CopyButton({ content }: { content: string }) {disabled={!content}onClick={handleCopy}>- <Copy className="h-4 w-4" />+ <Copy className="size-4" /></Button>);}@@ -350,7 +350,7 @@ export function DatabaseChangelogDetailPage({if (detail.loading || loading) {return (<div className="flex items-center justify-center py-10">- <LoaderCircle className="h-4 w-4 animate-spin text-control-light" />+ <LoaderCircle className="size-4 animate-spin text-control-light" /></div>);}@@ -429,7 +429,7 @@ export function DatabaseChangelogDetailPage({}}>{t("common.show-more")}- <ArrowUpRight className="h-4 w-4" />+ <ArrowUpRight className="size-4" /></a>) : null}</div>diff --git a/frontend/src/react/pages/project/ProjectDataExportPage.tsx b/frontend/src/react/pages/project/ProjectDataExportPage.tsxindex 811cfbc462..70526a40a1 100644--- a/frontend/src/react/pages/project/ProjectDataExportPage.tsx+++ b/frontend/src/react/pages/project/ProjectDataExportPage.tsx@@ -180,7 +180,7 @@ export function ProjectDataExportPage({ projectId }: { projectId: string }) {}><Button disabled={!canCreate} onClick={() => setShowDrawer(true)}>- <Download className="h-4 w-4 mr-1" />+ <Download className="size-4 mr-1" />{t("quick-action.request-export-data")}</Button></Tooltip>@@ -192,7 +192,7 @@ export function ProjectDataExportPage({ projectId }: { projectId: string }) {<div className="mt-2">{paged.isLoading ? (<div className="flex justify-center py-8 text-control-light">- <Loader2 className="w-5 h-5 animate-spin" />+ <Loader2 className="size-5 animate-spin" /></div>) : paged.dataList.length === 0 ? (<div className="flex justify-center py-8 text-control-light">@@ -241,14 +241,14 @@ function IssueStatusIcon({ status }: { status: IssueStatus }) {switch (status) {case IssueStatus.OPEN:return (- <span className="flex items-center justify-center rounded-full w-5 h-5 bg-white border-2 border-info text-info shrink-0">- <span className="h-1.5 w-1.5 bg-info rounded-full" />+ <span className="flex items-center justify-center rounded-full size-5 bg-background border-2 border-info text-info shrink-0">+ <span className="size-1.5 bg-info rounded-full" /></span>);case IssueStatus.DONE:return (- <span className="flex items-center justify-center rounded-full w-5 h-5 bg-success text-white shrink-0">- <svg className="w-4 h-4" fill="currentColor" viewBox="0 0 20 20">+ <span className="flex items-center justify-center rounded-full size-5 bg-success text-accent-text shrink-0">+ <svg className="size-4" fill="currentColor" viewBox="0 0 20 20"><pathfillRule="evenodd"d="M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z"@@ -259,8 +259,8 @@ function IssueStatusIcon({ status }: { status: IssueStatus }) {);case IssueStatus.CANCELED:return (- <span className="flex items-center justify-center rounded-full w-5 h-5 bg-white border-2 text-gray-400 border-gray-400 shrink-0">- <svg className="w-5 h-5" fill="currentColor" viewBox="0 0 20 20">+ <span className="flex items-center justify-center rounded-full size-5 bg-background border-2 text-control-placeholder border-control-placeholder shrink-0">+ <svg className="size-5" fill="currentColor" viewBox="0 0 20 20"><pathfillRule="evenodd"d="M3 10a1 1 0 011-1h12a1 1 0 110 2H4a1 1 0 01-1-1z"@@ -295,7 +295,7 @@ function RiskLevelIcon({ riskLevel }: { riskLevel: RiskLevel }) {return (<Tooltip content={`${label} (${t("issue.risk-level.self")})`}><svg- className={`w-4 h-4 shrink-0 ${color}`}+ className={`size-4 shrink-0 ${color}`}fill="none"viewBox="0 0 24 24"stroke="currentColor"@@ -321,7 +321,7 @@ function IssueApprovalStatusTag({ issue }: { issue: Issue }) {if (issue.approvalStatus === Issue_ApprovalStatus.CHECKING) {return (- <span className="shrink-0 mt-1 inline-flex items-center rounded-full bg-gray-100 px-2 py-0.5 text-xs text-gray-600">+ <span className="shrink-0 mt-1 inline-flex items-center rounded-full bg-control-bg px-2 py-0.5 text-xs text-control-light">{t("custom-approval.issue-review.generating-approval-flow")}</span>);@@ -364,7 +364,7 @@ function IssueApprovalStatusTag({ issue }: { issue: Issue }) {const roleName = role ? displayRoleTitle(role) : "";return (<div className="shrink-0 flex flex-row sm:flex-col items-center sm:items-end gap-x-1.5 sm:gap-x-0 mt-1">- <span className="inline-flex items-center rounded-full bg-gray-100 px-2 py-0.5 text-xs text-gray-600">+ <span className="inline-flex items-center rounded-full bg-control-bg px-2 py-0.5 text-xs text-control-light">{progressText}</span>{roleName && (@@ -379,7 +379,7 @@ function IssueApprovalStatusTag({ issue }: { issue: Issue }) {// No approval requiredreturn (- <span className="shrink-0 mt-1 inline-flex items-center rounded-full bg-gray-50 px-2 py-0.5 text-xs text-gray-500">+ <span className="shrink-0 mt-1 inline-flex items-center rounded-full bg-control-bg px-2 py-0.5 text-xs text-control-light">{t("custom-approval.approval-flow.skip")}</span>);@@ -481,7 +481,7 @@ function IssueListItem({return (<div- className="flex items-start gap-x-2 px-3 sm:px-4 py-3 cursor-pointer border-b border-gray-100 hover:bg-gray-50"+ className="flex items-start gap-x-2 px-3 sm:px-4 py-3 cursor-pointer border-b border-block-border hover:bg-control-bg"onClick={onRowClick}>{/* Left: issue content */}@@ -502,7 +502,7 @@ function IssueListItem({) : (<ahref={issueUrl}- className="font-medium text-base truncate hover:underline italic text-gray-400"+ className="font-medium text-base truncate hover:underline italic text-control-placeholder"onClick={(e) => e.stopPropagation()}>{t("common.untitled")}@@ -515,7 +515,7 @@ function IssueListItem({className="inline-flex items-center gap-x-1 px-1.5 py-0.5 rounded-xs text-xs whitespace-nowrap border shrink-0"><span- className="w-2.5 h-2.5 rounded-sm shrink-0"+ className="size-2.5 rounded-sm shrink-0"style={{ backgroundColor: label.color }}/>{label.value}diff --git a/frontend/src/react/pages/project/ProjectDatabaseGroupDetailPage.tsx b/frontend/src/react/pages/project/ProjectDatabaseGroupDetailPage.tsxindex 6b62c7e932..d76bdad101 100644--- a/frontend/src/react/pages/project/ProjectDatabaseGroupDetailPage.tsx+++ b/frontend/src/react/pages/project/ProjectDatabaseGroupDetailPage.tsx@@ -132,7 +132,7 @@ export function ProjectDatabaseGroupDetailPage({project={project}><Button disabled={!canUpdate} onClick={() => setEditing(true)}>- <Edit className="w-4 h-4 mr-1" />+ <Edit className="size-4 mr-1" />{t("common.configure")}</Button></PermissionGuard>@@ -145,7 +145,7 @@ export function ProjectDatabaseGroupDetailPage({className="px-1!"onClick={() => setShowDropdown((v) => !v)}>- <EllipsisVertical className="w-4 h-4" />+ <EllipsisVertical className="size-4" /></Button>{showDropdown && (<>@@ -153,10 +153,10 @@ export function ProjectDatabaseGroupDetailPage({className="fixed inset-0 z-10"onClick={() => setShowDropdown(false)}/>- <div className="absolute right-0 top-full z-20 mt-1 bg-white border rounded-sm shadow-md min-w-[100px]">+ <div className="absolute right-0 top-full z-20 mt-1 bg-background border rounded-sm shadow-md min-w-[100px]"><buttontype="button"- className="w-full text-left px-3 py-1.5 text-sm hover:bg-gray-50 text-error"+ className="w-full text-left px-3 py-1.5 text-sm hover:bg-control-bg text-error"onClick={() => {setShowDropdown(false);setShowDeleteDialog(true);diff --git a/frontend/src/react/pages/project/ProjectDatabaseGroupsPage.tsx b/frontend/src/react/pages/project/ProjectDatabaseGroupsPage.tsxindex ebb3d5df45..cc204191e4 100644--- a/frontend/src/react/pages/project/ProjectDatabaseGroupsPage.tsx+++ b/frontend/src/react/pages/project/ProjectDatabaseGroupsPage.tsx@@ -124,7 +124,7 @@ export function ProjectDatabaseGroupsPage({feature={PlanFeature.FEATURE_DATABASE_GROUPS}className="text-white"/>- <Plus className="w-4 h-4 mr-1" />+ <Plus className="size-4 mr-1" />{t("common.create")}</Button></div>@@ -233,7 +233,7 @@ function DatabaseGroupTable({{pagedList.map((group) => (<trkey={group.name}- className="border-b cursor-pointer hover:bg-gray-50"+ className="border-b cursor-pointer hover:bg-control-bg"onClick={(e) => onRowClick(e, group)}><td className="py-2 pr-4 truncate max-w-64">{group.title}</td>@@ -296,22 +296,22 @@ function ActionDropdown({<div className="relative flex justify-end"><buttontype="button"- className="p-1 rounded-xs hover:bg-gray-100"+ className="p-1 rounded-xs hover:bg-control-bg"onClick={(e) => {e.stopPropagation();setOpen((v) => !v);}}>- <EllipsisVertical className="w-4 h-4" />+ <EllipsisVertical className="size-4" /></button>{open && (<>{/* backdrop */}<div className="fixed inset-0 z-10" onClick={() => setOpen(false)} />- <div className="absolute right-0 top-full z-20 mt-1 bg-white border rounded-sm shadow-md min-w-[100px]">+ <div className="absolute right-0 top-full z-20 mt-1 bg-background border rounded-sm shadow-md min-w-[100px]"><buttontype="button"- className="w-full text-left px-3 py-1.5 text-sm hover:bg-gray-50 text-error"+ className="w-full text-left px-3 py-1.5 text-sm hover:bg-control-bg text-error"onClick={(e) => {e.stopPropagation();setOpen(false);diff --git a/frontend/src/react/pages/project/ProjectDatabasesPage.tsx b/frontend/src/react/pages/project/ProjectDatabasesPage.tsxindex 45cc30f822..073b88c3bd 100644--- a/frontend/src/react/pages/project/ProjectDatabasesPage.tsx+++ b/frontend/src/react/pages/project/ProjectDatabasesPage.tsx@@ -373,7 +373,7 @@ export function ProjectDatabasesPage({ projectId }: { projectId: string }) {}onClick={() => setShowCreateDrawer(true)}>- <Plus className="h-4 w-4 mr-1" />+ <Plus className="size-4 mr-1" />{t("common.create")}</Button></PermissionGuard>@@ -436,10 +436,10 @@ export function ProjectDatabasesPage({ projectId }: { projectId: string }) {{showUnassignConfirm && (<div className="fixed inset-0 z-50 flex items-center justify-center"><div- className="fixed inset-0 bg-black/50"+ className="fixed inset-0 bg-overlay/50"onClick={() => setShowUnassignConfirm(false)}/>- <div className="relative bg-white rounded-sm shadow-lg p-6 max-w-md w-full mx-4">+ <div className="relative bg-background rounded-sm shadow-lg p-6 max-w-md w-full mx-4"><h3 className="text-lg font-semibold mb-2">{t("database.unassign-alert-title")}</h3>diff --git a/frontend/src/react/pages/project/ProjectMaskingExemptionCreatePage.tsx b/frontend/src/react/pages/project/ProjectMaskingExemptionCreatePage.tsxindex e1e57b4674..cba96b8fe3 100644--- a/frontend/src/react/pages/project/ProjectMaskingExemptionCreatePage.tsx+++ b/frontend/src/react/pages/project/ProjectMaskingExemptionCreatePage.tsx@@ -303,7 +303,7 @@ export function ProjectMaskingExemptionCreatePage({<h2 className="text-lg font-medium">{t("project.masking-exemption.grant-exemption")}</h2>- <div className="border-b border-gray-200 mt-3" />+ <div className="border-b border-block-border mt-3" /></div>{/* Body */}@@ -315,7 +315,7 @@ export function ProjectMaskingExemptionCreatePage({<div className="w-full"><div className="flex items-center gap-x-1 mb-2"><span className="text-main">{t("common.resources")}</span>- <span className="text-red-500">*</span>+ <span className="text-error">*</span></div>{/* Radio group */}@@ -414,9 +414,9 @@ export function ProjectMaskingExemptionCreatePage({<div className="w-full flex flex-col gap-y-2"><div className="flex text-main items-center gap-x-1">{t("settings.members.select-account", { count: 2 })}- <span className="text-red-500">*</span>+ <span className="text-error">*</span><Tooltip content={t("settings.members.select-account-hint")}>- <CircleHelp className="w-4 h-4 textinfolabel" />+ <CircleHelp className="size-4 textinfolabel" /></Tooltip></div><AccountMultiSelect value={memberList} onChange={setMemberList} />@@ -425,7 +425,7 @@ export function ProjectMaskingExemptionCreatePage({</div>{/* Footer */}- <div className="sticky bottom-0 z-10 border-t bg-white">+ <div className="sticky bottom-0 z-10 border-t bg-background"><div className="flex justify-end items-center px-4 py-3"><div className="flex items-center gap-x-2"><Button variant="outline" onClick={onDismiss}>diff --git a/frontend/src/react/pages/project/ProjectMaskingExemptionPage.tsx b/frontend/src/react/pages/project/ProjectMaskingExemptionPage.tsxindex 6ddf06f09e..e568fe185b 100644--- a/frontend/src/react/pages/project/ProjectMaskingExemptionPage.tsx+++ b/frontend/src/react/pages/project/ProjectMaskingExemptionPage.tsx@@ -303,7 +303,7 @@ export function ProjectMaskingExemptionPage({render: () => (<span className="inline-flex items-center gap-x-1.5"><span- className="w-5 h-5 rounded-full text-white text-xs flex items-center justify-center shrink-0"+ className="size-5 rounded-full text-accent-text text-xs flex items-center justify-center shrink-0"style={{backgroundColor: `hsl(${Math.abs(hashString(u.title)) % 360}, 55%, 55%)`,}}@@ -312,7 +312,7 @@ export function ProjectMaskingExemptionPage({</span><span>{u.title}</span>{currentUser && u.name === currentUser.name && (- <span className="text-xs bg-green-100 text-green-700 rounded-full px-1.5">+ <span className="text-xs bg-success/10 text-success rounded-full px-1.5">{t("common.you")}</span>)}@@ -396,7 +396,7 @@ export function ProjectMaskingExemptionPage({placeholder={t("issue.advanced-search.filter")}/><Button onClick={handleGrantClick} disabled={!hasCreatePermission}>- <ShieldCheck className="w-4 h-4" />+ <ShieldCheck className="size-4" /><FeatureBadgefeature={PlanFeature.FEATURE_DATA_MASKING}className="text-white"@@ -426,7 +426,7 @@ export function ProjectMaskingExemptionPage({{isWide ? (<div className="flex" style={{ height: "calc(100vh - 11rem)" }}><ExemptionMemberList- className="w-[360px] shrink-0 border-r border-gray-200 overflow-y-auto"+ className="w-[360px] shrink-0 border-r border-block-border overflow-y-auto"members={filteredMembers}disabled={!hasPermission}loading={membersFromVue.loading}@@ -798,7 +798,7 @@ function ExemptionMemberList({return (<div className={cn("overflow-y-auto", className)}><div className="flex items-center justify-center py-12">- <div className="animate-spin rounded-full h-5 w-5 border-2 border-accent border-t-transparent" />+ <div className="animate-spin rounded-full size-5 border-2 border-accent border-t-transparent" /></div></div>);@@ -816,7 +816,7 @@ function ExemptionMemberList({return (<div className={cn("overflow-y-auto", className)}>- <div className="divide-y divide-gray-100">+ <div className="divide-y divide-block-border">{members.map((member) => (<div key={member.member}><ExemptionMemberItem@@ -833,7 +833,7 @@ function ExemptionMemberList({/>{/* Inline detail panel in narrow/expandable mode */}{expandable && expandedMemberKey === member.member && (- <div className="border-t border-b border-gray-200">+ <div className="border-t border-b border-block-border"><ExemptionDetailPanelmember={member}disabled={disabled}@@ -921,7 +921,7 @@ function ExemptionMemberItem({<divclassName={cn("flex items-center gap-x-3 px-3 py-2.5 cursor-pointer rounded-xs transition-colors",- selected ? "bg-blue-50" : "hover:bg-gray-50"+ selected ? "bg-accent/5" : "hover:bg-control-bg")}onClick={handleClick}>@@ -929,7 +929,7 @@ function ExemptionMemberItem({{expandable && (<ChevronRightclassName={cn(- "w-4 h-4 shrink-0 text-control-placeholder transition-transform",+ "size-4 shrink-0 text-control-placeholder transition-transform",expanded && "rotate-90")}/>@@ -937,7 +937,7 @@ function ExemptionMemberItem({{/* Avatar */}<div- className="w-8 h-8 rounded-full flex items-center justify-center text-white text-sm font-medium shrink-0"+ className="size-8 rounded-full flex items-center justify-center text-accent-text text-sm font-medium shrink-0"style={{backgroundColor: `hsl(${Math.abs(hashString(displayName)) % 360}, 55%, 55%)`,}}@@ -950,17 +950,17 @@ function ExemptionMemberItem({<div className="flex items-center gap-x-1.5"><span className="font-medium text-sm truncate">{displayName}</span>{member.type === "group" && (- <span className="inline-flex items-center rounded-full px-2 py-0.5 text-xs border border-gray-300 bg-white">+ <span className="inline-flex items-center rounded-full px-2 py-0.5 text-xs border border-control-border bg-background">{t("common.groups")}</span>)}{isServiceAccount && (- <span className="inline-flex items-center rounded-full px-2 py-0.5 text-xs border border-blue-300 bg-blue-50 text-blue-700">+ <span className="inline-flex items-center rounded-full px-2 py-0.5 text-xs border border-accent/30 bg-accent/5 text-accent">{t("settings.members.service-account")}</span>)}{isWorkloadIdentity && (- <span className="inline-flex items-center rounded-full px-2 py-0.5 text-xs border border-blue-300 bg-blue-50 text-blue-700">+ <span className="inline-flex items-center rounded-full px-2 py-0.5 text-xs border border-accent/30 bg-accent/5 text-accent">{t("settings.members.workload-identity")}</span>)}@@ -1057,7 +1057,7 @@ function ExemptionDetailPanel({{member.grants.map((grant, idx) => (<divkey={grant.id}- className="border border-gray-200 rounded-sm overflow-hidden pt-4"+ className="border border-block-border rounded-sm overflow-hidden pt-4"><ExemptionGrantSectiongrant={grant}@@ -1124,7 +1124,7 @@ function ExemptionGrantSection({<div className="flex items-center gap-x-3"><ChevronRightclassName={cn(- "w-4 h-4 shrink-0 text-control-placeholder transition-transform",+ "size-4 shrink-0 text-control-placeholder transition-transform",expanded && "rotate-90")}/>@@ -1171,8 +1171,8 @@ function ExemptionGrantSection({{expanded && (<div className="px-4 pb-4">{/* Reason */}- <div className="mb-3 text-sm border-l-2 border-gray-300 pl-3 py-1 textinfolabel">- <span className="font-medium text-gray-600">+ <div className="mb-3 text-sm border-l-2 border-control-border pl-3 py-1 textinfolabel">+ <span className="font-medium text-control-light">{t("common.reason")}:</span>{" "}{grant.description || t("project.masking-exemption.no-reason")}@@ -1223,7 +1223,7 @@ function ExemptionResourceTable({<div className="overflow-x-auto"><table className="w-full text-sm"><thead>- <tr className="border-b border-gray-200">+ <tr className="border-b border-block-border"><th className="textinfolabel font-medium text-xs py-2 px-2 text-left whitespace-nowrap">{t("common.instance")}</th>@@ -1252,7 +1252,7 @@ function ExemptionResourceTable({return (<trkey={idx}- className="border-b border-gray-200 last:border-b-0"+ className="border-b border-block-border last:border-b-0"><td className="py-2 px-2 text-control-light whitespace-nowrap">{isSentinel(instanceName) ? t("database.all") : instanceName}@@ -1312,7 +1312,7 @@ function ExemptionLevelCard({const { t } = useTranslation();return (- <div className="flex items-center gap-x-6 px-4 py-3 bg-gray-50 rounded-xs border border-gray-200">+ <div className="flex items-center gap-x-6 px-4 py-3 bg-control-bg rounded-xs border border-block-border"><div className="flex items-center gap-x-2"><span className="textinfolabel font-medium uppercase text-xs">{t("common.scope")}@@ -1375,10 +1375,10 @@ function LevelBadge({const colorClass = useMemo(() => {if (noLimit || level === undefined) {- return "bg-gray-200 text-gray-600";+ return "bg-control-bg-hover text-control-light";}const idx = Math.min(level - 1, bgColorList.length - 1);- const bg = bgColorList[Math.max(0, idx)] ?? "bg-gray-200";+ const bg = bgColorList[Math.max(0, idx)] ?? "bg-control-bg-hover";return level >= 4 ? `${bg} text-white` : bg;}, [noLimit, level]);diff --git a/frontend/src/react/pages/project/ProjectPlanDashboardPage.tsx b/frontend/src/react/pages/project/ProjectPlanDashboardPage.tsxindex f807b593b1..d8e93ef2b3 100644--- a/frontend/src/react/pages/project/ProjectPlanDashboardPage.tsx+++ b/frontend/src/react/pages/project/ProjectPlanDashboardPage.tsx@@ -312,7 +312,7 @@ export function ProjectPlanDashboardPage({ projectId }: { projectId: string }) {disabled={!canCreate}onClick={() => setShowAddSpecDrawer(true)}>- <Plus className="w-4 h-4 mr-1" />+ <Plus className="size-4 mr-1" />{t("plan.new-plan")}</Button></PermissionGuard>@@ -324,7 +324,7 @@ export function ProjectPlanDashboardPage({ projectId }: { projectId: string }) {<div className="mt-2">{paged.isLoading ? (<div className="flex justify-center py-8 text-control-light">- <Loader2 className="w-5 h-5 animate-spin" />+ <Loader2 className="size-5 animate-spin" /></div>) : paged.dataList.length === 0 ? (<div className="flex justify-center py-8 text-control-light">@@ -372,13 +372,13 @@ function DismissibleAlert({}) {return (<div className="relative w-full rounded-xs border border-accent/30 bg-accent/5 text-accent px-4 py-3 text-sm flex gap-x-3 items-start">- <Info className="h-5 w-5 shrink-0 mt-0.5" />+ <Info className="size-5 shrink-0 mt-0.5" /><div className="flex-1">{children}</div><buttonclassName="p-0.5 hover:bg-accent/10 rounded-xs shrink-0"onClick={onClose}>- <X className="h-4 w-4" />+ <X className="size-4" /></button></div>);@@ -539,7 +539,7 @@ function PlanRow({ plan, projectId }: { plan: Plan; projectId: string }) {return (<trclassName={cn(- "border-b cursor-pointer hover:bg-gray-50",+ "border-b cursor-pointer hover:bg-control-bg",isDeleted && "opacity-60")}onClick={onRowClick}@@ -561,7 +561,7 @@ function PlanRow({ plan, projectId }: { plan: Plan; projectId: string }) {</span>)}{showDraftTag && !isDeleted && (- <span className="inline-flex items-center rounded-full bg-gray-100 text-gray-600 px-2 py-0.5 text-xs shrink-0">+ <span className="inline-flex items-center rounded-full bg-control-bg text-control-light px-2 py-0.5 text-xs shrink-0">{t("common.draft")}</span>)}@@ -574,25 +574,25 @@ function PlanRow({ plan, projectId }: { plan: Plan; projectId: string }) {<div className="flex items-center gap-3 flex-wrap">{checkSummary.running > 0 && (<div className="flex items-center gap-1 text-control">- <Loader2 className="w-4 h-4 animate-spin" />+ <Loader2 className="size-4 animate-spin" /><span>{t("task.status.running")}</span></div>)}{checkSummary.error > 0 && (<div className="flex items-center gap-1 text-error">- <XCircle className="w-4 h-4" />+ <XCircle className="size-4" /><span>{checkSummary.error}</span></div>)}{checkSummary.warning > 0 && (<div className="flex items-center gap-1 text-warning">- <AlertCircle className="w-4 h-4" />+ <AlertCircle className="size-4" /><span>{checkSummary.warning}</span></div>)}{checkSummary.success > 0 && (<div className="flex items-center gap-1 text-success">- <CheckCircle className="w-4 h-4" />+ <CheckCircle className="size-4" /><span>{checkSummary.success}</span></div>)}@@ -673,7 +673,7 @@ function StatusTag({variant?: "default" | "success" | "warning" | "info";}) {const variantClasses: Record<string, string> = {- default: "bg-gray-100 text-gray-600",+ default: "bg-control-bg text-control-light",success: "bg-success/10 text-success",warning: "bg-warning/10 text-warning",info: "bg-accent/10 text-accent",@@ -695,7 +695,7 @@ function StatusTag({// ---------------------------------------------------------------------------function TaskStatusIcon({ status }: { status: Task_Status }) {- const size = "w-4 h-4";+ const size = "size-4";switch (status) {case Task_Status.DONE:return <CheckCircle className={cn(size, "text-success")} />;@@ -704,14 +704,14 @@ function TaskStatusIcon({ status }: { status: Task_Status }) {case Task_Status.FAILED:return <XCircle className={cn(size, "text-error")} />;case Task_Status.CANCELED:- return <XCircle className={cn(size, "text-gray-400")} />;+ return <XCircle className={cn(size, "text-control-placeholder")} />;case Task_Status.PENDING:case Task_Status.NOT_STARTED:return (<spanclassName={cn(size,- "inline-flex items-center justify-center rounded-full border-2 border-gray-300"+ "inline-flex items-center justify-center rounded-full border-2 border-control-border")}/>);@@ -720,10 +720,10 @@ function TaskStatusIcon({ status }: { status: Task_Status }) {<spanclassName={cn(size,- "inline-flex items-center justify-center rounded-full bg-gray-200 text-gray-500"+ "inline-flex items-center justify-center rounded-full bg-control-bg-hover text-control-light")}>- <span className="w-2 h-0.5 bg-current" />+ <span className="w-2 h-px bg-current" /></span>);default:@@ -731,7 +731,7 @@ function TaskStatusIcon({ status }: { status: Task_Status }) {<spanclassName={cn(size,- "inline-flex items-center justify-center rounded-full border-2 border-gray-200"+ "inline-flex items-center justify-center rounded-full border-2 border-block-border")}/>);@@ -827,8 +827,8 @@ function AddSpecDrawer({return (<div className="fixed inset-0 z-50 flex">- <div className="fixed inset-0 bg-black/50" onClick={onClose} />- <div className="ml-auto relative bg-white w-[calc(100vw-8rem)] lg:w-240 max-w-[calc(100vw-8rem)] h-full shadow-lg flex flex-col">+ <div className="fixed inset-0 bg-overlay/50" onClick={onClose} />+ <div className="ml-auto relative bg-background w-[calc(100vw-8rem)] lg:w-240 max-w-[calc(100vw-8rem)] h-full shadow-lg flex flex-col">{/* Header */}<div className="px-6 py-4 border-b border-control-border flex items-center justify-between"><span className="text-lg font-semibold">{title}</span>@@ -836,7 +836,7 @@ function AddSpecDrawer({className="p-1 hover:bg-control-bg rounded-xs"onClick={onClose}>- <X className="w-4 h-4" />+ <X className="size-4" /></button></div>@@ -859,7 +859,7 @@ function AddSpecDrawer({{t("common.close")}</Button><Button disabled={!canSubmit || creating} onClick={handleConfirm}>- {creating && <Loader2 className="w-4 h-4 mr-1 animate-spin" />}+ {creating && <Loader2 className="size-4 mr-1 animate-spin" />}{t("common.confirm")}</Button></div>@@ -905,7 +905,7 @@ function DatabaseAndGroupSelector({onClick={() => onChangeSourceChange("DATABASE")}><span className="inline-flex items-center gap-x-1.5">- <DatabaseIcon className="w-4 h-4" />+ <DatabaseIcon className="size-4" />{t("common.databases")}</span></button>@@ -920,7 +920,7 @@ function DatabaseAndGroupSelector({onClick={() => onChangeSourceChange("GROUP")}><span className="inline-flex items-center gap-x-1.5">- <FolderTree className="w-4 h-4" />+ <FolderTree className="size-4" />{t("common.database-group")}</span></button>@@ -1045,7 +1045,7 @@ function DatabaseSelector({{loading ? (<div className="flex justify-center py-8 text-control-light">- <Loader2 className="w-5 h-5 animate-spin" />+ <Loader2 className="size-5 animate-spin" /></div>) : databases.length === 0 ? (<div className="flex justify-center py-8 text-control-light">@@ -1091,7 +1091,7 @@ function DatabaseSelector({<trkey={db.name}className={cn(- "border-b cursor-pointer hover:bg-gray-50",+ "border-b cursor-pointer hover:bg-control-bg",isSelected && "bg-accent/5")}onClick={() => toggleDatabase(db.name)}@@ -1108,7 +1108,7 @@ function DatabaseSelector({<div className="flex items-center gap-x-1.5">{inst && EngineIconPath[inst.engine] && (<img- className="h-4 w-4 shrink-0"+ className="size-4 shrink-0"src={EngineIconPath[inst.engine]}alt=""/>@@ -1127,10 +1127,10 @@ function DatabaseSelector({db.syncError || t("database.sync-status-failed")}>- <XCircle className="w-4 h-4 text-error" />+ <XCircle className="size-4 text-error" /></Tooltip>) : (- <CheckCircle className="w-4 h-4 text-success" />+ <CheckCircle className="size-4 text-success" />)}</td></tr>@@ -1188,7 +1188,7 @@ function DatabaseGroupSelector({if (loading) {return (<div className="flex justify-center py-8 text-control-light">- <Loader2 className="w-5 h-5 animate-spin" />+ <Loader2 className="size-5 animate-spin" /></div>);}@@ -1218,7 +1218,7 @@ function DatabaseGroupSelector({<trkey={group.name}className={cn(- "border-b cursor-pointer hover:bg-gray-50",+ "border-b cursor-pointer hover:bg-control-bg",isSelected && "bg-accent/5")}onClick={() =>@@ -1235,7 +1235,7 @@ function DatabaseGroupSelector({</td><td className="py-2 pr-4"><div className="flex items-center gap-x-1.5">- <FolderTree className="w-4 h-4 text-control-light shrink-0" />+ <FolderTree className="size-4 text-control-light shrink-0" /><span>{extractDatabaseGroupName(group.name)}</span></div></td>diff --git a/frontend/src/react/pages/project/ProjectReleaseDashboardPage.tsx b/frontend/src/react/pages/project/ProjectReleaseDashboardPage.tsxindex b695007eb4..c6a507dcc6 100644--- a/frontend/src/react/pages/project/ProjectReleaseDashboardPage.tsx+++ b/frontend/src/react/pages/project/ProjectReleaseDashboardPage.tsx@@ -120,7 +120,7 @@ export function ProjectReleaseDashboardPage({<div className="mt-2">{paged.isLoading ? (<div className="flex justify-center py-8 text-control-light">- <Loader2 className="w-5 h-5 animate-spin" />+ <Loader2 className="size-5 animate-spin" /></div>) : paged.dataList.length === 0 ? (<div className="flex justify-center py-8 text-control-light">@@ -164,7 +164,7 @@ function CategorySelect({}) {return (<select- className="w-64 border border-control-border rounded-sm text-sm px-3 py-1.5 bg-white focus:outline-none focus:border-accent"+ className="w-64 border border-control-border rounded-sm text-sm px-3 py-1.5 bg-background focus:outline-none focus:border-accent"value={value ?? ""}onChange={(e) => onChange(e.target.value || undefined)}disabled={loading}@@ -241,7 +241,7 @@ function ReleaseRow({ release }: { release: Release }) {return (<tr- className="border-b cursor-pointer hover:bg-gray-50"+ className="border-b cursor-pointer hover:bg-control-bg"onClick={onRowClick}><td className="py-2 px-4">@@ -259,7 +259,7 @@ function ReleaseRow({ release }: { release: Release }) {{showFiles.map((file, idx) => (<p key={idx} className="w-full truncate">{file.version && (- <span className="mr-2 inline-flex items-center rounded-full bg-gray-100 px-2 py-0.5 text-xs">+ <span className="mr-2 inline-flex items-center rounded-full bg-control-bg px-2 py-0.5 text-xs">{file.version}</span>)}@@ -267,7 +267,7 @@ function ReleaseRow({ release }: { release: Release }) {</p>))}{release.files.length > MAX_SHOW_FILES_COUNT && (- <p className="text-gray-400 text-xs italic">+ <p className="text-control-placeholder text-xs italic">{t("release.total-files", { count: release.files.length })}</p>)}diff --git a/frontend/src/react/pages/project/ProjectSettingsPage.tsx b/frontend/src/react/pages/project/ProjectSettingsPage.tsxindex c759f02664..e64014133d 100644--- a/frontend/src/react/pages/project/ProjectSettingsPage.tsx+++ b/frontend/src/react/pages/project/ProjectSettingsPage.tsx@@ -113,9 +113,9 @@ function ApprovalFlowIndicator({}>{configured ? (- <ShieldCheck className="w-4 h-4 text-success" />+ <ShieldCheck className="size-4 text-success" />) : (- <TriangleAlert className="w-4 h-4 text-warning" />+ <TriangleAlert className="size-4 text-warning" />)}</Tooltip>);@@ -675,7 +675,7 @@ export function ProjectSettingsPage() {<div className="font-medium">{t("project.settings.project-labels.self")}</div>- <div className="text-sm text-gray-500 mb-3">+ <div className="text-sm text-control-light mb-3">{t("project.settings.project-labels.description")}</div><LabelListEditor@@ -745,7 +745,7 @@ export function ProjectSettingsPage() {setEnforceReview(false);}}>- <X className="w-4 h-4" />+ <X className="size-4" /></Button>)}</div>@@ -777,7 +777,7 @@ export function ProjectSettingsPage() {feature={PlanFeature.FEATURE_QUERY_POLICY}/></p>- <p className="text-sm text-gray-400 mt-1">+ <p className="text-sm text-control-placeholder mt-1">{t("settings.general.workspace.maximum-sql-result.rows.description")}{" "}@@ -824,7 +824,7 @@ export function ProjectSettingsPage() {source={WorkspaceApprovalSetting_Rule_Source.REQUEST_ROLE}/></div>- <div className="mt-1 text-sm text-gray-400">+ <div className="mt-1 text-sm text-control-placeholder">{t("project.settings.issue-related.allow-request-role.description")}@@ -846,7 +846,7 @@ export function ProjectSettingsPage() {source={WorkspaceApprovalSetting_Rule_Source.REQUEST_ACCESS}/></div>- <div className="mt-1 text-sm text-gray-400">+ <div className="mt-1 text-sm text-control-placeholder">{t("project.settings.issue-related.allow-jit.description")}</div></div>@@ -869,7 +869,7 @@ export function ProjectSettingsPage() {<div className="flex flex-col gap-y-2"><div className="font-medium">{t("project.settings.issue-related.labels.self")}- <div className="text-sm text-gray-500 font-normal">+ <div className="text-sm text-control-light font-normal">{t("project.settings.issue-related.labels.description")}</div></div>@@ -895,7 +895,7 @@ export function ProjectSettingsPage() {className="text-control-light hover:text-main"onClick={() => removeIssueLabel(index)}>- <X className="w-3 h-3" />+ <X className="size-3" /></button>)}</span>@@ -1137,7 +1137,7 @@ export function ProjectSettingsPage() {{/* ============================================================= */}{allowEdit && isDirty && (<div className="sticky bottom-0 z-10">- <div className="flex justify-between w-full py-4 border-t border-block-border bg-white">+ <div className="flex justify-between w-full py-4 border-t border-block-border bg-background"><Button variant="outline" onClick={revert}>{t("common.cancel")}</Button>@@ -1294,11 +1294,11 @@ function ToggleRow({<span className="text-sm font-medium">{label}</span>{warning && (<Tooltip content={warning}>- <TriangleAlert className="w-4 h-4 text-warning" />+ <TriangleAlert className="size-4 text-warning" /></Tooltip>)}</div>- <div className="mt-1 text-sm text-gray-400">{description}</div>+ <div className="mt-1 text-sm text-control-placeholder">{description}</div></div>);}@@ -1321,7 +1321,7 @@ function NumericRow({return (<div><p className="text-sm font-medium">{label}</p>- <p className="mb-3 text-sm text-gray-400">{description}</p>+ <p className="mb-3 text-sm text-control-placeholder">{description}</p><div className="mt-3 w-full flex flex-row justify-start items-center gap-4"><Inputtype="number"diff --git a/frontend/src/react/pages/project/ProjectSyncSchemaPage.tsx b/frontend/src/react/pages/project/ProjectSyncSchemaPage.tsxindex 49dccee7da..2d7e4a4474 100644--- a/frontend/src/react/pages/project/ProjectSyncSchemaPage.tsx+++ b/frontend/src/react/pages/project/ProjectSyncSchemaPage.tsx@@ -411,7 +411,7 @@ export function ProjectSyncSchemaPage({ projectId }: { projectId: string }) {return (<div className="w-full h-full overflow-hidden flex flex-col px-4 py-4">- <p className="text-sm text-gray-500">+ <p className="text-sm text-control-light">{t("database.sync-schema.description")}{" "}<LearnMoreLinkhref="https://docs.bytebase.com/change-database/synchronize-schema?source=console"@@ -420,8 +420,8 @@ export function ProjectSyncSchemaPage({ projectId }: { projectId: string }) {</p>{isLoading ? (- <div className="flex items-center justify-center py-2 text-gray-400 text-sm">- <div className="animate-spin rounded-full h-5 w-5 border-b-2 border-gray-400" />+ <div className="flex items-center justify-center py-2 text-control-placeholder text-sm">+ <div className="animate-spin rounded-full size-5 border-b-2 border-control-placeholder" /></div>) : (<div className="pt-4 flex-1 overflow-hidden flex flex-col gap-y-4">@@ -471,7 +471,7 @@ export function ProjectSyncSchemaPage({ projectId }: { projectId: string }) {variant="outline"onClick={() => handleStepChange(currentStep - 1)}>- <ChevronLeft className="-ml-1 mr-1 h-5 w-5 text-control-light" />+ <ChevronLeft className="-ml-1 mr-1 size-5 text-control-light" /><span>{t("common.back")}</span></Button>)}@@ -526,14 +526,14 @@ function StepIndicator({<div className="flex items-center gap-x-2 px-0.5">{steps.map((step, i) => (<div key={i} className="flex items-center gap-x-2">- {i > 0 && <div className="w-8 h-px bg-gray-300" />}+ {i > 0 && <div className="w-8 h-px bg-control-border" />}<div className="flex items-center gap-x-2"><divclassName={cn(- "w-6 h-6 rounded-full flex items-center justify-center text-xs font-medium",+ "size-6 rounded-full flex items-center justify-center text-xs font-medium",i <= currentIndex- ? "bg-accent text-white"- : "bg-gray-200 text-gray-500"+ ? "bg-accent text-accent-text"+ : "bg-control-bg-hover text-control-light")}>{i + 1}@@ -541,7 +541,9 @@ function StepIndicator({<spanclassName={cn("text-sm",- i <= currentIndex ? "text-accent font-medium" : "text-gray-500"+ i <= currentIndex+ ? "text-accent font-medium"+ : "text-control-light")}>{step.title}@@ -840,14 +842,19 @@ function ChangelogSelector({type="button"disabled={disabled}className={cn(- "w-full flex items-center justify-between gap-2 border border-gray-300 rounded-xs h-9 px-3 text-sm bg-white text-left transition-colors",- "hover:border-gray-400",+ "w-full flex items-center justify-between gap-2 border border-control-border rounded-xs h-9 px-3 text-sm bg-background text-left transition-colors",+ "hover:border-control-border","disabled:opacity-50 disabled:pointer-events-none",open && "border-accent shadow-[0_0_0_1px_var(--color-accent)]")}onClick={() => !disabled && setOpen(!open)}>- <span className={cn("truncate", !selectedEntry && "text-gray-400")}>+ <span+ className={cn(+ "truncate",+ !selectedEntry && "text-control-placeholder"+ )}+ >{selectedEntry ? (<ChangelogLabel entry={selectedEntry} />) : (@@ -856,13 +863,13 @@ function ChangelogSelector({</span><ChevronDownclassName={cn(- "w-4 h-4 text-gray-400 shrink-0 transition-transform",+ "size-4 text-control-placeholder shrink-0 transition-transform",open && "rotate-180")}/></button>{open && (- <div className="absolute z-50 mt-1 min-w-full w-max bg-white border border-gray-200 rounded-sm shadow-lg overflow-hidden">+ <div className="absolute z-50 mt-1 min-w-full w-max bg-background border border-block-border rounded-sm shadow-lg overflow-hidden"><div className="max-h-60 overflow-y-auto">{entries.map((entry) => (<button@@ -870,7 +877,7 @@ function ChangelogSelector({type="button"className={cn("w-full text-left px-3 py-2 text-sm flex items-center gap-2 transition-colors",- "hover:bg-gray-50",+ "hover:bg-control-bg",entry.name === value && "bg-accent/5")}onClick={() => {@@ -884,7 +891,7 @@ function ChangelogSelector({{nextPageToken && (<buttontype="button"- className="w-full text-center px-3 py-2 text-sm text-accent hover:bg-gray-50 transition-colors"+ className="w-full text-center px-3 py-2 text-sm text-accent hover:bg-control-bg transition-colors"onClick={(e) => {e.stopPropagation();loadMore();@@ -908,7 +915,7 @@ function ChangelogLabel({ entry }: { entry: ChangelogEntry }) {{entry.date ? humanizeDate(entry.date) : "Latest version"}</span>{entry.planTitle && (- <span className="inline-flex items-center px-1.5 py-0 rounded-full bg-gray-100 text-xs">+ <span className="inline-flex items-center px-1.5 py-0 rounded-full bg-control-bg text-xs">{entry.planTitle}</span>)}@@ -1092,7 +1099,7 @@ function SourceSchemaInfo({{changelogSourceSchema ? (<><button- className="inline-flex items-center gap-x-1 px-2.5 py-0.5 rounded-full bg-gray-100 hover:bg-gray-200 text-sm transition-colors"+ className="inline-flex items-center gap-x-1 px-2.5 py-0.5 rounded-full bg-control-bg hover:bg-control-bg-hover text-sm transition-colors"onClick={gotoDatabase}><span className="opacity-60">{t("common.database")}</span>@@ -1111,7 +1118,7 @@ function SourceSchemaInfo({</span></button><button- className="inline-flex items-center gap-x-1 px-2.5 py-0.5 rounded-full bg-gray-100 hover:bg-gray-200 text-sm transition-colors"+ className="inline-flex items-center gap-x-1 px-2.5 py-0.5 rounded-full bg-control-bg hover:bg-control-bg-hover text-sm transition-colors"onClick={gotoChangelog}><span className="opacity-60 mr-1">{t("common.changelog")}</span>@@ -1120,10 +1127,10 @@ function SourceSchemaInfo({</>) : (<>- <span className="inline-flex items-center px-2.5 py-0.5 rounded-full bg-gray-100 text-sm">+ <span className="inline-flex items-center px-2.5 py-0.5 rounded-full bg-control-bg text-sm">{t("schema-editor.raw-sql")}</span>- <span className="inline-flex items-center gap-x-1 px-2.5 py-0.5 rounded-full bg-gray-100 text-sm">+ <span className="inline-flex items-center gap-x-1 px-2.5 py-0.5 rounded-full bg-control-bg text-sm"><span className="opacity-60 mr-1">{t("database.engine")}</span>{EngineIconPath[sourceEngine] && (<img@@ -1435,12 +1442,12 @@ function SelectTargetDatabasesView({<div className="w-1/4 min-w-[256px] max-w-xs h-full border-r"><div className="w-full h-full relative flex flex-col justify-start items-start overflow-y-auto pb-2"><div className="w-full h-auto flex flex-col justify-start items-start sticky top-0 z-[1]">- <div className="w-full bg-white border-b p-2 px-3 flex flex-row justify-between items-center sticky top-0 z-[1]">+ <div className="w-full bg-background border-b p-2 px-3 flex flex-row justify-between items-center sticky top-0 z-[1]"><span className="text-sm">{t("database.sync-schema.target-databases")}</span><button- className="p-0.5 rounded-sm bg-gray-100 hover:shadow-sm hover:opacity-80"+ className="p-0.5 rounded-sm bg-control-bg hover:shadow-sm hover:opacity-80"onClick={() => setShowSelectPanel(true)}><Plus className="w-4 h-auto" />@@ -1448,18 +1455,18 @@ function SelectTargetDatabasesView({</div>{targetDatabaseList.length > 0 && (<div className="w-full mt-2 px-2">- <div className="flex rounded-xs bg-gray-100 p-0.5">+ <div className="flex rounded-xs bg-control-bg p-0.5"><buttonclassName={cn("flex-1 text-xs px-2 py-1 rounded-xs transition-colors",showDatabaseWithDiff- ? "bg-white shadow-sm font-medium"- : "text-gray-500 hover:text-gray-700"+ ? "bg-background shadow-sm font-medium"+ : "text-control-light hover:text-control")}onClick={() => setShowDatabaseWithDiff(true)}>{t("database.sync-schema.with-diff")}{" "}- <span className="text-gray-400">+ <span className="text-control-placeholder">({databaseListWithDiff.length})</span></button>@@ -1467,13 +1474,13 @@ function SelectTargetDatabasesView({className={cn("flex-1 text-xs px-2 py-1 rounded-xs transition-colors",!showDatabaseWithDiff- ? "bg-white shadow-sm font-medium"- : "text-gray-500 hover:text-gray-700"+ ? "bg-background shadow-sm font-medium"+ : "text-control-light hover:text-control")}onClick={() => setShowDatabaseWithDiff(false)}>{t("database.sync-schema.no-diff")}{" "}- <span className="text-gray-400">+ <span className="text-control-placeholder">({databaseListWithoutDiff.length})</span></button>@@ -1486,8 +1493,10 @@ function SelectTargetDatabasesView({<divkey={database.name}className={cn(- "w-full group flex flex-row justify-start items-center px-2 py-1 leading-8 cursor-pointer text-sm text-ellipsis whitespace-nowrap rounded-sm hover:bg-gray-50",- database.name === selectedDatabaseName ? "bg-gray-100" : ""+ "w-full group flex flex-row justify-start items-center px-2 py-1 leading-8 cursor-pointer text-sm text-ellipsis whitespace-nowrap rounded-sm hover:bg-control-bg",+ database.name === selectedDatabaseName+ ? "bg-control-bg"+ : "")}onClick={() => onSelectedDatabaseNameChange(database.name)}>@@ -1499,31 +1508,31 @@ function SelectTargetDatabasesView({/>)}<span className="truncate ml-1">- <span className="mx-0.5 text-gray-400">+ <span className="mx-0.5 text-control-placeholder">({getDatabaseEnvironment(database).title})</span><span>{extractDatabaseResourceName(database.name).databaseName}</span>- <span className="ml-0.5 text-gray-400">+ <span className="ml-0.5 text-control-placeholder">({getInstanceResource(database).title})</span></span><div className="grow" /><button- className="hidden shrink-0 group-hover:block ml-1 p-0.5 rounded-sm bg-white hover:shadow-sm"+ className="hidden shrink-0 group-hover:block ml-1 p-0.5 rounded-sm bg-background hover:shadow-sm"onClick={(e) => {e.stopPropagation();handleUnselectDatabase(database);}}>- <Minus className="w-4 h-auto text-gray-500" />+ <Minus className="w-4 h-auto text-control-light" /></button></div>))}{targetDatabaseList.length === 0 && (<div className="w-full h-full -mt-4 flex flex-col justify-center items-center">- <span className="text-gray-400">+ <span className="text-control-placeholder">{t("database.sync-schema.message.no-target-databases")}</span><Button@@ -1557,8 +1566,8 @@ function SelectTargetDatabasesView({</div>)}{(isLoadingDiff || isSourceSchemaLoading) && (- <div className="absolute inset-0 z-10 bg-white/40 backdrop-blur-xs w-full h-full flex flex-col justify-center items-center">- <div className="animate-spin rounded-full h-6 w-6 border-b-2 border-gray-400" />+ <div className="absolute inset-0 z-10 bg-background/40 backdrop-blur-xs w-full h-full flex flex-col justify-center items-center">+ <div className="animate-spin rounded-full size-6 border-b-2 border-control-placeholder" /><span className="mt-1">{t("common.loading")}</span></div>)}@@ -1807,8 +1816,8 @@ function SchemaDiffViewerModal({return (<div className="fixed inset-0 z-50 flex items-center justify-center">- <div className="fixed inset-0 bg-black/50" onClick={onClose} />- <div className="relative bg-white w-full h-screen flex flex-col p-4">+ <div className="fixed inset-0 bg-overlay/50" onClick={onClose} />+ <div className="relative bg-background w-full h-screen flex flex-col p-4"><div className="flex items-center justify-between mb-2"><h2 className="text-lg font-semibold">{title}</h2><Button variant="ghost" size="sm" onClick={onClose}>@@ -1905,7 +1914,7 @@ function CopyButton({ content }: { content: string }) {return (<Button variant="ghost" size="sm" onClick={handleCopy}>- <Copy className="w-4 h-4" />+ <Copy className="size-4" /></Button>);}@@ -2018,8 +2027,8 @@ function TargetDatabasesSelectPanel({return (<div className="fixed inset-0 z-50 flex">- <div className="fixed inset-0 bg-black/50" onClick={onClose} />- <div className="ml-auto relative bg-white w-[64rem] max-w-[100vw] h-full shadow-lg flex flex-col">+ <div className="fixed inset-0 bg-overlay/50" onClick={onClose} />+ <div className="ml-auto relative bg-background w-[64rem] max-w-[100vw] h-full shadow-lg flex flex-col">{/* Header */}<div className="flex items-center justify-between px-6 py-4 border-b border-control-border"><h2 className="text-lg font-semibold">@@ -2046,7 +2055,7 @@ function TargetDatabasesSelectPanel({<div className="flex-1 overflow-y-auto px-6 py-2">{loading ? (<div className="flex items-center justify-center py-8">- <div className="animate-spin rounded-full h-6 w-6 border-b-2 border-gray-400" />+ <div className="animate-spin rounded-full size-6 border-b-2 border-control-placeholder" /></div>) : (<>@@ -2078,7 +2087,7 @@ function TargetDatabasesSelectPanel({{filteredDatabases.map((db) => (<trkey={db.name}- className="border-b hover:bg-gray-50 cursor-pointer"+ className="border-b hover:bg-control-bg cursor-pointer"onClick={() => toggleDatabase(db.name)}><tddiff --git a/frontend/src/react/pages/project/ProjectWebhookForm.tsx b/frontend/src/react/pages/project/ProjectWebhookForm.tsxindex 78e5eef7c1..5128686929 100644--- a/frontend/src/react/pages/project/ProjectWebhookForm.tsx+++ b/frontend/src/react/pages/project/ProjectWebhookForm.tsx@@ -329,7 +329,7 @@ export function ProjectWebhookForm({<><div className="flex flex-row justify-between items-center pt-4"><div className="flex flex-row gap-x-2 items-center">- <WebhookTypeIcon type={webhook.type} className="h-6 w-6" />+ <WebhookTypeIcon type={webhook.type} className="size-6" /><h3 className="text-lg leading-6 font-medium text-main">{webhook.title}</h3>@@ -347,7 +347,7 @@ export function ProjectWebhookForm({{/* Missing external URL warning */}{!externalUrl && (- <div className="mb-6 p-3 border border-red-300 bg-red-50 rounded-xs text-sm text-red-800">+ <div className="mb-6 p-3 border border-error/30 bg-error/5 rounded-xs text-sm text-error"><div className="font-medium">{t("banner.external-url")}</div><div className="mt-1">{t("settings.general.workspace.external-url.description")}@@ -386,7 +386,7 @@ export function ProjectWebhookForm({onClick={() => updateField("type", item.type)}><div className="flex flex-col items-center">- <WebhookTypeIcon type={item.type} className="h-10 w-10" />+ <WebhookTypeIcon type={item.type} className="size-10" /><p className="mt-1 text-center text-sm font-medium">{item.name}</p>@@ -476,7 +476,7 @@ export function ProjectWebhookForm({"project.webhook.activity-support-direct-message")}>- <Info className="w-4 h-4 text-gray-500" />+ <Info className="size-4 text-control-light" /></Tooltip>)}</div>@@ -554,7 +554,7 @@ export function ProjectWebhookForm({{/* Footer */}<div className="w-full sticky bottom-0 z-10">- <div className="w-full py-4 px-4 border-t border-block-border bg-white">+ <div className="w-full py-4 px-4 border-t border-block-border bg-background"><div className="flex justify-end"><div className="flex items-center gap-x-2">{create ? (@@ -632,18 +632,18 @@ function DetailDropdown({<div className="relative"><buttontype="button"- className="p-1 rounded-xs hover:bg-gray-100"+ className="p-1 rounded-xs hover:bg-control-bg"onClick={() => setOpen((v) => !v)}>- <EllipsisVertical className="w-4 h-4" />+ <EllipsisVertical className="size-4" /></button>{open && (<><div className="fixed inset-0 z-10" onClick={() => setOpen(false)} />- <div className="absolute right-0 top-full z-20 mt-1 bg-white border rounded-sm shadow-md min-w-[100px]">+ <div className="absolute right-0 top-full z-20 mt-1 bg-background border rounded-sm shadow-md min-w-[100px]"><buttontype="button"- className="w-full text-left px-3 py-1.5 text-sm hover:bg-gray-50 text-error"+ className="w-full text-left px-3 py-1.5 text-sm hover:bg-control-bg text-error"disabled={loading}onClick={() => {setOpen(false);diff --git a/frontend/src/react/pages/project/ProjectWebhooksPage.tsx b/frontend/src/react/pages/project/ProjectWebhooksPage.tsxindex 30882be548..09c458cd44 100644--- a/frontend/src/react/pages/project/ProjectWebhooksPage.tsx+++ b/frontend/src/react/pages/project/ProjectWebhooksPage.tsx@@ -96,7 +96,7 @@ export function ProjectWebhooksPage({ projectId }: { projectId: string }) {<div className="px-4 pb-2 flex items-center justify-end"><PermissionGuard permissions={["bb.projects.update"]} project={project}><Button disabled={!allowEdit} onClick={handleAdd}>- <Plus className="w-4 h-4 mr-1" />+ <Plus className="size-4 mr-1" />{t("common.create")}</Button></PermissionGuard>@@ -194,15 +194,12 @@ function WebhookTable({return (<trkey={webhook.name}- className="border-b cursor-pointer hover:bg-gray-50"+ className="border-b cursor-pointer hover:bg-control-bg"onClick={(e) => onRowClick(e, webhook)}><td className="py-2 pr-4"><div className="flex items-center gap-x-2">- <WebhookTypeIcon- type={webhook.type}- className="w-5 h-5"- />+ <WebhookTypeIcon type={webhook.type} className="size-5" />{webhook.title}</div></td>@@ -214,7 +211,7 @@ function WebhookTable({{activityTitles.map((title) => (<spankey={title}- className="inline-block px-2 py-0.5 text-xs rounded-xs bg-gray-100 text-gray-700"+ className="inline-block px-2 py-0.5 text-xs rounded-xs bg-control-bg text-control">{title}</span>@@ -250,13 +247,13 @@ function ActionDropdown({<div className="relative flex justify-end"><buttontype="button"- className="p-1 rounded-xs hover:bg-gray-100"+ className="p-1 rounded-xs hover:bg-control-bg"onClick={(e) => {e.stopPropagation();setOpen((v) => !v);}}>- <EllipsisVertical className="w-4 h-4" />+ <EllipsisVertical className="size-4" /></button>{open && (<>@@ -267,10 +264,10 @@ function ActionDropdown({setOpen(false);}}/>- <div className="absolute right-0 top-full z-20 mt-1 bg-white border rounded-sm shadow-md min-w-[100px]">+ <div className="absolute right-0 top-full z-20 mt-1 bg-background border rounded-sm shadow-md min-w-[100px]"><buttontype="button"- className="w-full text-left px-3 py-1.5 text-sm hover:bg-gray-50 text-error"+ className="w-full text-left px-3 py-1.5 text-sm hover:bg-control-bg text-error"onClick={(e) => {e.stopPropagation();setOpen(false);diff --git a/frontend/src/react/pages/project/database-detail/DatabaseExportSchemaButton.tsx b/frontend/src/react/pages/project/database-detail/DatabaseExportSchemaButton.tsxindex 572d8ea810..ad0a04fb9d 100644--- a/frontend/src/react/pages/project/database-detail/DatabaseExportSchemaButton.tsx+++ b/frontend/src/react/pages/project/database-detail/DatabaseExportSchemaButton.tsx@@ -110,12 +110,12 @@ export function DatabaseExportSchemaButton({disabled={disabled || exporting}onClick={() => setOpen((value) => !value)}>- <Download className="h-4 w-4" />+ <Download className="size-4" />{t("database.export-schema")}- <ChevronDown className="h-4 w-4" />+ <ChevronDown className="size-4" /></Button>{open && !disabled && !exporting && (- <div className="absolute right-0 top-full z-20 mt-1 min-w-52 rounded-sm border border-control-border bg-white py-1 shadow-md">+ <div className="absolute right-0 top-full z-20 mt-1 min-w-52 rounded-sm border border-control-border bg-background py-1 shadow-md">{options.map((option) => (<buttonkey={option.key}diff --git a/frontend/src/react/pages/project/database-detail/changelog/DatabaseChangelogTable.tsx b/frontend/src/react/pages/project/database-detail/changelog/DatabaseChangelogTable.tsxindex 6aa0ee6c94..a2be118b0a 100644--- a/frontend/src/react/pages/project/database-detail/changelog/DatabaseChangelogTable.tsx+++ b/frontend/src/react/pages/project/database-detail/changelog/DatabaseChangelogTable.tsx@@ -13,9 +13,9 @@ import { changelogLink } from "@/utils/v1/changelog";function ChangelogStatusIcon({ status }: { status: Changelog_Status }) {if (status === Changelog_Status.PENDING) {return (- <span className="flex h-5 w-5 items-center justify-center rounded-full border-2 border-info bg-white text-info">+ <span className="flex size-5 items-center justify-center rounded-full border-2 border-info bg-background text-info"><span- className="h-2 w-2 rounded-full bg-info"+ className="size-2 rounded-full bg-info"style={{animation: "pulse 2.5s cubic-bezier(0.4, 0, 0.6, 1) infinite",}}@@ -25,14 +25,14 @@ function ChangelogStatusIcon({ status }: { status: Changelog_Status }) {}if (status === Changelog_Status.DONE) {return (- <span className="flex h-5 w-5 items-center justify-center rounded-full bg-success text-white">- <Check className="h-4 w-4" />+ <span className="flex size-5 items-center justify-center rounded-full bg-success text-accent-text">+ <Check className="size-4" /></span>);}if (status === Changelog_Status.FAILED) {return (- <span className="flex h-5 w-5 items-center justify-center rounded-full bg-error text-white">+ <span className="flex size-5 items-center justify-center rounded-full bg-error text-accent-text"><span className="text-base font-normal">!</span></span>);@@ -81,11 +81,11 @@ export function DatabaseChangelogTable({</th></tr></thead>- <tbody className="divide-y divide-block-border bg-white">+ <tbody className="divide-y divide-block-border bg-background">{changelogs.map((changelog) => (<trkey={changelog.name}- className="cursor-pointer hover:bg-gray-50"+ className="cursor-pointer hover:bg-control-bg"onClick={(e) => handleRowClick(changelog, e)}><td className="px-4 py-3 text-center">diff --git a/frontend/src/react/pages/project/database-detail/overview/DatabaseObjectExplorer.tsx b/frontend/src/react/pages/project/database-detail/overview/DatabaseObjectExplorer.tsxindex 95f5421a3c..08d784c421 100644--- a/frontend/src/react/pages/project/database-detail/overview/DatabaseObjectExplorer.tsx+++ b/frontend/src/react/pages/project/database-detail/overview/DatabaseObjectExplorer.tsx@@ -354,7 +354,7 @@ export function DatabaseObjectExplorer({}));return (- <div className="space-y-6 pt-6">+ <div className="flex flex-col gap-6 pt-6">{supportsSchema && (<div className="flex flex-wrap items-center gap-x-2 gap-y-2"><label@@ -365,7 +365,7 @@ export function DatabaseObjectExplorer({</label><selectid="schema-select"- className="min-w-48 rounded-xs border border-control-border bg-white px-3 py-2 text-sm text-main"+ className="min-w-48 rounded-xs border border-control-border bg-background px-3 py-2 text-sm text-main"disabled={loading}value={selectedSchemaName}onChange={(event) =>@@ -383,7 +383,7 @@ export function DatabaseObjectExplorer({{databaseEngine !== Engine.REDIS && (<>- <section className="space-y-4">+ <section className="flex flex-col gap-4"><div className="flex flex-wrap items-center justify-between gap-3"><div className="text-lg font-medium text-main">{databaseEngine === Engine.MONGODB@@ -411,14 +411,14 @@ export function DatabaseObjectExplorer({/></section>- <section className="space-y-4">+ <section className="flex flex-col gap-4"><div className="text-lg font-medium text-main">{t("db.views")}</div><ObjectSectionTable loading={loading} rows={viewRows} /></section>{(databaseEngine === Engine.POSTGRES ||databaseEngine === Engine.HIVE) && (- <section className="space-y-4">+ <section className="flex flex-col gap-4"><div className="flex flex-wrap items-center justify-between gap-3"><div className="text-lg font-medium text-main">{t("db.external-tables")}@@ -438,7 +438,7 @@ export function DatabaseObjectExplorer({)}{databaseEngine === Engine.POSTGRES && (- <section className="space-y-4">+ <section className="flex flex-col gap-4"><div className="text-lg font-medium text-main">{t("db.extensions")}</div>@@ -448,7 +448,7 @@ export function DatabaseObjectExplorer({{(databaseEngine === Engine.POSTGRES ||databaseEngine === Engine.MSSQL) && (- <section className="space-y-4">+ <section className="flex flex-col gap-4"><div className="text-lg font-medium text-main">{t("db.functions")}</div>@@ -457,7 +457,7 @@ export function DatabaseObjectExplorer({)}{instanceV1SupportsSequence(databaseEngine) && (- <section className="space-y-4">+ <section className="flex flex-col gap-4"><div className="text-lg font-medium text-main">{t("db.sequences")}</div>@@ -467,13 +467,13 @@ export function DatabaseObjectExplorer({{databaseEngine === Engine.SNOWFLAKE && (<>- <section className="space-y-4">+ <section className="flex flex-col gap-4"><div className="text-lg font-medium text-main">{t("db.streams")}</div><ObjectSectionTable loading={loading} rows={streamRows} /></section>- <section className="space-y-4">+ <section className="flex flex-col gap-4"><div className="text-lg font-medium text-main">{t("db.tasks")}</div>@@ -483,7 +483,7 @@ export function DatabaseObjectExplorer({)}{instanceV1SupportsPackage(databaseEngine) && (- <section className="space-y-4">+ <section className="flex flex-col gap-4"><div className="text-lg font-medium text-main">{t("db.packages")}</div>diff --git a/frontend/src/react/pages/project/database-detail/overview/ObjectSectionTable.tsx b/frontend/src/react/pages/project/database-detail/overview/ObjectSectionTable.tsxindex ad009c88f9..093ab8c3bc 100644--- a/frontend/src/react/pages/project/database-detail/overview/ObjectSectionTable.tsx+++ b/frontend/src/react/pages/project/database-detail/overview/ObjectSectionTable.tsx@@ -46,7 +46,7 @@ export function ObjectSectionTable({<th className="px-4 py-2 font-medium">{t("common.comment")}</th></tr></thead>- <tbody className="divide-y divide-block-border bg-white">+ <tbody className="divide-y divide-block-border bg-background">{rows.map((row) => (<trkey={row.key}diff --git a/frontend/src/react/pages/project/database-detail/overview/TableDetailDialog.tsx b/frontend/src/react/pages/project/database-detail/overview/TableDetailDialog.tsxindex 6e0434fcea..bd13338498 100644--- a/frontend/src/react/pages/project/database-detail/overview/TableDetailDialog.tsx+++ b/frontend/src/react/pages/project/database-detail/overview/TableDetailDialog.tsx@@ -289,7 +289,7 @@ function MiniActionButton({type="button"aria-label={ariaLabel}data-testid={dataTestId}- className={`inline-flex h-5 w-5 items-center justify-center rounded-xs text-control transition-colors hover:bg-control-bg hover:text-main disabled:cursor-not-allowed disabled:opacity-50 [&_svg]:pointer-events-none ${className ?? ""}`}+ className={`inline-flex size-5 items-center justify-center rounded-xs text-control transition-colors hover:bg-control-bg hover:text-main disabled:cursor-not-allowed disabled:opacity-50 [&_svg]:pointer-events-none ${className ?? ""}`}disabled={disabled}onKeyDown={(event) => event.stopPropagation()}onMouseDown={(event) => event.stopPropagation()}@@ -320,7 +320,7 @@ function ClassificationLevelBadge({(level) => level.level === classificationEntry?.level);const levelColor =- bgColorList[(classificationEntry?.level ?? 0) - 1] ?? "bg-gray-200";+ bgColorList[(classificationEntry?.level ?? 0) - 1] ?? "bg-control-bg-hover";return (<span className="flex min-w-0 items-center gap-x-1">@@ -594,7 +594,7 @@ export function EditableClassificationCell({void onApply("");}}>- <X className="h-3 w-3" />+ <X className="size-3" /></MiniActionButton>)}{!readonly && classificationConfig && (@@ -606,7 +606,7 @@ export function EditableClassificationCell({setShowPicker(true);}}>- <Pencil className="h-3 w-3" />+ <Pencil className="size-3" /></MiniActionButton>)}</div>@@ -691,7 +691,7 @@ function EditableSemanticTypeCell({void onApply("");}}>- <X className="h-3 w-3" />+ <X className="size-3" /></MiniActionButton>)}{!readonly && (@@ -707,7 +707,7 @@ function EditableSemanticTypeCell({setShowPicker(true);}}>- <Pencil className="h-3 w-3" />+ <Pencil className="size-3" /></MiniActionButton>)}</div>@@ -940,7 +940,7 @@ export function TableDetailDialog({<TableHead>{t("database.expression")}</TableHead></TableRow></TableHeader>- <TableBody className="bg-white">+ <TableBody className="bg-background">{partitionRows.map(({ depth, partition }) => (<TableRow key={`${partition.name}-${depth}`}><TableCell className="text-main">@@ -1011,7 +1011,7 @@ export function TableDetailDialog({</th></tr></thead>- <tbody className="divide-y divide-block-border bg-white">+ <tbody className="divide-y divide-block-border bg-background">{filteredColumns.map((column) => (<tr key={column.name}><td className="px-4 py-3 text-sm text-main">@@ -1135,7 +1135,7 @@ export function TableDetailDialog({)}</tr></thead>- <tbody className="divide-y divide-block-border bg-white">+ <tbody className="divide-y divide-block-border bg-background"><tr><td className="px-4 py-3 text-sm text-control">{index.expressions.join(", ") || "-"}@@ -1173,7 +1173,7 @@ export function TableDetailDialog({<TableHead>{t("db.trigger.body")}</TableHead></TableRow></TableHeader>- <TableBody className="bg-white">+ <TableBody className="bg-background">{table.triggers?.map((trigger) => (<TableRow key={trigger.name}><TableCell className="text-main">diff --git a/frontend/src/react/pages/project/database-detail/overview/TableMetadataTable.tsx b/frontend/src/react/pages/project/database-detail/overview/TableMetadataTable.tsxindex f52b01a6a6..251b59aa0a 100644--- a/frontend/src/react/pages/project/database-detail/overview/TableMetadataTable.tsx+++ b/frontend/src/react/pages/project/database-detail/overview/TableMetadataTable.tsx@@ -140,7 +140,7 @@ export function TableMetadataTable({))}</TableRow></TableHeader>- <TableBody className="bg-white">+ <TableBody className="bg-background">{rows.map((table) => {const tableCatalog = catalog? getTableCatalog(catalog, schemaName, table.name)diff --git a/frontend/src/react/pages/project/database-detail/revision/CreateRevisionDialog.tsx b/frontend/src/react/pages/project/database-detail/revision/CreateRevisionDialog.tsxindex 9210026e01..ba37b88e9b 100644--- a/frontend/src/react/pages/project/database-detail/revision/CreateRevisionDialog.tsx+++ b/frontend/src/react/pages/project/database-detail/revision/CreateRevisionDialog.tsx@@ -106,8 +106,8 @@ export function CreateRevisionDialog({<Dialog open={open} onOpenChange={handleOpenChange}><DialogContent className="max-w-3xl p-6"><DialogTitle>{t("database.revision.import-revision")}</DialogTitle>- <div className="mt-4 space-y-4">- <div className="space-y-2">+ <div className="mt-4 flex flex-col gap-4">+ <div className="flex flex-col gap-2"><labelclassName="block text-sm font-medium text-control"htmlFor="revision-version"@@ -137,7 +137,7 @@ export function CreateRevisionDialog({</p>)}</div>- <div className="space-y-2">+ <div className="flex flex-col gap-2"><labelclassName="block text-sm font-medium text-control"htmlFor="revision-type"@@ -160,7 +160,7 @@ export function CreateRevisionDialog({</option></select></div>- <div className="space-y-2">+ <div className="flex flex-col gap-2"><labelclassName="block text-sm font-medium text-control"htmlFor="revision-statement"diff --git a/frontend/src/react/pages/project/database-detail/revision/DatabaseRevisionTable.tsx b/frontend/src/react/pages/project/database-detail/revision/DatabaseRevisionTable.tsxindex cafd574725..d0987d02d7 100644--- a/frontend/src/react/pages/project/database-detail/revision/DatabaseRevisionTable.tsx+++ b/frontend/src/react/pages/project/database-detail/revision/DatabaseRevisionTable.tsx@@ -34,7 +34,7 @@ export function DatabaseRevisionTable({<th className="px-4 py-2 font-medium">{t("common.operations")}</th></tr></thead>- <tbody className="divide-y divide-block-border bg-white">+ <tbody className="divide-y divide-block-border bg-background">{revisions.map((revision) => (<tr key={revision.name}><td className="px-4 py-3 text-sm text-main">diff --git a/frontend/src/react/pages/project/export-center/DataExportPrepDrawer.tsx b/frontend/src/react/pages/project/export-center/DataExportPrepDrawer.tsxindex 76146c98a2..fe2200c935 100644--- a/frontend/src/react/pages/project/export-center/DataExportPrepDrawer.tsx+++ b/frontend/src/react/pages/project/export-center/DataExportPrepDrawer.tsx@@ -299,8 +299,8 @@ export function DataExportPrepDrawer({return (<div className="fixed inset-0 z-50 flex">- <div className="fixed inset-0 bg-black/50" onClick={onClose} />- <div className="ml-auto relative bg-white w-[calc(100vw-8rem)] lg:w-240 max-w-[calc(100vw-8rem)] h-full shadow-lg flex flex-col">+ <div className="fixed inset-0 bg-overlay/50" onClick={onClose} />+ <div className="ml-auto relative bg-background w-[calc(100vw-8rem)] lg:w-240 max-w-[calc(100vw-8rem)] h-full shadow-lg flex flex-col">{/* Header */}<div className="px-6 py-4 border-b border-control-border"><div className="flex flex-col gap-y-3">@@ -312,7 +312,7 @@ export function DataExportPrepDrawer({className="p-1 hover:bg-control-bg rounded-xs"onClick={onClose}>- <X className="w-4 h-4" />+ <X className="size-4" /></button></div>{/* Steps indicator */}@@ -323,7 +323,7 @@ export function DataExportPrepDrawer({active={step === 1}completed={step > 1}/>- <div className="h-px w-8 bg-gray-300" />+ <div className="h-px w-8 bg-control-border" /><StepIndicatornumber={2}label={t("common.configure")}@@ -500,7 +500,7 @@ export function DataExportPrepDrawer({</Button>) : (<Button disabled={!canCreate || creating} onClick={handleCreate}>- {creating && <Loader2 className="w-4 h-4 mr-1 animate-spin" />}+ {creating && <Loader2 className="size-4 mr-1 animate-spin" />}{t("common.create")}</Button>)}@@ -529,16 +529,16 @@ function StepIndicator({<div className="flex items-center gap-x-2"><spanclassName={cn(- "w-6 h-6 rounded-full flex items-center justify-center text-xs font-medium",+ "size-6 rounded-full flex items-center justify-center text-xs font-medium",active- ? "bg-accent text-white"+ ? "bg-accent text-accent-text": completed- ? "bg-success text-white"- : "bg-gray-200 text-gray-500"+ ? "bg-success text-accent-text"+ : "bg-control-bg-hover text-control-light")}>{completed ? (- <svg className="w-3.5 h-3.5" fill="currentColor" viewBox="0 0 20 20">+ <svg className="size-3.5" fill="currentColor" viewBox="0 0 20 20"><pathfillRule="evenodd"d="M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z"@@ -583,7 +583,7 @@ function TargetBadge({ target }: { target: string }) {<div className="inline-flex items-center gap-2 px-2 py-1.5 border rounded-sm min-w-0">{inst && EngineIconPath[inst.engine] && (<img- className="h-4 w-4 shrink-0"+ className="size-4 shrink-0"src={EngineIconPath[inst.engine]}alt=""/>@@ -598,7 +598,7 @@ function TargetBadge({ target }: { target: string }) {const groupName = extractDatabaseGroupName(target);return (<div className="inline-flex items-center gap-2 px-2 py-1.5 border rounded-sm min-w-0">- <FolderTree className="w-4 h-4 shrink-0 text-control-light" />+ <FolderTree className="size-4 shrink-0 text-control-light" /><span className="text-sm truncate">{groupName}</span></div>);@@ -650,8 +650,8 @@ function IssueLabelSelect({<buttontype="button"className={cn(- "w-full flex items-center justify-between gap-2 border border-control-border rounded-sm h-9 px-3 text-sm bg-white text-left transition-colors",- "hover:border-gray-400",+ "w-full flex items-center justify-between gap-2 border border-control-border rounded-sm h-9 px-3 text-sm bg-background text-left transition-colors",+ "hover:border-control-border",open && "border-accent shadow-[0_0_0_1px_var(--color-accent)]")}onClick={() => setOpen(!open)}@@ -663,15 +663,15 @@ function IssueLabelSelect({return (<spankey={val}- className="inline-flex items-center gap-1 px-1.5 py-0.5 rounded-xs bg-gray-100 text-xs"+ className="inline-flex items-center gap-1 px-1.5 py-0.5 rounded-xs bg-control-bg text-xs"><span- className="w-2.5 h-2.5 rounded-sm shrink-0"+ className="size-2.5 rounded-sm shrink-0"style={{ backgroundColor: label?.color }}/>{val}<X- className="w-3 h-3 text-gray-400 hover:text-gray-600"+ className="size-3 text-control-placeholder hover:text-control-light"onClick={(e) => {e.stopPropagation();toggleLabel(val);@@ -682,20 +682,22 @@ function IssueLabelSelect({})}</div>) : (- <span className="text-gray-400">{t("common.select")}</span>+ <span className="text-control-placeholder">+ {t("common.select")}+ </span>)}<ChevronDownclassName={cn(- "w-4 h-4 text-gray-400 shrink-0 transition-transform",+ "size-4 text-control-placeholder shrink-0 transition-transform",open && "rotate-180")}/></button>{open && (- <div className="absolute z-50 mt-1 w-full bg-white border border-gray-200 rounded-sm shadow-lg overflow-hidden">+ <div className="absolute z-50 mt-1 w-full bg-background border border-block-border rounded-sm shadow-lg overflow-hidden"><div className="max-h-60 overflow-y-auto">{labels.length === 0 ? (- <div className="px-3 py-6 text-sm text-gray-400 text-center">+ <div className="px-3 py-6 text-sm text-control-placeholder text-center">{t("common.no-data")}</div>) : (@@ -705,17 +707,17 @@ function IssueLabelSelect({<buttonkey={label.value}type="button"- className="w-full text-left px-3 py-2 text-sm flex items-center gap-2 hover:bg-gray-50 transition-colors"+ className="w-full text-left px-3 py-2 text-sm flex items-center gap-2 hover:bg-control-bg transition-colors"onClick={() => toggleLabel(label.value)}><inputtype="checkbox"checked={isSelected}readOnly- className="rounded-xs border-gray-300 accent-accent"+ className="rounded-xs border-control-border accent-accent"/><span- className="w-4 h-4 rounded-sm shrink-0"+ className="size-4 rounded-sm shrink-0"style={{ backgroundColor: label.color }}/><span>{label.value}</span>@@ -769,7 +771,7 @@ function DatabaseAndGroupSelector({onClick={() => onChangeSourceChange("DATABASE")}><span className="inline-flex items-center gap-x-1.5">- <DatabaseIcon className="w-4 h-4" />+ <DatabaseIcon className="size-4" />{t("common.databases")}</span></button>@@ -784,7 +786,7 @@ function DatabaseAndGroupSelector({onClick={() => onChangeSourceChange("GROUP")}><span className="inline-flex items-center gap-x-1.5">- <FolderTree className="w-4 h-4" />+ <FolderTree className="size-4" />{t("common.database-group")}</span></button>@@ -910,7 +912,7 @@ function DatabaseSelector({{loading ? (<div className="flex justify-center py-8 text-control-light">- <Loader2 className="w-5 h-5 animate-spin" />+ <Loader2 className="size-5 animate-spin" /></div>) : databases.length === 0 ? (<div className="flex justify-center py-8 text-control-light">@@ -950,7 +952,7 @@ function DatabaseSelector({<trkey={db.name}className={cn(- "border-b cursor-pointer hover:bg-gray-50",+ "border-b cursor-pointer hover:bg-control-bg",isSelected && "bg-accent/5")}onClick={() => toggleDatabase(db.name)}@@ -967,7 +969,7 @@ function DatabaseSelector({<div className="flex items-center gap-x-1.5">{inst && EngineIconPath[inst.engine] && (<img- className="h-4 w-4 shrink-0"+ className="size-4 shrink-0"src={EngineIconPath[inst.engine]}alt=""/>@@ -1033,7 +1035,7 @@ function DatabaseGroupSelector({if (loading) {return (<div className="flex justify-center py-8 text-control-light">- <Loader2 className="w-5 h-5 animate-spin" />+ <Loader2 className="size-5 animate-spin" /></div>);}@@ -1063,7 +1065,7 @@ function DatabaseGroupSelector({<trkey={group.name}className={cn(- "border-b cursor-pointer hover:bg-gray-50",+ "border-b cursor-pointer hover:bg-control-bg",isSelected && "bg-accent/5")}onClick={() =>@@ -1080,7 +1082,7 @@ function DatabaseGroupSelector({</td><td className="py-2 pr-4"><div className="flex items-center gap-x-1.5">- <FolderTree className="w-4 h-4 text-control-light shrink-0" />+ <FolderTree className="size-4 text-control-light shrink-0" /><span>{extractDatabaseGroupName(group.name)}</span></div></td>diff --git a/frontend/src/react/pages/settings/CreateInstancePage.tsx b/frontend/src/react/pages/settings/CreateInstancePage.tsxindex ac426816a6..aae942ccac 100644--- a/frontend/src/react/pages/settings/CreateInstancePage.tsx+++ b/frontend/src/react/pages/settings/CreateInstancePage.tsx@@ -141,7 +141,7 @@ function CreateInstanceFormInner() {</div>{/* Sticky footer */}- <div className="sticky bottom-0 z-10 bg-white">+ <div className="sticky bottom-0 z-10 bg-background"><InstanceFormButtons /></div></div>diff --git a/frontend/src/react/pages/settings/DataClassificationPage.tsx b/frontend/src/react/pages/settings/DataClassificationPage.tsxindex dfb63cbda3..2c9f06d7d6 100644--- a/frontend/src/react/pages/settings/DataClassificationPage.tsx+++ b/frontend/src/react/pages/settings/DataClassificationPage.tsx@@ -219,7 +219,7 @@ function LevelBadge({}) {const levelObj = config.levels.find((l) => l.level === level);if (!levelObj) return null;- const color = bgColorList[level - 1] ?? "bg-gray-200";+ const color = bgColorList[level - 1] ?? "bg-control-bg-hover";return (<span className={`ml-1 px-1 py-0.5 rounded-xs text-xs ${color}`}>{levelObj.title}@@ -288,7 +288,7 @@ function ClassificationTreeNode({>{hasChildren ? (<ChevronRight- className={`w-4 h-4 shrink-0 transition-transform ${expanded ? "rotate-90" : ""}`}+ className={`size-4 shrink-0 transition-transform ${expanded ? "rotate-90" : ""}`}/>) : (<span className="w-4 shrink-0" />@@ -330,7 +330,7 @@ function ClassificationTree({);return (- <div className="space-y-4 h-full">+ <div className="flex flex-col gap-4 h-full"><div><SearchInputvalue={searchText}@@ -603,7 +603,7 @@ export function DataClassificationPage() {{editing && (<>- <div className="text-sm text-control-light space-y-1">+ <div className="text-sm text-control-light flex flex-col gap-1"><p>{t("settings.sensitive-data.classification.guide-intro")}</p><ul className="list-disc list-inside"><li>diff --git a/frontend/src/react/pages/settings/IDPDetailPage.tsx b/frontend/src/react/pages/settings/IDPDetailPage.tsxindex 6ca7415d17..61bb8d5b4b 100644--- a/frontend/src/react/pages/settings/IDPDetailPage.tsx+++ b/frontend/src/react/pages/settings/IDPDetailPage.tsx@@ -79,15 +79,15 @@ function TestConnectionResultDialog({return (<div- className="fixed inset-0 z-[60] flex items-center justify-center bg-black/50"+ className="fixed inset-0 z-[60] flex items-center justify-center bg-overlay/50"onClick={(e) => {if (e.target === e.currentTarget) onClose();}}>- <div className="bg-white rounded-sm shadow-lg w-[32rem] max-h-[80vh] overflow-auto p-6">+ <div className="bg-background rounded-sm shadow-lg w-[32rem] max-h-[80vh] overflow-auto p-6"><div className="flex items-center justify-between mb-4"><div className="flex items-center gap-x-2">- <div className="w-6 h-6 text-green-500">✓</div>+ <div className="size-6 text-success">✓</div><h3 className="text-lg font-medium">{t("identity-provider.test-connection-success")}</h3>@@ -101,12 +101,12 @@ function TestConnectionResultDialog({<p className="text-sm text-control-light">{t("identity-provider.userinfo-description")}</p>- <div className="bg-gray-50 rounded-xs p-4">+ <div className="bg-control-bg rounded-xs p-4"><div className="flex flex-col gap-y-1">{Object.entries(response.userInfo).map(([key, value]) => (<divkey={key}- className="grid grid-cols-3 gap-2 py-1 border-b border-gray-200 last:border-b-0"+ className="grid grid-cols-3 gap-2 py-1 border-b border-block-border last:border-b-0"><divclassName="text-sm font-medium text-control truncate"@@ -128,7 +128,7 @@ function TestConnectionResultDialog({<p className="text-sm text-control-light">{t("identity-provider.claims-description")}</p>- <div className="bg-gray-50 rounded-xs p-4">+ <div className="bg-control-bg rounded-xs p-4">{Object.keys(response.claims).length === 0 ? (<div className="text-sm text-control-light italic">{t("identity-provider.no-claims")}@@ -138,7 +138,7 @@ function TestConnectionResultDialog({{Object.entries(response.claims).map(([key, value]) => (<divkey={key}- className="grid grid-cols-3 gap-2 py-1 border-b border-gray-200 last:border-b-0"+ className="grid grid-cols-3 gap-2 py-1 border-b border-block-border last:border-b-0"><divclassName="text-sm font-medium text-control truncate"@@ -342,14 +342,14 @@ function DeleteConfirmDialog({return (<div- className="fixed inset-0 z-[60] flex items-center justify-center bg-black/50"+ className="fixed inset-0 z-[60] flex items-center justify-center bg-overlay/50"onClick={(e) => {if (e.target === e.currentTarget) onCancel();}}>- <div className="bg-white rounded-sm shadow-lg w-96 p-6">+ <div className="bg-background rounded-sm shadow-lg w-96 p-6"><h3 className="text-lg font-medium mb-2">{t("settings.sso.delete")}</h3>- <p className="text-sm text-gray-600 mb-6">+ <p className="text-sm text-control-light mb-6">{t("identity-provider.delete-warning")}</p><div className="flex justify-end gap-x-2">@@ -399,7 +399,7 @@ function ProviderConfigForm({<div className="flex flex-col gap-y-6"><div className="grid grid-cols-1 md:grid-cols-2 gap-6"><div>- <label className="block text-base font-semibold text-gray-800 mb-2">+ <label className="block text-base font-semibold text-main mb-2">Client ID <span className="text-error">*</span></label><Input@@ -414,7 +414,7 @@ function ProviderConfigForm({/></div><div>- <label className="block text-base font-semibold text-gray-800 mb-2">+ <label className="block text-base font-semibold text-main mb-2">Client Secret{" "}{!isEditMode && <span className="text-error">*</span>}</label>@@ -437,7 +437,7 @@ function ProviderConfigForm({</div><div>- <label className="block text-base font-semibold text-gray-800 mb-2">+ <label className="block text-base font-semibold text-main mb-2">{t("settings.sso.form.auth-url")}{" "}<span className="text-error">*</span></label>@@ -448,13 +448,13 @@ function ProviderConfigForm({}placeholder={t("settings.sso.form.auth-url-placeholder")}/>- <p className="text-sm text-gray-600 mt-1">+ <p className="text-sm text-control-light mt-1">{t("settings.sso.form.auth-url-description")}</p></div><div>- <label className="block text-base font-semibold text-gray-800 mb-2">+ <label className="block text-base font-semibold text-main mb-2">{t("settings.sso.form.token-url")}{" "}<span className="text-error">*</span></label>@@ -465,13 +465,13 @@ function ProviderConfigForm({}placeholder={t("settings.sso.form.token-url-placeholder")}/>- <p className="text-sm text-gray-600 mt-1">+ <p className="text-sm text-control-light mt-1">{t("settings.sso.form.token-url-description")}</p></div><div>- <label className="block text-base font-semibold text-gray-800 mb-2">+ <label className="block text-base font-semibold text-main mb-2">{t("settings.sso.form.user-info-url")}{" "}<span className="text-error">*</span></label>@@ -485,13 +485,13 @@ function ProviderConfigForm({}placeholder={t("settings.sso.form.user-info-url-placeholder")}/>- <p className="text-sm text-gray-600 mt-1">+ <p className="text-sm text-control-light mt-1">{t("settings.sso.form.user-info-url-description")}</p></div><div>- <label className="block text-base font-semibold text-gray-800 mb-2">+ <label className="block text-base font-semibold text-main mb-2">{t("settings.sso.form.scopes")}{" "}<span className="text-error">*</span></label>@@ -500,13 +500,13 @@ function ProviderConfigForm({onChange={(e) => onUpdateScopes(e.target.value)}placeholder={t("settings.sso.form.scopes-placeholder")}/>- <p className="text-sm text-gray-600 mt-1">+ <p className="text-sm text-control-light mt-1">{t("settings.sso.form.scopes-description")}</p></div><div>- <label className="block text-base font-semibold text-gray-800 mb-3">+ <label className="block text-base font-semibold text-main mb-3">{t("settings.sso.form.authentication-style")}{" "}<span className="text-error">*</span></label>@@ -530,7 +530,7 @@ function ProviderConfigForm({<div className="font-medium">{t("settings.sso.form.in-parameters")}</div>- <div className="text-sm text-gray-600">+ <div className="text-sm text-control-light">{t("settings.sso.form.in-parameters-description")}</div></div>@@ -554,7 +554,7 @@ function ProviderConfigForm({<div className="font-medium">{t("settings.sso.form.in-header")}</div>- <div className="text-sm text-gray-600">+ <div className="text-sm text-control-light">{t("settings.sso.form.in-header-description")}</div></div>@@ -563,7 +563,7 @@ function ProviderConfigForm({</div><div>- <label className="block text-base font-semibold text-gray-800 mb-3">+ <label className="block text-base font-semibold text-main mb-3">{t("settings.sso.form.security-options")}</label><label className="flex items-center gap-x-2 cursor-pointer">@@ -579,7 +579,7 @@ function ProviderConfigForm({/><span>{t("settings.sso.form.skip-tls-verification")}</span></label>- <p className="text-sm text-gray-600 mt-1 ml-6">+ <p className="text-sm text-control-light mt-1 ml-6">{t("settings.sso.form.skip-tls-warning")}</p></div>@@ -591,7 +591,7 @@ function ProviderConfigForm({return (<div className="flex flex-col gap-y-6"><div>- <label className="block text-base font-semibold text-gray-800 mb-2">+ <label className="block text-base font-semibold text-main mb-2">Issuer URL <span className="text-error">*</span></label><Input@@ -601,14 +601,14 @@ function ProviderConfigForm({}placeholder={t("settings.sso.form.issuer-url-placeholder")}/>- <p className="text-sm text-gray-600 mt-1">+ <p className="text-sm text-control-light mt-1">{t("settings.sso.form.issuer-url-description")}</p></div><div className="grid grid-cols-1 md:grid-cols-2 gap-6"><div>- <label className="block text-base font-semibold text-gray-800 mb-2">+ <label className="block text-base font-semibold text-main mb-2">Client ID <span className="text-error">*</span></label><Input@@ -620,7 +620,7 @@ function ProviderConfigForm({/></div><div>- <label className="block text-base font-semibold text-gray-800 mb-2">+ <label className="block text-base font-semibold text-main mb-2">Client Secret{" "}{!isEditMode && <span className="text-error">*</span>}</label>@@ -643,7 +643,7 @@ function ProviderConfigForm({</div><div>- <label className="block text-base font-semibold text-gray-800 mb-2">+ <label className="block text-base font-semibold text-main mb-2">{t("settings.sso.form.scopes")}{" "}<span className="text-error">*</span></label>@@ -652,13 +652,13 @@ function ProviderConfigForm({onChange={(e) => onUpdateScopes(e.target.value)}placeholder={t("settings.sso.form.scopes-placeholder-oidc")}/>- <p className="text-sm text-gray-600 mt-1">+ <p className="text-sm text-control-light mt-1">{t("settings.sso.form.openid-scopes-description")}</p></div><div>- <label className="block text-base font-semibold text-gray-800 mb-3">+ <label className="block text-base font-semibold text-main mb-3">{t("settings.sso.form.authentication-style")}{" "}<span className="text-error">*</span></label>@@ -680,7 +680,7 @@ function ProviderConfigForm({<div className="font-medium">{t("settings.sso.form.in-parameters")}</div>- <div className="text-sm text-gray-600">+ <div className="text-sm text-control-light">{t("settings.sso.form.in-parameters-description")}</div></div>@@ -702,7 +702,7 @@ function ProviderConfigForm({<div className="font-medium">{t("settings.sso.form.in-header")}</div>- <div className="text-sm text-gray-600">+ <div className="text-sm text-control-light">{t("settings.sso.form.in-header-description")}</div></div>@@ -711,7 +711,7 @@ function ProviderConfigForm({</div><div>- <label className="block text-base font-semibold text-gray-800 mb-3">+ <label className="block text-base font-semibold text-main mb-3">{t("settings.sso.form.security-options")}</label><label className="flex items-center gap-x-2 cursor-pointer">@@ -727,7 +727,7 @@ function ProviderConfigForm({/><span>{t("settings.sso.form.skip-tls-verification")}</span></label>- <p className="text-sm text-gray-600 mt-1 ml-6">+ <p className="text-sm text-control-light mt-1 ml-6">{t("settings.sso.form.skip-tls-warning")}</p></div>@@ -740,7 +740,7 @@ function ProviderConfigForm({<div className="flex flex-col gap-y-6"><div className="grid grid-cols-1 md:grid-cols-3 gap-6"><div className="md:col-span-2">- <label className="block text-base font-semibold text-gray-800 mb-2">+ <label className="block text-base font-semibold text-main mb-2">Host <span className="text-error">*</span></label><Input@@ -752,7 +752,7 @@ function ProviderConfigForm({/></div><div>- <label className="block text-base font-semibold text-gray-800 mb-2">+ <label className="block text-base font-semibold text-main mb-2">Port <span className="text-error">*</span></label><Input@@ -772,7 +772,7 @@ function ProviderConfigForm({</div><div>- <label className="block text-base font-semibold text-gray-800 mb-2">+ <label className="block text-base font-semibold text-main mb-2">{t("settings.sso.form.bind-dn")}{" "}<span className="text-error">*</span></label>@@ -783,13 +783,13 @@ function ProviderConfigForm({}placeholder={t("settings.sso.form.bind-dn-placeholder")}/>- <p className="text-sm text-gray-600 mt-1">+ <p className="text-sm text-control-light mt-1">{t("settings.sso.form.bind-dn-description")}</p></div><div>- <label className="block text-base font-semibold text-gray-800 mb-2">+ <label className="block text-base font-semibold text-main mb-2">{t("settings.sso.form.bind-password")}{" "}{!isEditMode && <span className="text-error">*</span>}</label>@@ -811,7 +811,7 @@ function ProviderConfigForm({</div><div>- <label className="block text-base font-semibold text-gray-800 mb-2">+ <label className="block text-base font-semibold text-main mb-2">{t("settings.sso.form.base-dn")}{" "}<span className="text-error">*</span></label>@@ -822,13 +822,13 @@ function ProviderConfigForm({}placeholder={t("settings.sso.form.base-dn-placeholder")}/>- <p className="text-sm text-gray-600 mt-1">+ <p className="text-sm text-control-light mt-1">{t("settings.sso.form.base-dn-description")}</p></div><div>- <label className="block text-base font-semibold text-gray-800 mb-2">+ <label className="block text-base font-semibold text-main mb-2">{t("settings.sso.form.user-filter")}{" "}<span className="text-error">*</span></label>@@ -839,13 +839,13 @@ function ProviderConfigForm({}placeholder={t("settings.sso.form.user-filter-placeholder")}/>- <p className="text-sm text-gray-600 mt-1">+ <p className="text-sm text-control-light mt-1">{t("settings.sso.form.user-filter-description")}</p></div><div>- <label className="block text-base font-semibold text-gray-800 mb-3">+ <label className="block text-base font-semibold text-main mb-3">{t("settings.sso.form.security-protocol")}{" "}<span className="text-error">*</span></label>@@ -871,7 +871,7 @@ function ProviderConfigForm({<div className="font-medium">{t("settings.sso.form.starttls")}</div>- <div className="text-sm text-gray-600">+ <div className="text-sm text-control-light">{t("settings.sso.form.starttls-description")}</div></div>@@ -897,7 +897,7 @@ function ProviderConfigForm({<div className="font-medium">{t("settings.sso.form.ldaps")}</div>- <div className="text-sm text-gray-600">+ <div className="text-sm text-control-light">{t("settings.sso.form.ldaps-description")}</div></div>@@ -921,7 +921,7 @@ function ProviderConfigForm({/><div><div className="font-medium">{t("settings.sso.form.none")}</div>- <div className="text-sm text-gray-600">+ <div className="text-sm text-control-light">{t("settings.sso.form.none-description")}</div></div>@@ -930,7 +930,7 @@ function ProviderConfigForm({</div><div>- <label className="block text-base font-semibold text-gray-800 mb-3">+ <label className="block text-base font-semibold text-main mb-3">{t("settings.sso.form.security-options")}</label><label className="flex items-center gap-x-2 cursor-pointer">@@ -946,7 +946,7 @@ function ProviderConfigForm({/><span>{t("settings.sso.form.skip-tls-verification")}</span></label>- <p className="text-sm text-gray-600 mt-1 ml-6">+ <p className="text-sm text-control-light mt-1 ml-6">{t("settings.sso.form.skip-tls-warning")}</p></div>@@ -983,15 +983,15 @@ function FieldMappingForm({placeholder={t("settings.sso.form.identifier-placeholder")}/><div className="flex items-center text-base">- <ArrowRight className="mx-2 h-5 w-5 text-gray-400" />- <p className="flex items-center font-semibold text-gray-800">+ <ArrowRight className="mx-2 h-5 w-5 text-control-placeholder" />+ <p className="flex items-center font-semibold text-main">{t("settings.sso.form.identifier")}<span className="ml-0.5 text-error">*</span><spanclassName="ml-1"title={t("settings.sso.form.identifier-tips")}>- <Info className="w-4 h-4 text-blue-500" />+ <Info className="size-4 text-accent" /></span></p></div>@@ -1006,8 +1006,8 @@ function FieldMappingForm({placeholder={t("settings.sso.form.display-name-placeholder")}/><div className="flex items-center text-base">- <ArrowRight className="mx-2 h-5 w-5 text-gray-400" />- <p className="font-semibold text-gray-800">+ <ArrowRight className="mx-2 h-5 w-5 text-control-placeholder" />+ <p className="font-semibold text-main">{t("settings.sso.form.display-name")}</p></div>@@ -1020,8 +1020,8 @@ function FieldMappingForm({placeholder={t("settings.sso.form.phone-placeholder")}/><div className="flex items-center text-base">- <ArrowRight className="mx-2 h-5 w-5 text-gray-400" />- <p className="font-semibold text-gray-800">+ <ArrowRight className="mx-2 h-5 w-5 text-control-placeholder" />+ <p className="font-semibold text-main">{t("settings.sso.form.phone")}</p></div>@@ -1038,13 +1038,13 @@ function FieldMappingForm({placeholder={t("settings.sso.form.groups-placeholder")}/><div className="flex items-center text-base">- <ArrowRight className="mx-2 h-5 w-5 text-gray-400" />- <p className="font-semibold text-gray-800">+ <ArrowRight className="mx-2 h-5 w-5 text-control-placeholder" />+ <p className="font-semibold text-main">{t("settings.sso.form.groups")}</p></div></div>- <p className="text-sm text-gray-600">+ <p className="text-sm text-control-light">{t("settings.sso.form.groups-description")}</p></>@@ -1461,7 +1461,7 @@ export function IDPDetailPage() {if (isLoading) {return (<div className="w-full h-64 flex items-center justify-center">- <div className="animate-spin rounded-full h-8 w-8 border-b-2 border-accent" />+ <div className="animate-spin rounded-full size-8 border-b-2 border-accent" /></div>);}@@ -1494,16 +1494,16 @@ export function IDPDetailPage() {</div><div className="flex-1 mt-4 lg:px-4 lg:mt-0 flex flex-col gap-y-6"><div>- <p className="text-base font-semibold text-gray-800 mb-2">+ <p className="text-base font-semibold text-main mb-2">{t("common.type")}</p>- <div className="flex items-center gap-x-3 p-3 bg-gray-50 rounded-xs">- <ProviderIcon className="w-5 h-5 text-gray-600" />- <span className="text-base font-medium text-gray-800">+ <div className="flex items-center gap-x-3 p-3 bg-control-bg rounded-xs">+ <ProviderIcon className="w-5 h-5 text-control-light" />+ <span className="text-base font-medium text-main">{identityProviderTypeToString(localIdp.type)}</span></div>- <p className="text-sm text-gray-600 mt-1">+ <p className="text-sm text-control-light mt-1">{t("settings.sso.form.provider-type-readonly-hint")}</p></div>@@ -1533,7 +1533,7 @@ export function IDPDetailPage() {</div><div>- <p className="text-base font-semibold text-gray-800 mb-2">+ <p className="text-base font-semibold text-main mb-2">{t("settings.sso.form.domain")}</p><Input@@ -1544,7 +1544,7 @@ export function IDPDetailPage() {}placeholder={t("settings.sso.form.domain-description")}/>- <p className="text-sm text-gray-600 mt-1">+ <p className="text-sm text-control-light mt-1">{t("settings.sso.form.domain-optional-hint")}</p></div>@@ -1557,7 +1557,7 @@ export function IDPDetailPage() {<h1 className="text-2xl font-bold">{t("settings.sso.form.configuration")}</h1>- <p className="text-base text-gray-600 mt-3">+ <p className="text-base text-control-light mt-3">{t("settings.sso.form.configuration-description")}</p></div>@@ -1583,7 +1583,7 @@ export function IDPDetailPage() {<h1 className="text-2xl font-bold">{t("settings.sso.form.user-information-mapping")}</h1>- <p className="text-base text-gray-600 mt-3">+ <p className="text-base text-control-light mt-3">{t("settings.sso.form.user-information-mapping-description")}</p></div>diff --git a/frontend/src/react/pages/settings/InstancesPage.tsx b/frontend/src/react/pages/settings/InstancesPage.tsxindex 44e70d141a..8f7e8b8bb9 100644--- a/frontend/src/react/pages/settings/InstancesPage.tsx+++ b/frontend/src/react/pages/settings/InstancesPage.tsx@@ -182,15 +182,15 @@ function ConfirmDialog({const borderColor = variant === "error" ? "border-error" : "border-warning";const okBg =variant === "error"- ? "bg-error hover:bg-error-hover text-white"- : "bg-warning hover:bg-warning-hover text-white";+ ? "bg-error hover:bg-error-hover text-accent-text"+ : "bg-warning hover:bg-warning-hover text-accent-text";return (<div className="fixed inset-0 z-50 flex items-center justify-center">- <div className="fixed inset-0 bg-black/50" onClick={onCancel} />+ <div className="fixed inset-0 bg-overlay/50" onClick={onCancel} /><divclassName={cn(- "relative bg-white rounded-sm shadow-lg max-w-lg w-full mx-4 border-t-4",+ "relative bg-background rounded-sm shadow-lg max-w-lg w-full mx-4 border-t-4",borderColor)}>@@ -389,7 +389,7 @@ function InstanceActionDropdown({<EllipsisVertical className="h-4 w-4" /></button>{open && (- <div className="absolute right-0 top-full mt-1 bg-white border border-control-border rounded-sm shadow-lg z-10 min-w-[120px]">+ <div className="absolute right-0 top-full mt-1 bg-background border border-control-border rounded-sm shadow-lg z-10 min-w-[120px]">{isActive && canArchive && (<buttonclassName="w-full text-left px-3 py-2 text-sm hover:bg-control-bg flex items-center gap-x-2"@@ -484,7 +484,10 @@ function LabelsDisplay({ labels }: { labels: { [key: string]: string } }) {return (<div className="flex items-center gap-x-1">{displayEntries.map(([key, value]) => (- <span key={key} className="rounded-xs bg-gray-100 py-0.5 px-2 text-sm">+ <span+ key={key}+ className="rounded-xs bg-control-bg py-0.5 px-2 text-sm"+ >{key}:{value}</span>))}@@ -521,8 +524,8 @@ function EditEnvironmentDrawer({return (<div className="fixed inset-0 z-50 flex">- <div className="fixed inset-0 bg-black/50" onClick={onClose} />- <div className="ml-auto relative bg-white w-[24rem] max-w-[100vw] h-full shadow-lg flex flex-col">+ <div className="fixed inset-0 bg-overlay/50" onClick={onClose} />+ <div className="ml-auto relative bg-background w-[24rem] max-w-[100vw] h-full shadow-lg flex flex-col"><div className="flex items-center justify-between px-6 py-4 border-b border-control-border"><h2 className="text-lg font-semibold">{t("common.environment")}</h2><button@@ -541,7 +544,7 @@ function EditEnvironmentDrawer({"flex items-center gap-x-3 px-3 py-2 rounded-xs cursor-pointer border",selected === env.name? "border-accent bg-accent/5"- : "border-transparent hover:bg-gray-50"+ : "border-transparent hover:bg-control-bg")}><input@@ -554,7 +557,7 @@ function EditEnvironmentDrawer({<div className="flex items-center gap-x-2">{env.color && (<span- className="inline-block w-3 h-3 rounded-full"+ className="inline-block size-3 rounded-full"style={{ backgroundColor: env.color }}/>)}@@ -613,7 +616,7 @@ function SyncDropdown({<ChevronDown className="h-3 w-3 ml-1" /></Button>{open && (- <div className="absolute left-0 top-full mt-1 bg-white border border-control-border rounded-sm shadow-lg z-10 min-w-[200px]">+ <div className="absolute left-0 top-full mt-1 bg-background border border-control-border rounded-sm shadow-lg z-10 min-w-[200px]"><buttonclassName="w-full text-left px-3 py-2 text-sm hover:bg-control-bg"title={t("instance.sync.sync-all-tip")}@@ -1118,7 +1121,7 @@ export function InstancesPage() {const renderSortIndicator = (columnKey: string) => {if (sortKey !== columnKey) {- return <ChevronDown className="h-3 w-3 text-gray-300" />;+ return <ChevronDown className="size-3 text-control-border" />;}return (<ChevronDown@@ -1195,7 +1198,7 @@ export function InstancesPage() {<div className="overflow-x-auto"><table className="w-full text-sm min-w-[900px]"><thead>- <tr className="bg-gray-50 border-b border-control-border">+ <tr className="bg-control-bg border-b border-control-border"><th className="w-12 px-4 py-2"><inputref={headerCheckboxRef}@@ -1243,7 +1246,7 @@ export function InstancesPage() {className="px-4 py-8 text-center text-control-placeholder"><div className="flex items-center justify-center gap-x-2">- <div className="animate-spin h-4 w-4 border-2 border-accent border-t-transparent rounded-full" />+ <div className="animate-spin size-4 border-2 border-accent border-t-transparent rounded-full" />{t("common.loading")}</div></td>@@ -1267,8 +1270,8 @@ export function InstancesPage() {<trkey={instance.name}className={cn(- "border-b last:border-b-0 cursor-pointer hover:bg-gray-50",- i % 2 === 1 && "bg-gray-50/50"+ "border-b last:border-b-0 cursor-pointer hover:bg-control-bg",+ i % 2 === 1 && "bg-control-bg/50")}onClick={(e) => handleRowClick(instance, e)}>diff --git a/frontend/src/react/pages/settings/MembersPage.tsx b/frontend/src/react/pages/settings/MembersPage.tsxindex 941125f50e..74d762d224 100644--- a/frontend/src/react/pages/settings/MembersPage.tsx+++ b/frontend/src/react/pages/settings/MembersPage.tsx@@ -154,7 +154,7 @@ function MemberTable({<div className="border rounded-sm overflow-hidden"><table className="w-full text-sm"><thead>- <tr className="bg-gray-50 border-b">+ <tr className="bg-control-bg border-b">{allowEdit && (<th className="w-10 px-3 py-2"><input@@ -179,7 +179,7 @@ function MemberTable({{bindings.map((mb) => (<trkey={mb.binding}- className="border-b last:border-b-0 hover:bg-gray-50"+ className="border-b last:border-b-0 hover:bg-control-bg">{allowEdit && (<td className="px-3 py-2">@@ -196,8 +196,8 @@ function MemberTable({{mb.type === "users" ? (<UserAvatar title={mb.title || mb.user?.email || "?"} />) : (- <div className="h-9 w-9 rounded-full bg-gray-200 flex items-center justify-center shrink-0">- <Users className="h-4 w-4 text-gray-500" />+ <div className="size-9 rounded-full bg-control-bg-hover flex items-center justify-center shrink-0">+ <Users className="size-4 text-control-light" /></div>)}<div className="flex flex-col">@@ -387,7 +387,7 @@ function MemberTableByRole({return (<React.Fragment key={role}><tr- className="bg-gray-50 border-b cursor-pointer hover:bg-gray-100"+ className="bg-control-bg border-b cursor-pointer hover:bg-control-bg"onClick={() => toggleRole(role)}><td colSpan={3} className="px-4 py-2">@@ -413,7 +413,7 @@ function MemberTableByRole({members.map((mb) => (<trkey={`${role}-${mb.binding}`}- className="border-b last:border-b-0 hover:bg-gray-50"+ className="border-b last:border-b-0 hover:bg-control-bg"><td className="px-4 py-2 pl-10"><div className="flex items-center gap-x-3">@@ -423,8 +423,8 @@ function MemberTableByRole({size="sm"/>) : (- <div className="h-7 w-7 rounded-full bg-gray-200 flex items-center justify-center shrink-0">- <Users className="h-3.5 w-3.5 text-gray-500" />+ <div className="size-7 rounded-full bg-control-bg-hover flex items-center justify-center shrink-0">+ <Users className="size-3.5 text-control-light" /></div>)}<div className="flex flex-col">@@ -653,7 +653,7 @@ function EnvironmentMultiSelect({</div>{open && (- <div className="absolute z-50 mt-1 w-full bg-white border border-control-border rounded-sm shadow-lg max-h-60 overflow-auto">+ <div className="absolute z-50 mt-1 w-full bg-background border border-control-border rounded-sm shadow-lg max-h-60 overflow-auto">{environmentList.length === 0 && (<div className="px-3 py-2 text-sm text-control-light">{t("common.no-data")}@@ -664,14 +664,14 @@ function EnvironmentMultiSelect({return (<divkey={env.name}- className="flex items-center gap-x-2 px-3 py-1.5 text-sm hover:bg-gray-50 cursor-pointer"+ className="flex items-center gap-x-2 px-3 py-1.5 text-sm hover:bg-control-bg cursor-pointer"onClick={() => toggle(env.name)}><divclassName={cn(- "h-4 w-4 rounded-xs border flex items-center justify-center shrink-0",+ "size-4 rounded-xs border flex items-center justify-center shrink-0",selected- ? "bg-accent border-accent text-white"+ ? "bg-accent border-accent text-accent-text": "border-control-border")}>@@ -850,12 +850,12 @@ function ProjectRoleBindingForm({<label className="block text-sm font-medium text-control">{t("common.permissions")}</label>- <div className="max-h-32 overflow-auto border rounded-sm bg-gray-50 p-2">+ <div className="max-h-32 overflow-auto border rounded-sm bg-control-bg p-2"><div className="flex flex-wrap gap-1">{permissions.map((perm) => (<spankey={perm}- className="inline-block rounded-xs bg-gray-200 px-1.5 py-0.5 text-xs text-control-light"+ className="inline-block rounded-xs bg-control-bg-hover px-1.5 py-0.5 text-xs text-control-light">{perm}</span>@@ -940,8 +940,8 @@ function ProjectRoleBindingForm({className={cn("px-2.5 py-1 text-xs rounded-sm border transition-colors",isSelected- ? "bg-accent text-white border-accent"- : "bg-white text-control border-control-border hover:bg-gray-50"+ ? "bg-accent text-accent-text border-accent"+ : "bg-background text-control border-control-border hover:bg-control-bg")}onClick={() => handleExpirationChange(preset.days)}>@@ -1317,11 +1317,11 @@ function EditMemberRoleDrawer({const memberEmail = member.user?.email ?? member.binding;return (<>- <div className="fixed inset-0 z-40 bg-black/30" onClick={onClose} />+ <div className="fixed inset-0 z-40 bg-overlay/30" onClick={onClose} /><divrole="dialog"aria-modal="true"- className="fixed inset-y-0 right-0 z-50 w-[40rem] max-w-[100vw] bg-white shadow-xl flex flex-col"+ className="fixed inset-y-0 right-0 z-50 w-[40rem] max-w-[100vw] bg-background shadow-xl flex flex-col">{/* Header */}<div className="flex items-center justify-between px-6 py-4 border-b">@@ -1366,7 +1366,7 @@ function EditMemberRoleDrawer({className="border rounded-sm">{/* Role header */}- <div className="flex items-center justify-between px-4 py-3 bg-gray-50 border-b">+ <div className="flex items-center justify-between px-4 py-3 bg-control-bg border-b"><span className="font-medium text-sm">{displayRoleTitle(binding.role)}</span>@@ -1512,11 +1512,11 @@ function EditMemberRoleDrawer({// Workspace edit mode, workspace/project create mode — original UIreturn (<>- <div className="fixed inset-0 z-40 bg-black/30" onClick={onClose} />+ <div className="fixed inset-0 z-40 bg-overlay/30" onClick={onClose} /><divrole="dialog"aria-modal="true"- className="fixed inset-y-0 right-0 z-50 w-[40rem] max-w-[100vw] bg-white shadow-xl flex flex-col"+ className="fixed inset-y-0 right-0 z-50 w-[40rem] max-w-[100vw] bg-background shadow-xl flex flex-col"><div className="flex items-center justify-between px-6 py-4 border-b"><h2 className="text-lg font-medium">diff --git a/frontend/src/react/pages/settings/ProjectsPage.tsx b/frontend/src/react/pages/settings/ProjectsPage.tsxindex c3c3b207ac..e852498b67 100644--- a/frontend/src/react/pages/settings/ProjectsPage.tsx+++ b/frontend/src/react/pages/settings/ProjectsPage.tsx@@ -162,15 +162,15 @@ function ConfirmDialog({const borderColor = variant === "error" ? "border-error" : "border-warning";const okBg =variant === "error"- ? "bg-error hover:bg-error-hover text-white"- : "bg-warning hover:bg-warning-hover text-white";+ ? "bg-error hover:bg-error-hover text-accent-text"+ : "bg-warning hover:bg-warning-hover text-accent-text";return (<div className="fixed inset-0 z-50 flex items-center justify-center">- <div className="fixed inset-0 bg-black/50" onClick={onCancel} />+ <div className="fixed inset-0 bg-overlay/50" onClick={onCancel} /><divclassName={cn(- "relative bg-white rounded-sm shadow-lg max-w-lg w-full mx-4 border-t-4",+ "relative bg-background rounded-sm shadow-lg max-w-lg w-full mx-4 border-t-4",borderColor)}>@@ -300,8 +300,8 @@ function CreateProjectDrawer({return (<div className="fixed inset-0 z-50 flex">- <div className="fixed inset-0 bg-black/50" onClick={closeDrawer} />- <div className="ml-auto relative bg-white w-[40rem] max-w-[100vw] h-full shadow-lg flex flex-col">+ <div className="fixed inset-0 bg-overlay/50" onClick={closeDrawer} />+ <div className="ml-auto relative bg-background w-[40rem] max-w-[100vw] h-full shadow-lg flex flex-col"><div className="flex items-center justify-between px-6 py-4 border-b border-control-border"><h2 className="text-lg font-semibold">{t("common.project")}</h2><button@@ -340,8 +340,8 @@ function CreateProjectDrawer({</div>{isCreating && (- <div className="absolute inset-0 bg-white/50 flex justify-center items-center">- <div className="animate-spin h-6 w-6 border-2 border-accent border-t-transparent rounded-full" />+ <div className="absolute inset-0 bg-background/50 flex justify-center items-center">+ <div className="animate-spin size-6 border-2 border-accent border-t-transparent rounded-full" /></div>)}</div>@@ -515,7 +515,7 @@ function BatchOperationsBar({><ProjectListPreviewprojects={selectedProjects}- iconColor="text-green-600"+ iconColor="text-success"/></ConfirmDialog>@@ -530,7 +530,7 @@ function BatchOperationsBar({><ProjectListPreviewprojects={selectedProjects}- iconColor="text-green-600"+ iconColor="text-success"/></ConfirmDialog>@@ -548,7 +548,7 @@ function BatchOperationsBar({<div className="flex flex-col gap-y-3"><ProjectListPreviewprojects={selectedProjects}- iconColor="text-red-600"+ iconColor="text-error"/><div className="rounded-sm border border-error bg-error/5 p-3"><p className="text-sm font-medium text-error">@@ -572,13 +572,13 @@ function ProjectListPreview({iconColor: string;}) {return (- <div className="max-h-40 overflow-y-auto border rounded-sm p-2 bg-gray-50">+ <div className="max-h-40 overflow-y-auto border rounded-sm p-2 bg-control-bg"><div className="flex flex-col gap-y-1">{projects.map((project) => (<div key={project.name} className="text-sm flex items-center gap-x-2">- <Check className={cn("w-3 h-3", iconColor)} />+ <Check className={cn("size-3", iconColor)} /><span>{project.title}</span>- <span className="text-gray-500">+ <span className="text-control-light">({extractProjectResourceName(project.name)})</span></div>@@ -668,7 +668,7 @@ function ProjectActionDropdown({<EllipsisVertical className="h-4 w-4" /></button>{open && (- <div className="absolute right-0 top-full mt-1 bg-white border border-control-border rounded-sm shadow-lg z-10 min-w-[120px]">+ <div className="absolute right-0 top-full mt-1 bg-background border border-control-border rounded-sm shadow-lg z-10 min-w-[120px]">{isActive && canDelete && (<buttonclassName="w-full text-left px-3 py-2 text-sm hover:bg-control-bg flex items-center gap-x-2"@@ -1022,7 +1022,7 @@ export function ProjectsPage() {const renderSortIndicator = (columnKey: string) => {if (sortKey !== columnKey) {- return <ChevronDown className="h-3 w-3 text-gray-300" />;+ return <ChevronDown className="size-3 text-control-border" />;}return (<ChevronDown@@ -1080,7 +1080,7 @@ export function ProjectsPage() {<div className="overflow-x-auto"><table className="w-full text-sm min-w-[700px]"><thead>- <tr className="bg-gray-50 border-b border-control-border">+ <tr className="bg-control-bg border-b border-control-border">{canDelete && (<th className="w-12 px-4 py-2"><input@@ -1117,7 +1117,7 @@ export function ProjectsPage() {className="px-4 py-8 text-center text-control-placeholder"><div className="flex items-center justify-center gap-x-2">- <div className="animate-spin h-4 w-4 border-2 border-accent border-t-transparent rounded-full" />+ <div className="animate-spin size-4 border-2 border-accent border-t-transparent rounded-full" />{t("common.loading")}</div></td>@@ -1141,8 +1141,8 @@ export function ProjectsPage() {<trkey={project.name}className={cn(- "border-b last:border-b-0 cursor-pointer hover:bg-gray-50",- i % 2 === 1 && "bg-gray-50/50"+ "border-b last:border-b-0 cursor-pointer hover:bg-control-bg",+ i % 2 === 1 && "bg-control-bg/50")}onClick={(e) => handleRowClick(project, e)}>@@ -1239,7 +1239,10 @@ function LabelsDisplay({ labels }: { labels: { [key: string]: string } }) {return (<div className="flex items-center gap-x-1">{displayEntries.map(([key, value]) => (- <span key={key} className="rounded-xs bg-gray-100 py-0.5 px-2 text-sm">+ <span+ key={key}+ className="rounded-xs bg-control-bg py-0.5 px-2 text-sm"+ >{key}:{value}</span>))}diff --git a/frontend/src/react/pages/settings/PurchaseSection.tsx b/frontend/src/react/pages/settings/PurchaseSection.tsxindex 969e25985f..a53e22aa94 100644--- a/frontend/src/react/pages/settings/PurchaseSection.tsx+++ b/frontend/src/react/pages/settings/PurchaseSection.tsx@@ -363,7 +363,7 @@ export function PurchaseSection({ onRequireEnterprise }: PurchaseSectionProps) {{!isFreePlan && !isExpired && (<>{paymentInfo && (- <div className="space-y-2">+ <div className="flex flex-col gap-2"><div className="text-lg font-medium">{t("subscription.purchase.payment-info")}</div>@@ -461,10 +461,10 @@ export function PurchaseSection({ onRequireEnterprise }: PurchaseSectionProps) {<span className="text-main">{t("subscription.purchase.seats")}</span>- <div className="ml-auto flex items-center h-7 rounded-xs bg-gray-200 text-gray-600">+ <div className="ml-auto flex items-center h-7 rounded-xs bg-control-bg-hover text-control-light"><buttontype="button"- className="px-2 h-full rounded-l hover:bg-gray-300 disabled:opacity-50 cursor-pointer"+ className="px-2 h-full rounded-l hover:bg-control-border disabled:opacity-50 cursor-pointer"disabled={seats <= (card.userAdditional.minimumCount || 1)}@@ -482,7 +482,7 @@ export function PurchaseSection({ onRequireEnterprise }: PurchaseSectionProps) {<span className="w-8 text-center text-sm">{seats}</span><buttontype="button"- className="px-2 h-full rounded-r hover:bg-gray-300 disabled:opacity-50 cursor-pointer"+ className="px-2 h-full rounded-r hover:bg-control-border disabled:opacity-50 cursor-pointer"disabled={card.userAdditional.maximumCount > 0 &&seats >= card.userAdditional.maximumCount@@ -605,7 +605,7 @@ function PlanCard({<h3 className="text-3xl font-semibold text-main">{title}</h3><p className="text-control-placeholder mt-1 text-sm">{description}</p><div className="mt-4 mb-2 flex items-baseline">{pricing}</div>- <div className="mb-4 space-y-1 text-sm">+ <div className="mb-4 flex flex-col gap-1 text-sm">{features.map((f, i) => (<div key={i} className="flex items-start"><Check className="h-3.5 w-3.5 text-control-light mr-2 mt-0.5 shrink-0" />diff --git a/frontend/src/react/pages/settings/RiskAssessmentPage.tsx b/frontend/src/react/pages/settings/RiskAssessmentPage.tsxindex d436e77e38..24d04e4d9c 100644--- a/frontend/src/react/pages/settings/RiskAssessmentPage.tsx+++ b/frontend/src/react/pages/settings/RiskAssessmentPage.tsx@@ -14,7 +14,7 @@ export function RiskAssessmentPage() {{t("custom-approval.risk.description")}</div>- <div className="space-y-6">+ <div className="flex flex-col gap-6"><div><h3 className="text-lg font-medium text-main mb-2">{t("custom-approval.risk.how-it-works")}@@ -28,7 +28,7 @@ export function RiskAssessmentPage() {<h3 className="text-lg font-medium text-main mb-3">{t("custom-approval.risk.risk-levels")}</h3>- <div className="space-y-3">+ <div className="flex flex-col gap-3"><div className="flex items-start gap-x-3"><Badge variant="destructive">{t("custom-approval.risk-rule.risk.risk-level.high")}diff --git a/frontend/src/react/pages/settings/SQLReviewDetailPage.tsx b/frontend/src/react/pages/settings/SQLReviewDetailPage.tsxindex 7d007e762f..d921eaa631 100644--- a/frontend/src/react/pages/settings/SQLReviewDetailPage.tsx+++ b/frontend/src/react/pages/settings/SQLReviewDetailPage.tsx@@ -361,7 +361,7 @@ export function SQLReviewDetailPage({{/* Sticky save bar when rules changed */}{rulesUpdated && (- <div className="w-full mt-4 py-2 border-t border-control-border flex justify-between bg-white sticky bottom-0 z-10">+ <div className="w-full mt-4 py-2 border-t border-control-border flex justify-between bg-background sticky bottom-0 z-10"><Button variant="outline" onClick={onCancelChanges}>{t("common.cancel")}</Button>diff --git a/frontend/src/react/pages/settings/SemanticTypesPage.tsx b/frontend/src/react/pages/settings/SemanticTypesPage.tsxindex 4a6b227550..0c34a949cf 100644--- a/frontend/src/react/pages/settings/SemanticTypesPage.tsx+++ b/frontend/src/react/pages/settings/SemanticTypesPage.tsx@@ -386,7 +386,7 @@ export function SemanticTypesPage() {<div className="border border-control-border rounded-sm"><table className="w-full text-sm"><thead>- <tr className="bg-gray-50 border-b border-control-border">+ <tr className="bg-control-bg border-b border-control-border"><th className="px-3 py-2 font-medium w-20 text-center">{t("settings.sensitive-data.semantic-types.table.icon")}</th>@@ -678,8 +678,8 @@ function MaskingAlgorithmDrawer({return (<div className="fixed inset-0 z-50 flex justify-end">- <div className="absolute inset-0 bg-black/40" onClick={onDismiss} />- <div className="relative w-[40rem] max-w-[calc(100vw-5rem)] bg-white shadow-xl flex flex-col">+ <div className="absolute inset-0 bg-overlay/40" onClick={onDismiss} />+ <div className="relative w-[40rem] max-w-[calc(100vw-5rem)] bg-background shadow-xl flex flex-col"><div className="flex items-center justify-between px-6 py-4 border-b border-control-border"><h2 className="text-lg font-medium">{t(@@ -687,7 +687,7 @@ function MaskingAlgorithmDrawer({)}</h2><button- className="p-1 rounded-xs hover:bg-gray-200 text-gray-500"+ className="p-1 rounded-xs hover:bg-control-bg-hover text-control-light"onClick={onDismiss}><X className="w-5 h-5" />@@ -699,7 +699,7 @@ function MaskingAlgorithmDrawer({<div className="mb-6"><label className="text-sm font-medium">{t("settings.sensitive-data.algorithms.table.masking-type")}- <span className="text-red-500 ml-0.5">*</span>+ <span className="text-error ml-0.5">*</span></label><div className="grid grid-cols-3 gap-2 mt-2">{maskingTypeOptions.map((opt) => (@@ -708,7 +708,7 @@ function MaskingAlgorithmDrawer({className={`px-3 py-2 text-sm border rounded-sm transition-colors ${maskingType === opt.value? "border-accent bg-accent/10 text-accent"- : "border-control-border hover:bg-gray-50"+ : "border-control-border hover:bg-control-bg"}`}onClick={() => onMaskingTypeChange(opt.value)}>@@ -725,7 +725,7 @@ function MaskingAlgorithmDrawer({{t("settings.sensitive-data.algorithms.full-mask.substitution")}- <span className="text-red-500 ml-0.5">*</span>+ <span className="text-error ml-0.5">*</span></label><p className="text-sm text-control-placeholder mt-1">{t(@@ -755,7 +755,7 @@ function MaskingAlgorithmDrawer({{t("settings.sensitive-data.algorithms.range-mask.slice-start")}- <span className="text-red-500 ml-0.5">*</span>+ <span className="text-error ml-0.5">*</span></label><Inputtype="number"@@ -777,7 +777,7 @@ function MaskingAlgorithmDrawer({{t("settings.sensitive-data.algorithms.range-mask.slice-end")}- <span className="text-red-500 ml-0.5">*</span>+ <span className="text-error ml-0.5">*</span></label><Inputtype="number"@@ -793,7 +793,7 @@ function MaskingAlgorithmDrawer({{t("settings.sensitive-data.algorithms.range-mask.substitution")}- <span className="text-red-500 ml-0.5">*</span>+ <span className="text-error ml-0.5">*</span></label><Inputvalue={slice.substitution}@@ -803,7 +803,7 @@ function MaskingAlgorithmDrawer({/></div><button- className="p-1 rounded-xs hover:bg-red-100 text-red-500 mb-0.5"+ className="p-1 rounded-xs hover:bg-error/10 text-error mb-0.5"onClick={() =>setRangeMaskSlices((prev) =>prev.filter((_, idx) => idx !== i)@@ -815,9 +815,7 @@ function MaskingAlgorithmDrawer({</div>))}{rangeMaskErrorMessage && (- <p className="text-red-600 text-sm">- {rangeMaskErrorMessage}- </p>+ <p className="text-error text-sm">{rangeMaskErrorMessage}</p>)}<Buttonvariant="outline"@@ -845,7 +843,7 @@ function MaskingAlgorithmDrawer({<div><label className="text-sm font-medium">{t("settings.sensitive-data.algorithms.md5-mask.salt")}- <span className="text-red-500 ml-0.5">*</span>+ <span className="text-error ml-0.5">*</span></label><p className="text-sm text-control-placeholder mt-1">{t("settings.sensitive-data.algorithms.md5-mask.salt-label")}@@ -868,7 +866,7 @@ function MaskingAlgorithmDrawer({{t("settings.sensitive-data.algorithms.inner-outer-mask.type")}- <span className="text-red-500 ml-0.5">*</span>+ <span className="text-error ml-0.5">*</span></label><p className="text-sm text-control-placeholder mt-1">{innerOuterType === Algorithm_InnerOuterMask_MaskType.INNER@@ -924,7 +922,7 @@ function MaskingAlgorithmDrawer({{t("settings.sensitive-data.algorithms.inner-outer-mask.prefix-length")}- <span className="text-red-500 ml-0.5">*</span>+ <span className="text-error ml-0.5">*</span></label><Inputtype="number"@@ -942,7 +940,7 @@ function MaskingAlgorithmDrawer({{t("settings.sensitive-data.algorithms.inner-outer-mask.suffix-length")}- <span className="text-red-500 ml-0.5">*</span>+ <span className="text-error ml-0.5">*</span></label><Inputtype="number"@@ -960,7 +958,7 @@ function MaskingAlgorithmDrawer({{t("settings.sensitive-data.algorithms.range-mask.substitution")}- <span className="text-red-500 ml-0.5">*</span>+ <span className="text-error ml-0.5">*</span></label><Inputvalue={innerOuterSubstitution}@@ -1009,14 +1007,14 @@ function SemanticTemplateDrawer({return (<div className="fixed inset-0 z-50 flex justify-end">- <div className="absolute inset-0 bg-black/40" onClick={onDismiss} />- <div className="relative w-2xl max-w-[100vw] bg-white shadow-xl flex flex-col">+ <div className="absolute inset-0 bg-overlay/40" onClick={onDismiss} />+ <div className="relative w-2xl max-w-[100vw] bg-background shadow-xl flex flex-col"><div className="flex items-center justify-between px-6 py-4 border-b border-control-border"><h2 className="text-lg font-medium">{t("settings.sensitive-data.semantic-types.table.semantic-type")}</h2><button- className="p-1 rounded-xs hover:bg-gray-200 text-gray-500"+ className="p-1 rounded-xs hover:bg-control-bg-hover text-control-light"onClick={onDismiss}><X className="w-5 h-5" />@@ -1029,7 +1027,7 @@ function SemanticTemplateDrawer({<div className="border border-control-border rounded-sm overflow-hidden"><table className="w-full text-sm"><thead>- <tr className="bg-gray-50 border-b border-control-border">+ <tr className="bg-control-bg border-b border-control-border"><th className="px-3 py-2 text-left font-medium">ID</th><th className="px-3 py-2 text-left font-medium">{t(@@ -1054,7 +1052,7 @@ function SemanticTemplateDrawer({return (<trkey={template.id}- className="border-b border-control-border last:border-b-0 hover:bg-gray-50 cursor-pointer"+ className="border-b border-control-border last:border-b-0 hover:bg-control-bg cursor-pointer"onClick={() => onApply(template)}><td className="px-3 py-2">{template.id}</td>@@ -1068,7 +1066,7 @@ function SemanticTemplateDrawer({)}</span><span- className="text-gray-400 cursor-help"+ className="text-control-placeholder cursor-help"title={t(`dynamic.settings.sensitive-data.semantic-types.template.${key}.algorithm.description`)}@@ -1133,7 +1131,7 @@ function SemanticTypeRow({const isEditing = row.mode !== "NORMAL";return (- <tr className="border-b border-control-border last:border-b-0 even:bg-gray-50/50">+ <tr className="border-b border-control-border last:border-b-0 even:bg-control-bg/50"><td className="px-3 py-2 text-center">{isEditing && !isItemReadonly ? (<IconPicker@@ -1149,7 +1147,7 @@ function SemanticTypeRow({/></div>) : (- <span className="text-gray-400">-</span>+ <span className="text-control-placeholder">-</span>)}</td><td className="px-3 py-2 truncate max-w-36" title={row.item.id}>@@ -1208,7 +1206,7 @@ function SemanticTypeRow({</div>}>- <span className="text-gray-400 cursor-help">+ <span className="text-control-placeholder cursor-help"><Info className="w-4 h-4" /></span></Tooltip>@@ -1224,7 +1222,7 @@ function SemanticTypeRow({)}{!isItemReadonly && (<button- className="p-1 rounded-xs hover:bg-gray-200 text-gray-500"+ className="p-1 rounded-xs hover:bg-control-bg-hover text-control-light"onClick={() => {const algo = getMaskingType(row.item.algorithm)? row.item.algorithm@@ -1253,7 +1251,7 @@ function SemanticTypeRow({<>{isEditing && (<button- className="p-1 rounded-xs hover:bg-gray-200 text-gray-500"+ className="p-1 rounded-xs hover:bg-control-bg-hover text-control-light"onClick={() => onCancel(index)}><Undo2 className="w-4 h-4" />@@ -1280,7 +1278,7 @@ function SemanticTypeRow({)}{row.mode === "NORMAL" && (<button- className="p-1 rounded-xs hover:bg-gray-200 text-gray-500"+ className="p-1 rounded-xs hover:bg-control-bg-hover text-control-light"onClick={() => onStartEdit(index)}><Pencil className="w-4 h-4" />@@ -1338,7 +1336,7 @@ function IconPicker({ value, onChange }: IconPickerProps) {<div className="flex items-center gap-1"><img src={value} className="w-6 h-6 object-contain" alt="" /><button- className="p-0.5 rounded-xs hover:bg-gray-200 text-gray-500"+ className="p-0.5 rounded-xs hover:bg-control-bg-hover text-control-light"onClick={handleOpen}><Pencil className="w-3 h-3" />@@ -1346,16 +1344,16 @@ function IconPicker({ value, onChange }: IconPickerProps) {</div>) : (<button- className="p-1 rounded-xs hover:bg-gray-200 text-gray-500"+ className="p-1 rounded-xs hover:bg-control-bg-hover text-control-light"onClick={handleOpen}><Pencil className="w-4 h-4" /></button>)}{open && (- <div className="absolute left-0 top-full z-20 mt-1 bg-white border border-control-border rounded-sm shadow-lg p-3">+ <div className="absolute left-0 top-full z-20 mt-1 bg-background border border-control-border rounded-sm shadow-lg p-3"><div- className="w-48 h-48 flex justify-center items-center border border-dashed border-gray-300 rounded-sm relative cursor-pointer"+ className="w-48 h-48 flex justify-center items-center border border-dashed border-control-border rounded-sm relative cursor-pointer"onClick={() => fileInputRef.current?.click()}>{tempValue ? (@@ -1364,7 +1362,7 @@ function IconPicker({ value, onChange }: IconPickerProps) {style={{ backgroundImage: `url(${tempValue})` }}/>) : (- <span className="text-sm text-gray-400">+ <span className="text-sm text-control-placeholder">{t("common.upload")}</span>)}@@ -1426,13 +1424,13 @@ function DeleteConfirmButton({return (<div className="relative" ref={popoverRef}><button- className="p-1 rounded-xs hover:bg-red-100 text-red-500"+ className="p-1 rounded-xs hover:bg-error/10 text-error"onClick={() => onShowChange(!show)}><Trash2 className="w-4 h-4" /></button>{show && (- <div className="absolute right-0 top-full z-10 mt-1 bg-white border border-control-border rounded-sm shadow-lg p-3 whitespace-nowrap">+ <div className="absolute right-0 top-full z-10 mt-1 bg-background border border-control-border rounded-sm shadow-lg p-3 whitespace-nowrap"><p className="text-sm mb-2">{message}</p><div className="flex justify-end gap-x-2"><Buttondiff --git a/frontend/src/react/pages/settings/ServiceAccountsPage.tsx b/frontend/src/react/pages/settings/ServiceAccountsPage.tsxindex e6ba8edd5a..b3da894d1f 100644--- a/frontend/src/react/pages/settings/ServiceAccountsPage.tsx+++ b/frontend/src/react/pages/settings/ServiceAccountsPage.tsx@@ -166,7 +166,7 @@ function ServiceAccountTable({return (<trkey={user.name}- className={`border-b last:border-b-0 ${i % 2 === 1 ? "bg-gray-50" : ""}`}+ className={`border-b last:border-b-0 ${i % 2 === 1 ? "bg-control-bg" : ""}`}>{/* Account column */}<td className="px-4 py-2">@@ -496,13 +496,13 @@ function CreateServiceAccountDrawer({return (<>{/* Backdrop */}- <div className="fixed inset-0 z-40 bg-black/30" onClick={onClose} />+ <div className="fixed inset-0 z-40 bg-overlay/30" onClick={onClose} />{/* Drawer */}<divrole="dialog"aria-modal="true"- className="fixed inset-y-0 right-0 z-50 w-[40rem] max-w-[100vw] bg-white shadow-xl flex flex-col"+ className="fixed inset-y-0 right-0 z-50 w-[40rem] max-w-[100vw] bg-background shadow-xl flex flex-col">{/* Header */}<div className="flex items-center justify-between px-6 py-4 border-b">@@ -729,7 +729,7 @@ export function ServiceAccountsPage({ projectId }: { projectId?: string }) {{/* Active list */}{activeData.isLoading && activeData.dataList.length === 0 ? (<div className="flex items-center justify-center h-32">- <div className="animate-spin h-6 w-6 border-2 border-accent border-t-transparent rounded-full" />+ <div className="animate-spin size-6 border-2 border-accent border-t-transparent rounded-full" /></div>) : (<>@@ -771,7 +771,7 @@ export function ServiceAccountsPage({ projectId }: { projectId?: string }) {{inactiveData.isLoading && inactiveData.dataList.length === 0 ? (<div className="flex items-center justify-center h-32">- <div className="animate-spin h-6 w-6 border-2 border-accent border-t-transparent rounded-full" />+ <div className="animate-spin size-6 border-2 border-accent border-t-transparent rounded-full" /></div>) : (<>diff --git a/frontend/src/react/pages/settings/general/AIAugmentationSection.tsx b/frontend/src/react/pages/settings/general/AIAugmentationSection.tsxindex ad7b5240d5..5bd92c273f 100644--- a/frontend/src/react/pages/settings/general/AIAugmentationSection.tsx+++ b/frontend/src/react/pages/settings/general/AIAugmentationSection.tsx@@ -245,7 +245,7 @@ export const AIAugmentationSection = forwardRef<)}</span></div>- <div className="mt-1 mb-3 text-sm text-gray-400">+ <div className="mt-1 mb-3 text-sm text-control-placeholder">{t("settings.general.workspace.ai-assistant.description")}{" "}<LearnMoreLinkhref="https://docs.bytebase.com/ai-assistant?source=console"@@ -267,7 +267,7 @@ export const AIAugmentationSection = forwardRef<</span></label><select- className="w-48 border border-control-border rounded-xs px-3 py-1.5 text-sm bg-white disabled:opacity-50"+ className="w-48 border border-control-border rounded-xs px-3 py-1.5 text-sm bg-background disabled:opacity-50"value={state.provider}disabled={!canEdit}onChange={(e) =>@@ -308,7 +308,7 @@ export const AIAugmentationSection = forwardRef<)}</span></label>- <div className="mb-3 text-sm text-gray-400">+ <div className="mb-3 text-sm text-control-placeholder">{t("settings.general.workspace.ai-assistant.api-key.description",{@@ -356,7 +356,7 @@ export const AIAugmentationSection = forwardRef<)}</span></label>- <div className="mb-3 text-sm text-gray-400">+ <div className="mb-3 text-sm text-control-placeholder">{t("settings.general.workspace.ai-assistant.endpoint.description")}@@ -381,7 +381,7 @@ export const AIAugmentationSection = forwardRef<)}</span></label>- <div className="mb-3 text-sm text-gray-400">+ <div className="mb-3 text-sm text-control-placeholder">{t("settings.general.workspace.ai-assistant.model.description")}diff --git a/frontend/src/react/pages/settings/general/GeneralPage.tsx b/frontend/src/react/pages/settings/general/GeneralPage.tsxindex 9641726f3e..9f11bc69fb 100644--- a/frontend/src/react/pages/settings/general/GeneralPage.tsx+++ b/frontend/src/react/pages/settings/general/GeneralPage.tsx@@ -228,7 +228,7 @@ export function GeneralPage() {{isDirty && (<div className="sticky bottom-0 z-10 -mb-4">- <div className="flex justify-between w-full py-4 border-t border-block-border bg-white">+ <div className="flex justify-between w-full py-4 border-t border-block-border bg-background"><Button variant="outline" onClick={handleRevert}>{t("common.cancel")}</Button>diff --git a/frontend/src/react/pages/settings/general/GeneralSection.tsx b/frontend/src/react/pages/settings/general/GeneralSection.tsxindex 5ae67eafe7..2a8ccc2ad2 100644--- a/frontend/src/react/pages/settings/general/GeneralSection.tsx+++ b/frontend/src/react/pages/settings/general/GeneralSection.tsx@@ -204,7 +204,7 @@ export const GeneralSection = forwardRef<SectionHandle, GeneralSectionProps>({t("settings.general.workspace.external-url.self")}</span></label>- <div className="mb-3 text-sm text-gray-400">+ <div className="mb-3 text-sm text-control-placeholder">{t("settings.general.workspace.external-url.description")}{" "}<LearnMoreLinkhref="https://docs.bytebase.com/get-started/self-host/external-url?source=console"@@ -235,10 +235,10 @@ export const GeneralSection = forwardRef<SectionHandle, GeneralSectionProps>({showModal && (<div className="fixed inset-0 z-50 flex items-center justify-center"><div- className="fixed inset-0 bg-black/40"+ className="fixed inset-0 bg-overlay/40"onClick={() => setShowModal(false)}/>- <div className="relative bg-white rounded-sm shadow-lg p-6 max-w-md w-full mx-4 flex flex-col gap-2">+ <div className="relative bg-background rounded-sm shadow-lg p-6 max-w-md w-full mx-4 flex flex-col gap-2"><h2 className="text-lg font-semibold">{t("settings.general.workspace.config-updated")}</h2>diff --git a/frontend/src/react/plugins/agent/components/AgentChat.tsx b/frontend/src/react/plugins/agent/components/AgentChat.tsxindex 2efb3a9448..675f4a3771 100644--- a/frontend/src/react/plugins/agent/components/AgentChat.tsx+++ b/frontend/src/react/plugins/agent/components/AgentChat.tsx@@ -92,7 +92,7 @@ export function AgentChat({ className }: AgentChatProps) {return (<divref={chatContainerRef}- className={`overflow-y-auto space-y-3 p-3 ${className ?? ""}`}+ className={`flex flex-col overflow-y-auto gap-3 p-3 ${className ?? ""}`}>{displayMessages.map((msg) =>msg.role === "user" ? (@@ -104,7 +104,7 @@ export function AgentChat({ className }: AgentChatProps) {) : (<div key={msg.id} className="flex flex-col gap-y-2">{msg.content && (- <div className="max-w-[80%] rounded-lg bg-gray-50 px-3 py-2 text-sm">+ <div className="max-w-[80%] rounded-lg bg-control-bg px-3 py-2 text-sm"><ReactMarkdownremarkPlugins={[remarkGfm]}components={{@@ -112,12 +112,12 @@ export function AgentChat({ className }: AgentChatProps) {<p className="my-1 first:mt-0 last:mb-0">{children}</p>),pre: ({ children }) => (- <pre className="my-1 overflow-x-auto rounded-xs bg-gray-100 p-2 text-xs">+ <pre className="my-1 overflow-x-auto rounded-xs bg-control-bg p-2 text-xs">{children}</pre>),code: ({ children }) => (- <code className="rounded bg-gray-200 px-1 text-xs">+ <code className="rounded bg-control-bg-hover px-1 text-xs">{children}</code>),@@ -141,7 +141,7 @@ export function AgentChat({ className }: AgentChatProps) {),a: ({ children, href }) => (<a- className="text-blue-600 underline"+ className="text-accent underline"href={href}target="_blank"rel="noopener noreferrer"@@ -150,7 +150,7 @@ export function AgentChat({ className }: AgentChatProps) {</a>),blockquote: ({ children }) => (- <blockquote className="my-1 border-l-2 border-gray-300 pl-2 text-gray-600">+ <blockquote className="my-1 border-l-2 border-control-border pl-2 text-control-light">{children}</blockquote>),@@ -160,12 +160,12 @@ export function AgentChat({ className }: AgentChatProps) {</table>),th: ({ children }) => (- <th className="border border-gray-300 px-2 py-1">+ <th className="border border-control-border px-2 py-1">{children}</th>),td: ({ children }) => (- <td className="border border-gray-300 px-2 py-1">+ <td className="border border-control-border px-2 py-1">{children}</td>),@@ -187,7 +187,7 @@ export function AgentChat({ className }: AgentChatProps) {)}{loading && (- <div className="flex items-center gap-x-2 text-sm text-gray-400">+ <div className="flex items-center gap-x-2 text-sm text-control-placeholder"><span className="animate-pulse">●</span> {t("common.loading")}</div>)}@@ -216,7 +216,7 @@ export function AgentChat({ className }: AgentChatProps) {</div>) : (error && (- <div className="rounded-lg bg-red-50 px-3 py-2 text-sm text-red-600">+ <div className="rounded-lg bg-red-50 px-3 py-2 text-sm text-error">{error}</div>)diff --git a/frontend/src/react/plugins/agent/components/AgentInput.tsx b/frontend/src/react/plugins/agent/components/AgentInput.tsxindex 1cbbf61ba9..03676d6eaf 100644--- a/frontend/src/react/plugins/agent/components/AgentInput.tsx+++ b/frontend/src/react/plugins/agent/components/AgentInput.tsx@@ -619,14 +619,14 @@ export function AgentInput() {<div className="mt-1">{t("agent.interrupted-retry-hint")}</div><div className="mt-2 flex flex-wrap gap-x-2 gap-y-2"><button- className="rounded-xs bg-red-500 px-3 py-2 text-sm text-white hover:bg-red-600 disabled:opacity-50"+ className="rounded-xs bg-error px-3 py-2 text-sm text-accent-text hover:bg-error/90 disabled:opacity-50"disabled={isCurrentChatRunning}onClick={retryLastTurn}>{t("agent.retry-last-chat-turn")}</button><button- className="rounded-xs border px-3 py-2 text-sm text-gray-700 hover:bg-gray-50 disabled:opacity-50"+ className="rounded-xs border px-3 py-2 text-sm text-control hover:bg-control-bg disabled:opacity-50"disabled={isCurrentChatRunning}onClick={dismissInterrupted}>@@ -640,14 +640,14 @@ export function AgentInput() {{isAwaitingConfirm ? (<div className="flex flex-wrap gap-x-2 gap-y-2"><button- className="rounded-xs bg-blue-500 px-3 py-2 text-sm text-white hover:bg-blue-600 disabled:opacity-50"+ className="rounded-xs bg-accent px-3 py-2 text-sm text-accent-text hover:bg-accent-hover disabled:opacity-50"disabled={isCurrentChatRunning}onClick={() => submitConfirmation(true)}>{confirmLabel}</button><button- className="rounded-xs border px-3 py-2 text-sm text-gray-700 hover:bg-gray-50 disabled:opacity-50"+ className="rounded-xs border px-3 py-2 text-sm text-control hover:bg-control-bg disabled:opacity-50"disabled={isCurrentChatRunning}onClick={() => submitConfirmation(false)}>@@ -660,13 +660,13 @@ export function AgentInput() {{chooseOptions.map((option) => (<buttonkey={option.value}- className="rounded-xs border px-3 py-2 text-left text-sm hover:bg-gray-50 disabled:opacity-50"+ className="rounded-xs border px-3 py-2 text-left text-sm hover:bg-control-bg disabled:opacity-50"disabled={isCurrentChatRunning}onClick={() => submitChoice(option)}>- <div className="font-medium text-gray-800">{option.label}</div>+ <div className="font-medium text-main">{option.label}</div>{option.description && (- <div className="mt-1 text-xs text-gray-500">+ <div className="mt-1 text-xs text-control-light">{option.description}</div>)}@@ -702,7 +702,7 @@ export function AgentInput() {{showMention && (<divref={mentionListRef}- className="absolute bottom-full left-0 z-50 mb-1 max-h-80 w-full overflow-y-auto rounded-xs border bg-white shadow-lg"+ className="absolute bottom-full left-0 z-50 mb-1 max-h-80 w-full overflow-y-auto rounded-xs border bg-background shadow-lg">{mentionOptions.map((option, index) => {const meta = formatDomRefSuggestionMeta(option.suggestion);@@ -713,7 +713,7 @@ export function AgentInput() {className={`cursor-pointer px-3 py-2 ${index === highlightIndex? "bg-accent/10"- : "hover:bg-gray-50"+ : "hover:bg-control-bg"}`}onMouseDown={(e) => {e.preventDefault();@@ -722,7 +722,7 @@ export function AgentInput() {onMouseEnter={() => setHighlightIndex(index)}><div className="flex flex-col text-sm">- <div className="flex items-center gap-x-2 text-gray-800">+ <div className="flex items-center gap-x-2 text-main"><span className="font-medium">[{option.suggestion.ref}]</span>@@ -731,7 +731,7 @@ export function AgentInput() {</span></div>{meta && (- <div className="mt-1 text-xs text-gray-500">+ <div className="mt-1 text-xs text-control-light">{meta}</div>)}diff --git a/frontend/src/react/plugins/agent/components/AgentWindow.tsx b/frontend/src/react/plugins/agent/components/AgentWindow.tsxindex c422a42a17..82146a0e1b 100644--- a/frontend/src/react/plugins/agent/components/AgentWindow.tsx+++ b/frontend/src/react/plugins/agent/components/AgentWindow.tsx@@ -191,10 +191,10 @@ export function AgentWindow() {const currentChatStatusClass = useMemo(() => {if (!currentChat || currentChat.status === "idle")- return "bg-gray-100 text-gray-600";- if (currentChat.status === "running") return "bg-blue-50 text-blue-600";+ return "bg-control-bg text-control-light";+ if (currentChat.status === "running") return "bg-blue-50 text-accent";if (currentChat.interrupted || currentChat.status === "error")- return "bg-red-50 text-red-600";+ return "bg-red-50 text-error";return "bg-amber-50 text-amber-600";}, [currentChat]);@@ -696,12 +696,12 @@ export function AgentWindow() {return createPortal(<divdata-agent-window- className="fixed bottom-4 right-4 z-[1999] flex h-10 w-10 cursor-pointer items-center justify-center rounded-full bg-blue-500 text-white shadow-lg hover:bg-blue-600"+ className="fixed bottom-4 right-4 z-[1999] flex size-10 cursor-pointer items-center justify-center rounded-full bg-accent text-accent-text shadow-lg hover:bg-accent-hover"onClick={() => useAgentStore.getState().restore()}><svgxmlns="http://www.w3.org/2000/svg"- className="h-5 w-5"+ className="size-5"viewBox="0 0 20 20"fill="currentColor">@@ -720,12 +720,12 @@ export function AgentWindow() {<divref={windowRef}data-agent-window- className="fixed z-[1999] flex flex-col overflow-hidden rounded-lg border border-gray-200 bg-white shadow-xl"+ className="fixed z-[1999] flex flex-col overflow-hidden rounded-lg border border-block-border bg-background shadow-xl"style={windowStyle}>{/* Header */}<div- className="flex cursor-move select-none items-center justify-between border-b bg-gray-50 px-3 py-2"+ className="flex cursor-move select-none items-center justify-between border-b bg-control-bg px-3 py-2"onMouseDown={startDrag}><div className="flex min-w-0 items-center gap-x-2">@@ -737,14 +737,14 @@ export function AgentWindow() {>{currentChatStatusLabel}</span>- <span className="truncate text-xs text-gray-500">+ <span className="truncate text-xs text-control-light">{currentChatTokenUsageLabel}</span></div><div className="flex items-center gap-x-1"><buttondata-agent-window-action- className="flex h-5 w-5 items-center justify-center rounded-xs text-gray-400 hover:bg-gray-200 hover:text-gray-600"+ className="flex size-5 items-center justify-center rounded-xs text-control-placeholder hover:bg-control-bg-hover hover:text-control-light"title={t("agent.minimize")}onClick={(e) => {e.stopPropagation();@@ -755,7 +755,7 @@ export function AgentWindow() {</button><buttondata-agent-window-action- className="flex h-5 w-5 items-center justify-center rounded-xs text-gray-400 hover:bg-gray-200 hover:text-gray-600"+ className="flex size-5 items-center justify-center rounded-xs text-control-placeholder hover:bg-control-bg-hover hover:text-control-light"title={t("agent.close")}onClick={(e) => {e.stopPropagation();@@ -768,23 +768,23 @@ export function AgentWindow() {</div>{/* Body */}- <div className="flex min-h-0 flex-1 overflow-hidden bg-white">+ <div className="flex min-h-0 flex-1 overflow-hidden bg-background">{/* Sidebar */}<asideref={sidebarRef}- className="flex shrink-0 flex-col border-r border-gray-200 bg-gray-50"+ className="flex shrink-0 flex-col border-r border-block-border bg-control-bg"style={sidebarStyle}>{/* Sidebar header */}- <div className="border-b border-gray-200 px-3 py-3">+ <div className="border-b border-block-border px-3 py-3"><div className="flex items-center justify-between gap-x-2"><div>- <h2 className="text-xs font-semibold uppercase tracking-wide text-gray-500">+ <h2 className="text-xs font-semibold uppercase tracking-wide text-control-light">{t("agent.chat-list-label")}</h2></div><button- className="rounded-xs border px-2 py-1.5 text-xs font-medium text-gray-600 hover:bg-gray-100 disabled:cursor-not-allowed disabled:bg-gray-100 disabled:text-gray-400"+ className="rounded-xs border px-2 py-1.5 text-xs font-medium text-control-light hover:bg-control-bg disabled:cursor-not-allowed disabled:bg-control-bg disabled:text-control-placeholder"disabled={isChatCreationDisabled}onClick={createChat}>@@ -801,8 +801,8 @@ export function AgentWindow() {key={chat.id}className={`w-full rounded-xs px-3 py-2 text-left text-sm transition-colors ${chat.id === currentChatId- ? "bg-blue-50 text-blue-700"- : "text-gray-700 hover:bg-white"+ ? "bg-accent/10 text-accent"+ : "text-control hover:bg-background"}`}data-agent-chat-row={chat.id}>@@ -838,8 +838,8 @@ export function AgentWindow() {<spanclassName={`mt-1 block truncate text-xs ${chat.id === currentChatId- ? "text-blue-600/80"- : "text-gray-500"+ ? "text-accent/80"+ : "text-control-light"}`}data-agent-chat-updated-ts>@@ -853,7 +853,7 @@ export function AgentWindow() {</div>{/* Sidebar footer */}- <div className="border-t border-gray-200 px-3 py-3">+ <div className="border-t border-block-border px-3 py-3"><div className="flex flex-col gap-y-2"><divclassName="flex flex-wrap gap-x-2 gap-y-2"@@ -863,7 +863,7 @@ export function AgentWindow() {<>{showArchivedOnly ? (<button- className="rounded-xs border px-2 py-1.5 text-xs font-medium text-gray-600 hover:bg-white"+ className="rounded-xs border px-2 py-1.5 text-xs font-medium text-control-light hover:bg-background"data-agent-unarchive-chatonClick={toggleArchiveCurrentChat}>@@ -873,7 +873,7 @@ export function AgentWindow() {<ConfirmDialogmessage={t("agent.archive-chat-confirmation")}onConfirm={toggleArchiveCurrentChat}- triggerClassName="rounded-xs border px-2 py-1.5 text-xs font-medium text-gray-600 hover:bg-white"+ triggerClassName="rounded-xs border px-2 py-1.5 text-xs font-medium text-control-light hover:bg-background"triggerLabel={t("agent.archive-chat")}triggerDataAttr="data-agent-archive-chat"/>@@ -882,7 +882,7 @@ export function AgentWindow() {<ConfirmDialogmessage={t("agent.delete-chat-confirmation")}onConfirm={deleteCurrentChat}- triggerClassName="rounded-xs border px-2 py-1.5 text-xs font-medium text-red-600 hover:bg-red-50"+ triggerClassName="rounded-xs border px-2 py-1.5 text-xs font-medium text-error hover:bg-red-50"triggerLabel={t("agent.delete-chat")}triggerDataAttr="data-agent-delete-chat"/>@@ -890,7 +890,7 @@ export function AgentWindow() {</>)}<button- className="ml-auto inline-flex items-center rounded-xs border p-1.5 text-xs font-medium text-gray-600 hover:bg-white"+ className="ml-auto inline-flex items-center rounded-xs border p-1.5 text-xs font-medium text-control-light hover:bg-background"aria-label={showArchivedOnly? t("agent.archived-only-chats")@@ -905,9 +905,9 @@ export function AgentWindow() {onClick={toggleChatListMode}>{showArchivedOnly ? (- <Archive className="h-3.5 w-3.5" aria-hidden="true" />+ <Archive className="size-3.5" aria-hidden="true" />) : (- <Inbox className="h-3.5 w-3.5" aria-hidden="true" />+ <Inbox className="size-3.5" aria-hidden="true" />)}</button></div>@@ -920,10 +920,10 @@ export function AgentWindow() {type="button"data-agent-window-actiondata-agent-sidebar-resize- className="group relative w-1 shrink-0 cursor-col-resize bg-gray-100 transition-colors hover:bg-blue-100"+ className="group relative w-1 shrink-0 cursor-col-resize bg-control-bg transition-colors hover:bg-accent/10"onMouseDown={startSidebarResize}>- <span className="pointer-events-none absolute inset-y-0 left-1/2 w-px -translate-x-1/2 bg-transparent transition-colors group-hover:bg-blue-400" />+ <span className="pointer-events-none absolute inset-y-0 left-1/2 w-px -translate-x-1/2 bg-transparent transition-colors group-hover:bg-accent" /></button>{/* Main panel */}@@ -938,13 +938,13 @@ export function AgentWindow() {type="button"data-agent-window-actiondata-agent-window-resize- className="absolute bottom-0 right-0 flex h-5 w-5 cursor-se-resize items-end justify-end pb-0.5 pr-0.5 text-gray-300 hover:text-gray-400"+ className="absolute bottom-0 right-0 flex size-5 cursor-se-resize items-end justify-end pb-0.5 pr-0.5 text-control-border hover:text-control-placeholder"title={t("agent.resize")}onMouseDown={startResize}><svgxmlns="http://www.w3.org/2000/svg"- className="h-3 w-3"+ className="size-3"viewBox="0 0 12 12"fill="none"stroke="currentColor"@@ -991,7 +991,7 @@ function ConfirmDialog({<div className="flex justify-end gap-x-2"><DialogCloserender={- <button className="rounded-xs border px-3 py-1.5 text-sm font-medium text-gray-600 hover:bg-gray-100">+ <button className="rounded-xs border px-3 py-1.5 text-sm font-medium text-control-light hover:bg-control-bg">{t("common.cancel")}</button>}@@ -999,7 +999,7 @@ function ConfirmDialog({<DialogCloserender={<button- className="rounded-xs bg-blue-500 px-3 py-1.5 text-sm font-medium text-white hover:bg-blue-600"+ className="rounded-xs bg-accent px-3 py-1.5 text-sm font-medium text-accent-text hover:bg-accent-hover"onClick={onConfirm}>{t("common.confirm")}diff --git a/frontend/src/react/plugins/agent/components/ToolCallCard.tsx b/frontend/src/react/plugins/agent/components/ToolCallCard.tsxindex 29d54870e4..1d4412b688 100644--- a/frontend/src/react/plugins/agent/components/ToolCallCard.tsx+++ b/frontend/src/react/plugins/agent/components/ToolCallCard.tsx@@ -173,7 +173,7 @@ export function ToolCallCard({ toolCall, result }: Props) {const renderStatus = () => {if (isAskUser) {return resultText ? (- <span className="text-green-500">+ <span className="text-success">{t("agent.tool-response-submitted")}</span>) : (@@ -182,15 +182,15 @@ export function ToolCallCard({ toolCall, result }: Props) {}if (isDone) {return (- <span className={doneSuccess ? "text-green-500" : "text-red-500"}>+ <span className={doneSuccess ? "text-success" : "text-error"}>{doneSuccess ? t("agent.tool-completed") : t("agent.tool-failed")}</span>);}return resultText ? (- <span className="text-green-500">✓</span>+ <span className="text-success">✓</span>) : (- <span className="animate-pulse text-gray-400">●</span>+ <span className="animate-pulse text-control-placeholder">●</span>);};@@ -198,42 +198,46 @@ export function ToolCallCard({ toolCall, result }: Props) {if (isAskUser) {return (<>- <div className="text-gray-500">+ <div className="text-control-light">{askKind === "confirm"? t("agent.tool-ask-user-confirm"): askKind === "choose"? t("agent.tool-ask-user-choose"): t("agent.tool-ask-user-input")}</div>- <div className="text-gray-500">{t("agent.tool-prompt")}</div>- <pre className="whitespace-pre-wrap break-all text-gray-700">+ <div className="text-control-light">{t("agent.tool-prompt")}</div>+ <pre className="whitespace-pre-wrap break-all text-control">{askPrompt}</pre>{askDefaultValue && (<>- <div className="text-gray-500">+ <div className="text-control-light">{t("agent.tool-default-value")}</div>- <pre className="whitespace-pre-wrap break-all text-gray-700">+ <pre className="whitespace-pre-wrap break-all text-control">{askDefaultValue}</pre></>)}{askKind === "choose" && askOptions.length > 0 && (<>- <div className="text-gray-500">{t("agent.tool-options")}</div>- <div className="space-y-1">+ <div className="text-control-light">+ {t("agent.tool-options")}+ </div>+ <div className="flex flex-col gap-1">{askOptions.map((option) => (<divkey={option.value}- className="rounded border border-gray-200 bg-white px-2 py-1"+ className="rounded border border-block-border bg-background px-2 py-1">- <div className="font-medium text-gray-700">+ <div className="font-medium text-control">{option.label}</div>- <div className="text-gray-500">{option.value}</div>+ <div className="text-control-light">{option.value}</div>{option.description && (- <div className="text-gray-500">{option.description}</div>+ <div className="text-control-light">+ {option.description}+ </div>)}</div>))}@@ -242,14 +246,16 @@ export function ToolCallCard({ toolCall, result }: Props) {)}{askResponse && (<>- <div className="text-gray-500">{t("agent.tool-answer")}</div>- <pre className="whitespace-pre-wrap break-all text-gray-700">+ <div className="text-control-light">{t("agent.tool-answer")}</div>+ <pre className="whitespace-pre-wrap break-all text-control">{askResponse.answer}</pre>{askResponse.kind === "choose" && (<>- <div className="text-gray-500">{t("agent.tool-value")}</div>- <pre className="whitespace-pre-wrap break-all text-gray-700">+ <div className="text-control-light">+ {t("agent.tool-value")}+ </div>+ <pre className="whitespace-pre-wrap break-all text-control">{askResponse.value}</pre></>@@ -263,8 +269,8 @@ export function ToolCallCard({ toolCall, result }: Props) {if (isDone) {return (<>- <div className="text-gray-500">{t("agent.result")}</div>- <pre className="whitespace-pre-wrap break-all text-gray-700">+ <div className="text-control-light">{t("agent.result")}</div>+ <pre className="whitespace-pre-wrap break-all text-control">{doneText}</pre></>@@ -273,14 +279,14 @@ export function ToolCallCard({ toolCall, result }: Props) {return (<>- <div className="text-gray-500">{t("agent.args")}</div>- <pre className="whitespace-pre-wrap break-all text-gray-700">+ <div className="text-control-light">{t("agent.args")}</div>+ <pre className="whitespace-pre-wrap break-all text-control">{formatJson(toolCall.arguments)}</pre>{resultText && (<>- <div className="text-gray-500">{t("agent.result")}</div>- <pre className="max-h-32 overflow-y-auto whitespace-pre-wrap break-all text-gray-700">+ <div className="text-control-light">{t("agent.result")}</div>+ <pre className="max-h-32 overflow-y-auto whitespace-pre-wrap break-all text-control">{formatJson(resultText)}</pre></>@@ -290,20 +296,20 @@ export function ToolCallCard({ toolCall, result }: Props) {};return (- <div className="rounded border bg-gray-50 text-xs">+ <div className="rounded border bg-control-bg text-xs"><divclassName="flex cursor-pointer items-center gap-x-2 px-2 py-1.5"onClick={() => setExpanded(!expanded)}>- <span className="font-mono text-gray-600">{toolCall.name}</span>+ <span className="font-mono text-control-light">{toolCall.name}</span>{renderStatus()}- <span className="ml-auto text-gray-400">+ <span className="ml-auto text-control-placeholder">{expanded ? "\u25BE" : "\u25B8"}</span></div>{expanded && (- <div className="space-y-1 border-t px-2 py-1.5">+ <div className="flex flex-col gap-1 border-t px-2 py-1.5">{renderExpandedContent()}</div>)}diff --git a/frontend/tailwind.config.js b/frontend/tailwind.config.jsindex 1c0afec26b..13ed24c75e 100644--- a/frontend/tailwind.config.js+++ b/frontend/tailwind.config.js@@ -74,6 +74,9 @@ module.exports = {"block-border": "rgb(var(--color-block-border) / <alpha-value>)","control-border": "rgb(var(--color-control-border) / <alpha-value>)",+ background: "rgb(var(--color-background) / <alpha-value>)",+ overlay: "rgb(var(--color-overlay) / <alpha-value>)",+"dark-bg": "rgb(var(--color-dark-bg) / <alpha-value>)","matrix-green": "rgb(var(--color-matrix-green) / <alpha-value>)","matrix-green-hover":