Database governance built for humans and agents — controlling changes and access across every major database.
Go cicddata-governancedata-maskingdata-securitydatabase-accessdatabase-governancedevopsdevsecopsflywaygitopsliquibasemongodbmysqloraclepostgresqlschema-migrationssecuritysql-clientsqlservertidb
refactor: color css token (#21466)
ecmadao9b298cdde9a1
diff --git a/frontend/scripts/ui-guideline-legacy-debt.json b/frontend/scripts/ui-guideline-legacy-debt.jsonindex 8f21dd89a4..73ea153f1a 100644--- a/frontend/scripts/ui-guideline-legacy-debt.json+++ b/frontend/scripts/ui-guideline-legacy-debt.json@@ -24,48 +24,12 @@"token": "button","count": 1},- {- "path": "src/app/components/SessionExpiredSurface.tsx",- "rule": "no-raw-color",- "token": "bg-white",- "count": 1- },{"path": "src/components/AccountMultiSelect.tsx","rule": "no-native-control","token": "button","count": 1},- {- "path": "src/components/AdvancedSearch.tsx",- "rule": "no-manual-dark",- "token": "dark:bg-dark-bg",- "count": 1- },- {- "path": "src/components/AdvancedSearch.tsx",- "rule": "no-manual-dark",- "token": "dark:bg-zinc-700",- "count": 1- },- {- "path": "src/components/AdvancedSearch.tsx",- "rule": "no-manual-dark",- "token": "dark:border-zinc-700",- "count": 1- },- {- "path": "src/components/AdvancedSearch.tsx",- "rule": "no-manual-dark",- "token": "dark:placeholder:text-gray-500",- "count": 1- },- {- "path": "src/components/AdvancedSearch.tsx",- "rule": "no-manual-dark",- "token": "dark:text-gray-100",- "count": 2- },{"path": "src/components/AdvancedSearch.tsx","rule": "no-native-control",@@ -78,30 +42,6 @@"token": "input","count": 1},- {- "path": "src/components/AdvancedSearch.tsx",- "rule": "no-raw-color",- "token": "dark:bg-zinc-700",- "count": 1- },- {- "path": "src/components/AdvancedSearch.tsx",- "rule": "no-raw-color",- "token": "dark:border-zinc-700",- "count": 1- },- {- "path": "src/components/AdvancedSearch.tsx",- "rule": "no-raw-color",- "token": "dark:placeholder:text-gray-500",- "count": 1- },- {- "path": "src/components/AdvancedSearch.tsx",- "rule": "no-raw-color",- "token": "dark:text-gray-100",- "count": 2- },{"path": "src/components/AuditLogTable.tsx","rule": "no-native-control",@@ -126,66 +66,6 @@"token": "button","count": 1},- {- "path": "src/components/BannersWrapper.tsx",- "rule": "no-raw-color",- "token": "bg-gray-200",- "count": 1- },- {- "path": "src/components/BannersWrapper.tsx",- "rule": "no-raw-color",- "token": "hover:bg-white/10",- "count": 1- },- {- "path": "src/components/BannersWrapper.tsx",- "rule": "no-raw-color",- "token": "hover:text-white",- "count": 1- },- {- "path": "src/components/BannersWrapper.tsx",- "rule": "no-raw-color",- "token": "text-gray-800",- "count": 1- },- {- "path": "src/components/BannersWrapper.tsx",- "rule": "no-raw-color",- "token": "text-white",- "count": 5- },- {- "path": "src/components/ClassificationTree.tsx",- "rule": "no-raw-color",- "token": "bg-amber-500",- "count": 1- },- {- "path": "src/components/ClassificationTree.tsx",- "rule": "no-raw-color",- "token": "bg-green-200",- "count": 1- },- {- "path": "src/components/ClassificationTree.tsx",- "rule": "no-raw-color",- "token": "bg-orange-300",- "count": 1- },- {- "path": "src/components/ClassificationTree.tsx",- "rule": "no-raw-color",- "token": "bg-red-500",- "count": 1- },- {- "path": "src/components/ClassificationTree.tsx",- "rule": "no-raw-color",- "token": "bg-yellow-200",- "count": 1- },{"path": "src/components/CreateWorkloadIdentitySheet.tsx","rule": "no-native-control",@@ -198,96 +78,12 @@"token": "button","count": 2},- {- "path": "src/components/CustomApproval/RulesSection.tsx",- "rule": "no-raw-color",- "token": "bg-blue-50",- "count": 1- },- {- "path": "src/components/CustomApproval/RulesSection.tsx",- "rule": "no-raw-color",- "token": "bg-gray-50",- "count": 1- },- {- "path": "src/components/CustomApproval/RulesSection.tsx",- "rule": "no-raw-color",- "token": "bg-gray-50/50",- "count": 1- },- {- "path": "src/components/CustomApproval/RulesSection.tsx",- "rule": "no-raw-color",- "token": "border-gray-100",- "count": 1- },- {- "path": "src/components/CustomApproval/RulesSection.tsx",- "rule": "no-raw-color",- "token": "border-gray-200",- "count": 3- },- {- "path": "src/components/CustomApproval/RulesSection.tsx",- "rule": "no-raw-color",- "token": "hover:bg-gray-200",- "count": 2- },- {- "path": "src/components/CustomApproval/RulesSection.tsx",- "rule": "no-raw-color",- "token": "hover:bg-gray-50",- "count": 1- },- {- "path": "src/components/CustomApproval/RulesSection.tsx",- "rule": "no-raw-color",- "token": "text-gray-400",- "count": 3- },- {- "path": "src/components/CustomApproval/RulesSection.tsx",- "rule": "no-raw-color",- "token": "text-gray-600",- "count": 1- },{"path": "src/components/DashboardBodyShell.tsx","rule": "no-native-control","token": "button","count": 1},- {- "path": "src/components/DashboardBodyShell.tsx",- "rule": "no-raw-color",- "token": "bg-black/20",- "count": 1- },- {- "path": "src/components/DashboardBodyShell.tsx",- "rule": "no-raw-color",- "token": "bg-white",- "count": 1- },- {- "path": "src/components/DashboardSidebar.tsx",- "rule": "no-raw-color",- "token": "border-gray-300",- "count": 1- },- {- "path": "src/components/DashboardSidebar.tsx",- "rule": "no-raw-color",- "token": "text-gray-500",- "count": 3- },- {- "path": "src/components/DashboardSidebar.tsx",- "rule": "no-raw-color",- "token": "text-gray-700",- "count": 1- },{"path": "src/components/database/LabelEditorSheet.tsx","rule": "no-native-control",@@ -300,18 +96,6 @@"token": "button","count": 1},- {- "path": "src/components/DatabaseGroupDataTable.tsx",- "rule": "no-raw-color",- "token": "bg-gray-50",- "count": 1- },- {- "path": "src/components/DatabaseGroupDataTable.tsx",- "rule": "no-raw-color",- "token": "hover:bg-white",- "count": 1- },{"path": "src/components/DatabaseResourceSelector.tsx","rule": "no-native-control",@@ -342,18 +126,6 @@"token": "button","count": 1},- {- "path": "src/components/header/DashboardHeader.tsx",- "rule": "no-raw-color",- "token": "hover:text-gray-900",- "count": 1- },- {- "path": "src/components/header/DashboardHeader.tsx",- "rule": "no-raw-color",- "token": "text-gray-500",- "count": 1- },{"path": "src/components/header/HeaderBreadcrumb.tsx","rule": "no-button-dimension-override",@@ -372,42 +144,12 @@"token": "button","count": 1},- {- "path": "src/components/header/ProfileMenuTrigger.tsx",- "rule": "no-raw-color",- "token": "bg-gray-100",- "count": 3- },{"path": "src/components/instance/CreateDataSourceExample.tsx","rule": "no-native-control","token": "button","count": 1},- {- "path": "src/components/instance/CreateDataSourceExample.tsx",- "rule": "no-raw-color",- "token": "bg-gray-50",- "count": 2- },- {- "path": "src/components/instance/CreateDataSourceExample.tsx",- "rule": "no-raw-color",- "token": "border-gray-300",- "count": 1- },- {- "path": "src/components/instance/CreateDataSourceExample.tsx",- "rule": "no-raw-color",- "token": "hover:bg-gray-100",- "count": 1- },- {- "path": "src/components/instance/CreateDataSourceExample.tsx",- "rule": "no-raw-color",- "token": "text-gray-500",- "count": 1- },{"path": "src/components/instance/DataSourceForm.tsx","rule": "no-native-control",@@ -420,18 +162,6 @@"token": "button","count": 4},- {- "path": "src/components/instance/DataSourceSection.tsx",- "rule": "no-raw-color",- "token": "hover:text-red-700",- "count": 1- },- {- "path": "src/components/instance/DataSourceSection.tsx",- "rule": "no-raw-color",- "token": "text-red-500",- "count": 1- },{"path": "src/components/instance/InfoPanel.tsx","rule": "no-native-control",@@ -493,369 +223,117 @@"count": 3},{- "path": "src/components/plan-check/PlanCheckSection.tsx",- "rule": "no-raw-color",- "token": "bg-gray-100",+ "path": "src/components/ResourceIdField.tsx",+ "rule": "no-native-control",+ "token": "button","count": 1},{- "path": "src/components/plan-check/PlanCheckSection.tsx",- "rule": "no-raw-color",- "token": "bg-white",+ "path": "src/components/sql-review/Panels.tsx",+ "rule": "no-native-control",+ "token": "button","count": 1},{- "path": "src/components/plan-check/PlanCheckSection.tsx",- "rule": "no-raw-color",- "token": "hover:bg-gray-100",+ "path": "src/components/sql-review/RuleComponents.tsx",+ "rule": "no-button-dimension-override",+ "token": "size-4","count": 1},{- "path": "src/components/ProjectSidebar.tsx",- "rule": "no-raw-color",- "token": "text-gray-500",- "count": 3+ "path": "src/components/sql-review/RuleComponents.tsx",+ "rule": "no-native-control",+ "token": "select",+ "count": 1},{- "path": "src/components/ProjectSidebar.tsx",- "rule": "no-raw-color",- "token": "text-gray-700",- "count": 1+ "path": "src/components/sql-review/RuleTable.tsx",+ "rule": "no-button-dimension-override",+ "token": "size-7",+ "count": 4},{- "path": "src/components/release/ReleaseInfoCard.tsx",- "rule": "no-raw-color",- "token": "bg-blue-100",+ "path": "src/components/sql-review/RuleTable.tsx",+ "rule": "no-native-control",+ "token": "button","count": 1},{- "path": "src/components/release/ReleaseInfoCard.tsx",- "rule": "no-raw-color",- "token": "bg-gray-50",+ "path": "src/components/sql-review/TemplateSelector.tsx",+ "rule": "no-native-control",+ "token": "button","count": 2},{- "path": "src/components/release/ReleaseInfoCard.tsx",- "rule": "no-raw-color",- "token": "bg-white",- "count": 2+ "path": "src/modules/agent/components/AgentChat.tsx",+ "rule": "no-raw-table",+ "token": "table",+ "count": 1},{- "path": "src/components/release/ReleaseInfoCard.tsx",- "rule": "no-raw-color",- "token": "text-blue-800",- "count": 1+ "path": "src/modules/agent/components/AgentInput.tsx",+ "rule": "no-button-dimension-override",+ "token": "h-[34px]",+ "count": 2},{- "path": "src/components/ResourceIdField.tsx",+ "path": "src/modules/agent/components/AgentInput.tsx","rule": "no-native-control","token": "button",- "count": 1+ "count": 5},{- "path": "src/components/ResourceIdField.tsx",- "rule": "no-raw-color",- "token": "text-gray-600",+ "path": "src/modules/agent/components/AgentInput.tsx",+ "rule": "no-native-control",+ "token": "textarea","count": 1},{- "path": "src/components/ResourceIdField.tsx",- "rule": "no-raw-color",- "token": "text-red-600",- "count": 1+ "path": "src/modules/agent/components/AgentWindow.tsx",+ "rule": "no-native-control",+ "token": "button",+ "count": 7},{- "path": "src/components/ResourceIdField.tsx",- "rule": "no-raw-color",- "token": "text-yellow-600",+ "path": "src/modules/ai/components/ChatView/ChatView.tsx",+ "rule": "no-native-control",+ "token": "button","count": 1},{- "path": "src/components/sql-review/Panels.tsx",+ "path": "src/modules/ai/components/ChatView/Markdown/CodeBlock.tsx","rule": "no-native-control","token": "button",- "count": 1+ "count": 2},{- "path": "src/components/sql-review/RuleComponents.tsx",+ "path": "src/modules/ai/components/DynamicSuggestions.tsx","rule": "no-button-dimension-override",- "token": "size-4",- "count": 1+ "token": "h-[22px]",+ "count": 3},{- "path": "src/components/sql-review/RuleComponents.tsx",- "rule": "no-native-control",- "token": "select",+ "path": "src/modules/ai/components/PromptInput.tsx",+ "rule": "no-button-dimension-override",+ "token": "h-6","count": 1},{- "path": "src/components/sql-review/RuleComponents.tsx",- "rule": "no-raw-color",- "token": "bg-red-100",+ "path": "src/modules/ai/components/PromptInput.tsx",+ "rule": "no-native-control",+ "token": "textarea","count": 1},{- "path": "src/components/sql-review/RuleComponents.tsx",- "rule": "no-raw-color",- "token": "bg-yellow-100",+ "path": "src/modules/schema-diagram/common/FocusButton.tsx",+ "rule": "no-native-control",+ "token": "button","count": 1},{- "path": "src/components/sql-review/RuleComponents.tsx",- "rule": "no-raw-color",- "token": "border-red-800",- "count": 1- },- {- "path": "src/components/sql-review/RuleComponents.tsx",- "rule": "no-raw-color",- "token": "border-yellow-800",- "count": 1- },- {- "path": "src/components/sql-review/RuleComponents.tsx",- "rule": "no-raw-color",- "token": "hover:bg-red-100",- "count": 1- },- {- "path": "src/components/sql-review/RuleComponents.tsx",- "rule": "no-raw-color",- "token": "hover:bg-yellow-100",- "count": 1- },- {- "path": "src/components/sql-review/RuleComponents.tsx",- "rule": "no-raw-color",- "token": "text-red-800",- "count": 1- },- {- "path": "src/components/sql-review/RuleComponents.tsx",- "rule": "no-raw-color",- "token": "text-yellow-800",- "count": 1- },- {- "path": "src/components/sql-review/RuleTable.tsx",- "rule": "no-button-dimension-override",- "token": "size-7",- "count": 4- },- {- "path": "src/components/sql-review/RuleTable.tsx",- "rule": "no-native-control",- "token": "button",- "count": 1- },- {- "path": "src/components/sql-review/TemplateSelector.tsx",- "rule": "no-native-control",- "token": "button",- "count": 2- },- {- "path": "src/components/TaskStatusIcon.tsx",- "rule": "no-raw-color",- "token": "bg-white",- "count": 1- },- {- "path": "src/components/TaskStatusIcon.tsx",- "rule": "no-raw-color",- "token": "text-white",- "count": 2- },- {- "path": "src/modules/agent/components/AgentChat.tsx",- "rule": "no-raw-color",- "token": "bg-amber-50",- "count": 1- },- {- "path": "src/modules/agent/components/AgentChat.tsx",- "rule": "no-raw-color",- "token": "bg-blue-50",- "count": 1- },- {- "path": "src/modules/agent/components/AgentChat.tsx",- "rule": "no-raw-color",- "token": "bg-red-50",- "count": 1- },- {- "path": "src/modules/agent/components/AgentChat.tsx",- "rule": "no-raw-color",- "token": "border-amber-200",- "count": 1- },- {- "path": "src/modules/agent/components/AgentChat.tsx",- "rule": "no-raw-color",- "token": "text-amber-800",- "count": 1- },- {- "path": "src/modules/agent/components/AgentChat.tsx",- "rule": "no-raw-color",- "token": "text-amber-900",- "count": 1- },- {- "path": "src/modules/agent/components/AgentChat.tsx",- "rule": "no-raw-table",- "token": "table",- "count": 1- },- {- "path": "src/modules/agent/components/AgentInput.tsx",- "rule": "no-button-dimension-override",- "token": "h-[34px]",- "count": 2- },- {- "path": "src/modules/agent/components/AgentInput.tsx",- "rule": "no-native-control",- "token": "button",- "count": 5- },- {- "path": "src/modules/agent/components/AgentInput.tsx",- "rule": "no-native-control",- "token": "textarea",- "count": 1- },- {- "path": "src/modules/agent/components/AgentInput.tsx",- "rule": "no-raw-color",- "token": "bg-amber-50",- "count": 1- },- {- "path": "src/modules/agent/components/AgentInput.tsx",- "rule": "no-raw-color",- "token": "bg-red-50",- "count": 1- },- {- "path": "src/modules/agent/components/AgentInput.tsx",- "rule": "no-raw-color",- "token": "text-amber-700",- "count": 1- },- {- "path": "src/modules/agent/components/AgentInput.tsx",- "rule": "no-raw-color",- "token": "text-red-700",- "count": 1- },- {- "path": "src/modules/agent/components/AgentWindow.tsx",- "rule": "no-native-control",- "token": "button",- "count": 7- },- {- "path": "src/modules/agent/components/AgentWindow.tsx",- "rule": "no-raw-color",- "token": "data-highlighted:bg-red-50",- "count": 1- },- {- "path": "src/modules/ai/components/ChatView/ChatView.tsx",- "rule": "no-native-control",- "token": "button",- "count": 1- },- {- "path": "src/modules/ai/components/ChatView/Markdown/CodeBlock.tsx",- "rule": "no-native-control",- "token": "button",- "count": 2- },- {- "path": "src/modules/ai/components/DynamicSuggestions.tsx",- "rule": "no-button-dimension-override",- "token": "h-[22px]",- "count": 3- },- {- "path": "src/modules/ai/components/DynamicSuggestions.tsx",- "rule": "no-raw-color",- "token": "text-gray-500",- "count": 1- },- {- "path": "src/modules/ai/components/PromptInput.tsx",- "rule": "no-button-dimension-override",- "token": "h-6",- "count": 1- },- {- "path": "src/modules/ai/components/PromptInput.tsx",- "rule": "no-native-control",- "token": "textarea",- "count": 1- },- {- "path": "src/modules/schema-diagram/common/FocusButton.tsx",- "rule": "no-native-control",- "token": "button",- "count": 1- },- {- "path": "src/modules/schema-diagram/ER/TableNode.tsx",- "rule": "no-native-control",- "token": "button",- "count": 1- },- {- "path": "src/modules/schema-diagram/ER/TableNode.tsx",- "rule": "no-raw-color",- "token": "bg-green-50",- "count": 1- },- {- "path": "src/modules/schema-diagram/ER/TableNode.tsx",- "rule": "no-raw-color",- "token": "bg-red-50",- "count": 1- },- {- "path": "src/modules/schema-diagram/ER/TableNode.tsx",- "rule": "no-raw-color",- "token": "bg-white/70",- "count": 1- },- {- "path": "src/modules/schema-diagram/ER/TableNode.tsx",- "rule": "no-raw-color",- "token": "bg-yellow-50",- "count": 1- },- {- "path": "src/modules/schema-diagram/ER/TableNode.tsx",- "rule": "no-raw-color",- "token": "text-green-700",- "count": 1- },- {- "path": "src/modules/schema-diagram/ER/TableNode.tsx",- "rule": "no-raw-color",- "token": "text-red-700",- "count": 1- },- {- "path": "src/modules/schema-diagram/ER/TableNode.tsx",- "rule": "no-raw-color",- "token": "text-white",- "count": 1- },- {- "path": "src/modules/schema-diagram/ER/TableNode.tsx",- "rule": "no-raw-color",- "token": "text-yellow-700",+ "path": "src/modules/schema-diagram/ER/TableNode.tsx",+ "rule": "no-native-control",+ "token": "button","count": 1},{@@ -954,12 +432,6 @@"token": "h-6","count": 3},- {- "path": "src/modules/sql-editor/components/ResultView/SelectionCopyTooltips.tsx",- "rule": "no-raw-color",- "token": "border-white/30",- "count": 1- },{"path": "src/modules/sql-editor/components/ResultView/VirtualDataTable.tsx","rule": "no-button-dimension-override",@@ -978,18 +450,6 @@"token": "button","count": 1},- {- "path": "src/modules/sql-editor/components/SchemaPane/TreeNode/icons.tsx",- "rule": "no-raw-color",- "token": "fill-white",- "count": 1- },- {- "path": "src/modules/sql-editor/components/SchemaPane/TreeNode/icons.tsx",- "rule": "no-raw-color",- "token": "text-amber-500",- "count": 2- },{"path": "src/modules/sql-editor/components/SharePopoverBody.tsx","rule": "no-button-dimension-override",@@ -1044,72 +504,24 @@"token": "button","count": 2},- {- "path": "src/routes/auth/MultiFactorPage.tsx",- "rule": "no-raw-color",- "token": "bg-white",- "count": 1- },{"path": "src/routes/auth/OAuth2ConsentPage.tsx","rule": "no-native-control","token": "input","count": 7},- {- "path": "src/routes/auth/OAuth2ConsentPage.tsx",- "rule": "no-raw-color",- "token": "bg-white",- "count": 1- },{"path": "src/routes/auth/PasswordResetPage.tsx","rule": "no-native-control","token": "button","count": 1},- {- "path": "src/routes/auth/PasswordResetPage.tsx",- "rule": "no-raw-color",- "token": "bg-white",- "count": 1- },{"path": "src/routes/project/database-detail/DatabaseDetailHeader.tsx","rule": "no-native-control","token": "button","count": 1},- {- "path": "src/routes/project/database-detail/overview/TableDetailSheet.tsx",- "rule": "no-raw-color",- "token": "bg-amber-500",- "count": 1- },- {- "path": "src/routes/project/database-detail/overview/TableDetailSheet.tsx",- "rule": "no-raw-color",- "token": "bg-green-200",- "count": 1- },- {- "path": "src/routes/project/database-detail/overview/TableDetailSheet.tsx",- "rule": "no-raw-color",- "token": "bg-orange-300",- "count": 1- },- {- "path": "src/routes/project/database-detail/overview/TableDetailSheet.tsx",- "rule": "no-raw-color",- "token": "bg-red-500",- "count": 1- },- {- "path": "src/routes/project/database-detail/overview/TableDetailSheet.tsx",- "rule": "no-raw-color",- "token": "bg-yellow-200",- "count": 1- },{"path": "src/routes/project/database-detail/overview/TableDetailSheet.tsx","rule": "no-raw-table",@@ -1135,183 +547,27 @@"count": 1},{- "path": "src/routes/project/issue-detail/components/IssueDetailActionBar.tsx",- "rule": "no-raw-color",- "token": "bg-white",- "count": 1+ "path": "src/routes/project/issue-detail/components/IssueDetailDatabaseChangeView.tsx",+ "rule": "no-native-control",+ "token": "button",+ "count": 3},{- "path": "src/routes/project/issue-detail/components/IssueDetailActionBar.tsx",- "rule": "no-raw-color",- "token": "text-white",- "count": 1+ "path": "src/routes/project/issue-detail/components/IssueDetailLabels.tsx",+ "rule": "no-native-control",+ "token": "button",+ "count": 3},{- "path": "src/routes/project/issue-detail/components/IssueDetailApprovalFlow.tsx",- "rule": "no-raw-color",- "token": "text-white",- "count": 5+ "path": "src/routes/project/issue-detail/components/IssueDetailStatementSection.tsx",+ "rule": "no-native-control",+ "token": "input",+ "count": 1},{- "path": "src/routes/project/issue-detail/components/IssueDetailCommentList.tsx",- "rule": "no-raw-color",- "token": "bg-gray-50",- "count": 1- },- {- "path": "src/routes/project/issue-detail/components/IssueDetailCommentList.tsx",- "rule": "no-raw-color",- "token": "bg-white",- "count": 2- },- {- "path": "src/routes/project/issue-detail/components/IssueDetailCommentList.tsx",- "rule": "no-raw-color",- "token": "border-gray-200",- "count": 2- },- {- "path": "src/routes/project/issue-detail/components/IssueDetailCommentList.tsx",- "rule": "no-raw-color",- "token": "hover:text-gray-700",- "count": 1- },- {- "path": "src/routes/project/issue-detail/components/IssueDetailCommentList.tsx",- "rule": "no-raw-color",- "token": "ring-white",- "count": 1- },- {- "path": "src/routes/project/issue-detail/components/IssueDetailCommentList.tsx",- "rule": "no-raw-color",- "token": "text-gray-400",- "count": 1- },- {- "path": "src/routes/project/issue-detail/components/IssueDetailCommentList.tsx",- "rule": "no-raw-color",- "token": "text-gray-500",- "count": 2- },- {- "path": "src/routes/project/issue-detail/components/IssueDetailCommentList.tsx",- "rule": "no-raw-color",- "token": "text-gray-600",- "count": 1- },- {- "path": "src/routes/project/issue-detail/components/IssueDetailCommentList.tsx",- "rule": "no-raw-color",- "token": "text-gray-700",- "count": 1- },- {- "path": "src/routes/project/issue-detail/components/IssueDetailDatabaseChangeView.tsx",- "rule": "no-native-control",- "token": "button",- "count": 3- },- {- "path": "src/routes/project/issue-detail/components/IssueDetailDatabaseChangeView.tsx",- "rule": "no-raw-color",- "token": "bg-gray-50",- "count": 1- },- {- "path": "src/routes/project/issue-detail/components/IssueDetailDatabaseChangeView.tsx",- "rule": "no-raw-color",- "token": "bg-white",- "count": 2- },- {- "path": "src/routes/project/issue-detail/components/IssueDetailDatabaseChangeView.tsx",- "rule": "no-raw-color",- "token": "bg-yellow-50",- "count": 1- },- {- "path": "src/routes/project/issue-detail/components/IssueDetailDatabaseChangeView.tsx",- "rule": "no-raw-color",- "token": "border-yellow-200",- "count": 1- },- {- "path": "src/routes/project/issue-detail/components/IssueDetailDatabaseChangeView.tsx",- "rule": "no-raw-color",- "token": "text-gray-800",- "count": 1- },- {- "path": "src/routes/project/issue-detail/components/IssueDetailDatabaseChangeView.tsx",- "rule": "no-raw-color",- "token": "text-yellow-900",- "count": 1- },- {- "path": "src/routes/project/issue-detail/components/IssueDetailDatabaseCreateView.tsx",- "rule": "no-raw-color",- "token": "text-gray-500",- "count": 1- },- {- "path": "src/routes/project/issue-detail/components/IssueDetailDatabaseCreateView.tsx",- "rule": "no-raw-color",- "token": "text-gray-600",- "count": 4- },- {- "path": "src/routes/project/issue-detail/components/IssueDetailDatabaseCreateView.tsx",- "rule": "no-raw-color",- "token": "text-gray-900",- "count": 3- },- {- "path": "src/routes/project/issue-detail/components/IssueDetailLabels.tsx",- "rule": "no-native-control",- "token": "button",- "count": 3- },- {- "path": "src/routes/project/issue-detail/components/IssueDetailLabels.tsx",- "rule": "no-raw-color",- "token": "bg-white",- "count": 2- },- {- "path": "src/routes/project/issue-detail/components/IssueDetailRoleGrantDetails.tsx",- "rule": "no-raw-color",- "token": "bg-gray-50",- "count": 4- },- {- "path": "src/routes/project/issue-detail/components/IssueDetailStatementSection.tsx",- "rule": "no-native-control",- "token": "input",- "count": 1- },- {- "path": "src/routes/project/issue-detail/components/IssueDetailStatementSection.tsx",- "rule": "no-raw-color",- "token": "bg-white",- "count": 2- },- {- "path": "src/routes/project/issue-detail/components/IssueDetailStatementSection.tsx",- "rule": "no-raw-color",- "token": "text-red-600",- "count": 1- },- {- "path": "src/routes/project/issue-detail/components/IssueDetailTaskRunTable.tsx",- "rule": "no-raw-color",- "token": "bg-gray-50",- "count": 6- },- {- "path": "src/routes/project/issue-detail/components/IssueDetailTitleInput.tsx",- "rule": "no-native-control",- "token": "input",+ "path": "src/routes/project/issue-detail/components/IssueDetailTitleInput.tsx",+ "rule": "no-native-control",+ "token": "input","count": 1},{@@ -1320,30 +576,12 @@"token": "button","count": 1},- {- "path": "src/routes/project/plan-detail/components/deploy/DeployPendingTasksSection.tsx",- "rule": "no-raw-color",- "token": "bg-gray-50",- "count": 1- },- {- "path": "src/routes/project/plan-detail/components/deploy/DeployPendingTasksSection.tsx",- "rule": "no-raw-color",- "token": "text-gray-500",- "count": 2- },{"path": "src/routes/project/plan-detail/components/deploy/DeployTaskFilter.tsx","rule": "no-native-control","token": "button","count": 1},- {- "path": "src/routes/project/plan-detail/components/deploy/DeployTaskFilter.tsx",- "rule": "no-raw-color",- "token": "bg-white",- "count": 1- },{"path": "src/routes/project/plan-detail/components/deploy/DeployTaskHeader.tsx","rule": "no-native-control",@@ -1356,24 +594,6 @@"token": "button","count": 1},- {- "path": "src/routes/project/plan-detail/components/deploy/DeployTaskToolbar.tsx",- "rule": "no-raw-color",- "token": "bg-blue-100",- "count": 1- },- {- "path": "src/routes/project/plan-detail/components/deploy/DeployTaskToolbar.tsx",- "rule": "no-raw-color",- "token": "border-blue-200",- "count": 1- },- {- "path": "src/routes/project/plan-detail/components/deploy/DeployTaskToolbar.tsx",- "rule": "no-raw-color",- "token": "text-blue-900",- "count": 1- },{"path": "src/routes/project/plan-detail/components/lifecycle/PlanStatusAction.tsx","rule": "no-native-control",@@ -1398,18 +618,6 @@"token": "button","count": 2},- {- "path": "src/routes/project/plan-detail/components/PlanDetailChangesBranch.tsx",- "rule": "no-raw-color",- "token": "bg-gray-50",- "count": 1- },- {- "path": "src/routes/project/plan-detail/components/PlanDetailChangesBranch.tsx",- "rule": "no-raw-color",- "token": "bg-white",- "count": 1- },{"path": "src/routes/project/plan-detail/components/PlanDetailHeader.tsx","rule": "no-native-control",@@ -1422,198 +630,24 @@"token": "button","count": 3},- {- "path": "src/routes/project/plan-detail/components/PlanDetailMeta.tsx",- "rule": "no-raw-color",- "token": "bg-white",- "count": 1- },{"path": "src/routes/project/plan-detail/components/PlanDetailStatementSection.tsx","rule": "no-native-control","token": "input","count": 1},- {- "path": "src/routes/project/plan-detail/components/PlanDetailStatementSection.tsx",- "rule": "no-raw-color",- "token": "bg-white",- "count": 2- },- {- "path": "src/routes/project/plan-detail/components/PlanDetailStatementSection.tsx",- "rule": "no-raw-color",- "token": "text-red-600",- "count": 1- },{"path": "src/routes/project/plan-detail/components/PlanDetailTabStrip.tsx","rule": "no-native-control","token": "button","count": 1},- {- "path": "src/routes/project/plan-detail/components/PlanDetailTabStrip.tsx",- "rule": "no-raw-color",- "token": "bg-white",- "count": 3- },- {- "path": "src/routes/project/plan-detail/components/PlanDetailTabStrip.tsx",- "rule": "no-raw-color",- "token": "border-gray-200",- "count": 1- },- {- "path": "src/routes/project/plan-detail/ProjectPlanDetailPage.tsx",- "rule": "no-raw-color",- "token": "bg-gray-50",- "count": 1- },- {- "path": "src/routes/project/plan-detail/ProjectPlanDetailPage.tsx",- "rule": "no-raw-color",- "token": "bg-white",- "count": 3- },- {- "path": "src/routes/project/plan-detail/ProjectPlanDetailPage.tsx",- "rule": "no-raw-color",- "token": "text-white",- "count": 3- },- {- "path": "src/routes/project/ProjectAccessGrantsPage.tsx",- "rule": "no-raw-color",- "token": "bg-green-100",- "count": 1- },- {- "path": "src/routes/project/ProjectAccessGrantsPage.tsx",- "rule": "no-raw-color",- "token": "text-green-700",- "count": 1- },- {- "path": "src/routes/project/ProjectAccessGrantsPage.tsx",- "rule": "no-raw-color",- "token": "text-white",- "count": 1- },- {- "path": "src/routes/project/ProjectGitOpsPage.tsx",- "rule": "no-raw-color",- "token": "bg-gray-100",- "count": 1- },- {- "path": "src/routes/project/ProjectGitOpsPage.tsx",- "rule": "no-raw-color",- "token": "bg-gray-200",- "count": 1- },- {- "path": "src/routes/project/ProjectGitOpsPage.tsx",- "rule": "no-raw-color",- "token": "bg-gray-50",- "count": 1- },- {- "path": "src/routes/project/ProjectGitOpsPage.tsx",- "rule": "no-raw-color",- "token": "border-gray-200",- "count": 4- },- {- "path": "src/routes/project/ProjectGitOpsPage.tsx",- "rule": "no-raw-color",- "token": "text-gray-600",- "count": 1- },{"path": "src/routes/project/ProjectIssueDetailPage.tsx","rule": "no-native-control","token": "button","count": 1},- {- "path": "src/routes/project/ProjectIssueDetailPage.tsx",- "rule": "no-raw-color",- "token": "bg-black/40",- "count": 1- },- {- "path": "src/routes/project/ProjectIssueDetailPage.tsx",- "rule": "no-raw-color",- "token": "bg-white",- "count": 3- },- {- "path": "src/routes/project/ProjectMaskingExemptionPage.tsx",- "rule": "no-raw-color",- "token": "bg-amber-500",- "count": 1- },- {- "path": "src/routes/project/ProjectMaskingExemptionPage.tsx",- "rule": "no-raw-color",- "token": "bg-green-100",- "count": 1- },- {- "path": "src/routes/project/ProjectMaskingExemptionPage.tsx",- "rule": "no-raw-color",- "token": "bg-green-200",- "count": 1- },- {- "path": "src/routes/project/ProjectMaskingExemptionPage.tsx",- "rule": "no-raw-color",- "token": "bg-orange-300",- "count": 1- },- {- "path": "src/routes/project/ProjectMaskingExemptionPage.tsx",- "rule": "no-raw-color",- "token": "bg-red-500",- "count": 1- },- {- "path": "src/routes/project/ProjectMaskingExemptionPage.tsx",- "rule": "no-raw-color",- "token": "bg-yellow-200",- "count": 1- },- {- "path": "src/routes/project/ProjectMaskingExemptionPage.tsx",- "rule": "no-raw-color",- "token": "border-green-200",- "count": 1- },- {- "path": "src/routes/project/ProjectMaskingExemptionPage.tsx",- "rule": "no-raw-color",- "token": "text-amber-600",- "count": 1- },- {- "path": "src/routes/project/ProjectMaskingExemptionPage.tsx",- "rule": "no-raw-color",- "token": "text-blue-600",- "count": 1- },- {- "path": "src/routes/project/ProjectMaskingExemptionPage.tsx",- "rule": "no-raw-color",- "token": "text-green-700",- "count": 1- },- {- "path": "src/routes/project/ProjectMaskingExemptionPage.tsx",- "rule": "no-raw-color",- "token": "text-white",- "count": 2- },{"path": "src/routes/project/ProjectPlanDashboardPage.tsx","rule": "no-native-control",@@ -1662,138 +696,24 @@"token": "input","count": 2},- {- "path": "src/routes/workspace/EnvironmentsPage.tsx",- "rule": "no-raw-color",- "token": "bg-gray-100",- "count": 1- },- {- "path": "src/routes/workspace/EnvironmentsPage.tsx",- "rule": "no-raw-color",- "token": "bg-gray-200",- "count": 1- },- {- "path": "src/routes/workspace/EnvironmentsPage.tsx",- "rule": "no-raw-color",- "token": "bg-white",- "count": 1- },- {- "path": "src/routes/workspace/EnvironmentsPage.tsx",- "rule": "no-raw-color",- "token": "hover:text-gray-600",- "count": 2- },- {- "path": "src/routes/workspace/EnvironmentsPage.tsx",- "rule": "no-raw-color",- "token": "text-gray-400",- "count": 2- },- {- "path": "src/routes/workspace/EnvironmentsPage.tsx",- "rule": "no-raw-color",- "token": "text-gray-600",- "count": 2- },{"path": "src/routes/workspace/general/BrandingSection.tsx","rule": "no-native-control","token": "input","count": 1},- {- "path": "src/routes/workspace/general/BrandingSection.tsx",- "rule": "no-raw-color",- "token": "bg-gray-300",- "count": 1- },- {- "path": "src/routes/workspace/general/BrandingSection.tsx",- "rule": "no-raw-color",- "token": "border-gray-300",- "count": 1- },- {- "path": "src/routes/workspace/general/BrandingSection.tsx",- "rule": "no-raw-color",- "token": "hover:bg-gray-100",- "count": 2- },- {- "path": "src/routes/workspace/general/BrandingSection.tsx",- "rule": "no-raw-color",- "token": "hover:text-indigo-500",- "count": 1- },- {- "path": "src/routes/workspace/general/BrandingSection.tsx",- "rule": "no-raw-color",- "token": "text-gray-500",- "count": 1- },- {- "path": "src/routes/workspace/general/BrandingSection.tsx",- "rule": "no-raw-color",- "token": "text-gray-600",- "count": 1- },- {- "path": "src/routes/workspace/general/BrandingSection.tsx",- "rule": "no-raw-color",- "token": "text-indigo-600",- "count": 1- },{"path": "src/routes/workspace/general/SecuritySection.tsx","rule": "no-native-control","token": "button","count": 1},- {- "path": "src/routes/workspace/general/SecuritySection.tsx",- "rule": "no-raw-color",- "token": "bg-gray-100",- "count": 1- },- {- "path": "src/routes/workspace/general/SecuritySection.tsx",- "rule": "no-raw-color",- "token": "hover:text-gray-700",- "count": 1- },- {- "path": "src/routes/workspace/general/SecuritySection.tsx",- "rule": "no-raw-color",- "token": "text-gray-500",- "count": 2- },{"path": "src/routes/workspace/GlobalMaskingPage.tsx","rule": "no-native-control","token": "button","count": 3},- {- "path": "src/routes/workspace/GlobalMaskingPage.tsx",- "rule": "no-raw-color",- "token": "bg-gray-800",- "count": 1- },- {- "path": "src/routes/workspace/GlobalMaskingPage.tsx",- "rule": "no-raw-color",- "token": "hover:bg-gray-100",- "count": 3- },- {- "path": "src/routes/workspace/GlobalMaskingPage.tsx",- "rule": "no-raw-color",- "token": "text-white",- "count": 1- },{"path": "src/routes/workspace/GroupsPage.tsx","rule": "no-native-control",@@ -1806,30 +726,6 @@"token": "select","count": 1},- {- "path": "src/routes/workspace/GroupsPage.tsx",- "rule": "no-raw-color",- "token": "hover:bg-gray-200",- "count": 1- },- {- "path": "src/routes/workspace/MemberDatabaseResourceName.tsx",- "rule": "no-raw-color",- "token": "text-gray-500",- "count": 1- },- {- "path": "src/routes/workspace/MemberDatabaseResourceName.tsx",- "rule": "no-raw-color",- "token": "text-gray-600",- "count": 1- },- {- "path": "src/routes/workspace/MemberDatabaseResourceName.tsx",- "rule": "no-raw-color",- "token": "text-gray-800",- "count": 1- },{"path": "src/routes/workspace/MembersPage.tsx","rule": "no-native-control",@@ -1842,66 +738,18 @@"token": "textarea","count": 1},- {- "path": "src/routes/workspace/Page403.tsx",- "rule": "no-raw-color",- "token": "bg-red-50",- "count": 1- },- {- "path": "src/routes/workspace/Page403.tsx",- "rule": "no-raw-color",- "token": "border-red-200",- "count": 1- },- {- "path": "src/routes/workspace/Page403.tsx",- "rule": "no-raw-color",- "token": "text-red-600",- "count": 1- },- {- "path": "src/routes/workspace/Page403.tsx",- "rule": "no-raw-color",- "token": "text-red-800",- "count": 1- },{"path": "src/routes/workspace/profile/UserPasswordSection.tsx","rule": "no-native-control","token": "button","count": 2},- {- "path": "src/routes/workspace/profile/UserPasswordSection.tsx",- "rule": "no-raw-color",- "token": "text-green-400",- "count": 1- },- {- "path": "src/routes/workspace/profile/UserPasswordSection.tsx",- "rule": "no-raw-color",- "token": "text-red-400",- "count": 1- },{"path": "src/routes/workspace/RolesPage.tsx","rule": "no-native-control","token": "button","count": 2},- {- "path": "src/routes/workspace/RolesPage.tsx",- "rule": "no-raw-color",- "token": "hover:bg-gray-50",- "count": 2- },- {- "path": "src/routes/workspace/RolesPage.tsx",- "rule": "no-raw-color",- "token": "text-white",- "count": 1- },{"path": "src/routes/workspace/SemanticTypesPage.tsx","rule": "no-native-control",@@ -1920,71 +768,11 @@"token": "input","count": 1},- {- "path": "src/routes/workspace/two-factor/TwoFactorSetupPage.tsx",- "rule": "no-raw-color",- "token": "bg-red-50",- "count": 1- },- {- "path": "src/routes/workspace/two-factor/TwoFactorSetupPage.tsx",- "rule": "no-raw-color",- "token": "bg-yellow-50",- "count": 1- },- {- "path": "src/routes/workspace/two-factor/TwoFactorSetupPage.tsx",- "rule": "no-raw-color",- "token": "border-red-200",- "count": 1- },- {- "path": "src/routes/workspace/two-factor/TwoFactorSetupPage.tsx",- "rule": "no-raw-color",- "token": "border-yellow-200",- "count": 1- },- {- "path": "src/routes/workspace/two-factor/TwoFactorSetupPage.tsx",- "rule": "no-raw-color",- "token": "text-blue-600",- "count": 1- },- {- "path": "src/routes/workspace/two-factor/TwoFactorSetupPage.tsx",- "rule": "no-raw-color",- "token": "text-gray-500",- "count": 1- },- {- "path": "src/routes/workspace/two-factor/TwoFactorSetupPage.tsx",- "rule": "no-raw-color",- "token": "text-red-800",- "count": 1- },- {- "path": "src/routes/workspace/two-factor/TwoFactorSetupPage.tsx",- "rule": "no-raw-color",- "token": "text-yellow-800",- "count": 1- },{"path": "src/routes/workspace/users/UserFormSheet.tsx","rule": "no-native-control","token": "button","count": 2- },- {- "path": "src/routes/workspace/users/UserFormSheet.tsx",- "rule": "no-raw-color",- "token": "text-green-400",- "count": 1- },- {- "path": "src/routes/workspace/users/UserFormSheet.tsx",- "rule": "no-raw-color",- "token": "text-red-400",- "count": 1}]}diff --git a/frontend/src/app/components/SessionExpiredSurface.tsx b/frontend/src/app/components/SessionExpiredSurface.tsxindex b13dcb9c68..8f443065d9 100644--- a/frontend/src/app/components/SessionExpiredSurface.tsx+++ b/frontend/src/app/components/SessionExpiredSurface.tsx@@ -41,7 +41,7 @@ export function SessionExpiredSurface({{t("auth.token-expired-title")}</BaseDialog.Title><div- className="bg-white shadow-lg rounded-sm py-3 flex pointer-events-auto flex-col gap-3"+ className="bg-background shadow-lg rounded-sm py-3 flex pointer-events-auto flex-col gap-3"style={{maxWidth: "calc(100vw - 80px)",maxHeight: "calc(100vh - 80px)",diff --git a/frontend/src/assets/css/tailwind.css b/frontend/src/assets/css/tailwind.cssindex 658f9614e9..51e38542a0 100644--- a/frontend/src/assets/css/tailwind.css+++ b/frontend/src/assets/css/tailwind.css@@ -170,6 +170,13 @@/* green-700 */--color-success-hover: 21 128 61; /* #15803d */+ /* Classification severity scale: levels 1 through 5. */+ --color-classification-level-1: 187 247 208; /* #bbf7d0 */+ --color-classification-level-2: 254 240 138; /* #fef08a */+ --color-classification-level-3: 253 186 116; /* #fdba74 */+ --color-classification-level-4: 245 158 11; /* #f59e0b */+ --color-classification-level-5: 239 68 68; /* #ef4444 */+/* gray-200 */--color-link-hover: 229 231 235; /* #e5e7eb */diff --git a/frontend/src/components/AdvancedSearch.tsx b/frontend/src/components/AdvancedSearch.tsxindex 073f9256c8..f5afb6857e 100644--- a/frontend/src/components/AdvancedSearch.tsx+++ b/frontend/src/components/AdvancedSearch.tsx@@ -664,7 +664,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-control-border rounded-xs bg-background transition-colors dark:bg-dark-bg dark:border-zinc-700"+ 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()}>{/*@@ -695,7 +695,7 @@ export function AdvancedSearch({data-search-scope-id={scope.id}data-search-scope-index={originalIndex}className={cn(- "inline-flex h-6 max-w-[16rem] min-w-0 shrink-0 items-center gap-1 rounded-xs bg-control-bg px-1.5 text-xs whitespace-nowrap dark:bg-zinc-700 dark:text-gray-100",+ "inline-flex h-6 max-w-[16rem] min-w-0 shrink-0 items-center gap-1 rounded-xs bg-control-bg px-1.5 text-xs whitespace-nowrap",focusedTagIndex === originalIndex && "ring-1 ring-accent")}onClick={(e) => {@@ -755,7 +755,7 @@ export function AdvancedSearch({<inputref={inputRef}className={cn(- "flex-1 bg-transparent border-none px-2 text-sm text-main placeholder:text-control-placeholder focus:outline-none focus:border-none focus:ring-0 focus:shadow-none dark:text-gray-100 dark:placeholder:text-gray-500",+ "flex-1 bg-transparent border-none px-2 text-sm text-main placeholder:text-control-placeholder focus:outline-none focus:border-none focus:ring-0 focus:shadow-none",visibleTags.length > 0 ? "min-w-[40px]" : "min-w-[120px]")}value={inputText}diff --git a/frontend/src/components/BannersWrapper.tsx b/frontend/src/components/BannersWrapper.tsxindex 1d96c27fec..c0deb19fa2 100644--- a/frontend/src/components/BannersWrapper.tsx+++ b/frontend/src/components/BannersWrapper.tsx@@ -59,7 +59,7 @@ function BannerDismissButton({type="button"appearance="secondary"size="sm"- className="text-white hover:bg-white/10 hover:text-white"+ className="text-accent-text hover:bg-accent-text/10 hover:text-accent-text"onClick={onClick}><span className="sr-only">{label}</span>@@ -82,7 +82,7 @@ function BannerExternalUrl() {<div className="mx-auto px-3 py-3"><div className="flex flex-wrap items-center justify-between"><div className="flex w-0 flex-1 items-center">- <p className="ml-3 truncate font-medium text-white">+ <p className="ml-3 truncate font-medium text-accent-text">{t("banner.external-url")}</p></div>@@ -154,19 +154,19 @@ function BannerSubscription() {<div className="bg-info"><div className="mx-auto px-3 py-1"><div className="flex flex-wrap items-center justify-center gap-x-2">- <p className="ml-3 truncate text-base font-medium text-white">+ <p className="ml-3 truncate text-base font-medium text-accent-text">{content}</p><RouterLinkto={{ name: SETTING_ROUTE_WORKSPACE_SUBSCRIPTION }}- className="flex cursor-pointer items-center justify-center py-1 text-base font-medium text-white underline hover:opacity-80"+ className="flex cursor-pointer items-center justify-center py-1 text-base font-medium text-accent-text underline hover:opacity-80">{t(isTrialing? "subscription.purchase.subscribe": "subscription.purchase.update")}- <ShoppingCart className="ml-1 size-5 text-white" />+ <ShoppingCart className="ml-1 size-5 text-accent-text" /></RouterLink></div></div>@@ -234,11 +234,11 @@ function BannerUpgradeSubscription() {return (<>- <div className="overflow-clip bg-gray-200">+ <div className="overflow-clip bg-control-bg-hover"><div className="bb-banner-scroll min-h-10 w-full"><div className="mx-auto flex min-h-10 w-full flex-row flex-wrap items-center justify-start gap-x-2 gap-y-1 px-3 py-2 text-sm leading-5 sm:justify-center sm:py-1"><div className="flex min-w-0 max-w-full flex-[0_1_auto] flex-row items-start sm:items-center">- <AlertCircle className="mt-0.5 mr-1 h-auto w-5 shrink-0 text-gray-800 sm:mt-0" />+ <AlertCircle className="mt-0.5 mr-1 h-auto w-5 shrink-0 text-main sm:mt-0" /><span data-label="bb-upgrade-banner-message" className="min-w-0"><Transt={t}diff --git a/frontend/src/components/ClassificationTree.tsx b/frontend/src/components/ClassificationTree.tsxindex 4384f901f0..31c7a44aeb 100644--- a/frontend/src/components/ClassificationTree.tsx+++ b/frontend/src/components/ClassificationTree.tsx@@ -5,6 +5,7 @@ import { SearchInput } from "@/components/ui/search-input";import type { TreeDataNode } from "@/components/ui/tree";import { Tree } from "@/components/ui/tree";import type { DataClassificationSetting_DataClassificationConfig } from "@/types/proto-es/v1/setting_service_pb";+import { classificationLevelBackgroundClasses } from "./classification-level";interface TreeNode {key: string;@@ -72,14 +73,6 @@ function buildTreeData(return toNodes(map);}-const bgColorList = [- "bg-green-200",- "bg-yellow-200",- "bg-orange-300",- "bg-amber-500",- "bg-red-500",-];-function LevelBadge({level,config,@@ -89,7 +82,8 @@ function LevelBadge({}) {const levelObj = config.levels.find((l) => l.level === level);if (!levelObj) return null;- const color = bgColorList[level - 1] ?? "bg-control-bg-hover";+ const color =+ classificationLevelBackgroundClasses[level - 1] ?? "bg-control-bg-hover";return (<span className={`ml-1 px-1 py-0.5 rounded-xs text-xs ${color}`}>{levelObj.title}diff --git a/frontend/src/components/CustomApproval/RulesSection.tsx b/frontend/src/components/CustomApproval/RulesSection.tsxindex 050e5aa2fa..105ef9fceb 100644--- a/frontend/src/components/CustomApproval/RulesSection.tsx+++ b/frontend/src/components/CustomApproval/RulesSection.tsx@@ -105,13 +105,13 @@ function SortableRow({<divref={setNodeRef}style={style}- className={`grid border-b border-gray-100 last:border-b-0 hover:bg-gray-50 ${- index % 2 === 1 ? "bg-gray-50/50" : ""+ className={`grid border-b border-block-border last:border-b-0 hover:bg-control-bg/50 ${+ index % 2 === 1 ? "bg-control-bg/50" : ""}`}><div className="flex items-center justify-center px-2 py-2"><GripVertical- className="h-4 w-4 cursor-grab text-gray-400 active:cursor-grabbing"+ className="h-4 w-4 cursor-grab text-control-placeholder active:cursor-grabbing"{...attributes}{...listeners}/>@@ -150,7 +150,7 @@ function SortableRow({<><buttontype="button"- className="inline-flex h-6 w-6 items-center justify-center rounded-xs hover:bg-gray-200"+ className="inline-flex h-6 w-6 items-center justify-center rounded-xs hover:bg-control-bg-hover"onClick={handleEditClick}><Pencil className="h-3 w-3" />@@ -158,7 +158,7 @@ function SortableRow({{allowAdmin && (<buttontype="button"- className="inline-flex h-6 w-6 items-center justify-center rounded-xs hover:bg-gray-200"+ className="inline-flex h-6 w-6 items-center justify-center rounded-xs hover:bg-control-bg-hover"onClick={handleDeleteClick}><Trash2 className="h-3 w-3" />@@ -181,10 +181,10 @@ function RuleRowOverlay({return (<divstyle={gridStyle}- className="grid border border-gray-200 bg-blue-50 opacity-50"+ className="grid border border-block-border bg-info/10 opacity-50"><div className="flex items-center justify-center px-2 py-2">- <GripVertical className="h-4 w-4 text-gray-400" />+ <GripVertical className="h-4 w-4 text-control-placeholder" /></div><div className="truncate px-3 py-2">{rule.title || "-"}</div><div className="overflow-hidden text-ellipsis whitespace-nowrap px-3 py-2">@@ -350,11 +350,11 @@ export function RulesSection({</PermissionGuard></div>- <div className="rounded-sm border border-gray-200 text-sm">+ <div className="rounded-sm border border-block-border text-sm">{/* Table Header */}<divstyle={gridStyle}- className="grid border-b border-gray-200 bg-gray-50 font-medium text-gray-600"+ className="grid border-b border-block-border bg-control-bg/50 font-medium text-control"><div className="px-2 py-2" /><div className="relative px-3 py-2">@@ -403,7 +403,7 @@ export function RulesSection({{/* Empty State */}{localRules.length === 0 && (- <div className="px-3 py-4 text-center text-gray-400">+ <div className="px-3 py-4 text-center text-control-placeholder">{t("common.no-data")}</div>)}diff --git a/frontend/src/components/DashboardBodyShell.tsx b/frontend/src/components/DashboardBodyShell.tsxindex 71b339fb14..f2a5c9a14e 100644--- a/frontend/src/components/DashboardBodyShell.tsx+++ b/frontend/src/components/DashboardBodyShell.tsx@@ -59,7 +59,7 @@ export function DashboardBodyShell({<buttonaria-label={t("common.close-mobile-sidebar")}className={cn(- "absolute inset-0 bg-black/20 transition-opacity",+ "absolute inset-0 bg-overlay/20 transition-opacity",isMobileSidebarOpen ? "opacity-100" : "opacity-0")}type="button"@@ -104,7 +104,7 @@ export function DashboardBodyShell({<div className="flex h-full flex-col overflow-hidden">{showHeader ? (<nav- className="shrink-0 border-b border-block-border bg-white"+ className="shrink-0 border-b border-block-border bg-background"data-label="bb-dashboard-header"><div className="mx-auto max-w-full">diff --git a/frontend/src/components/DashboardSidebar.tsx b/frontend/src/components/DashboardSidebar.tsxindex caec9134c8..8346d855c0 100644--- a/frontend/src/components/DashboardSidebar.tsx+++ b/frontend/src/components/DashboardSidebar.tsx@@ -275,7 +275,7 @@ function filterSidebarList(items: SidebarItem[]): SidebarItem[] {// ---------------------------------------------------------------------------const parentRouteClass =- "group flex items-center px-2 py-1.5 leading-normal font-medium rounded-xs text-gray-700 outline-item whitespace-nowrap text-sm!";+ "group flex items-center px-2 py-1.5 leading-normal font-medium rounded-xs text-main outline-item whitespace-nowrap text-sm!";const childRouteClass ="group w-full flex items-center pl-9 pr-2 py-1 outline-item mb-0.5 rounded-xs whitespace-nowrap";@@ -404,7 +404,7 @@ export function DashboardSidebar() {return (<divkey={index}- className="border-t border-gray-300 my-2.5 mr-4 ml-2"+ className="border-t border-control-border my-2.5 mr-4 ml-2"/>);}@@ -420,7 +420,7 @@ export function DashboardSidebar() {}}className={`${parentRouteClass} cursor-pointer no-underline text-inherit ${classes.join(" ")}`}>- {Icon && <Icon className="mr-2 w-5 h-5 text-gray-500" />}+ {Icon && <Icon className="mr-2 w-5 h-5 text-control-light" />}{item.title}</RouterLink>);@@ -437,10 +437,10 @@ export function DashboardSidebar() {className={`${parentRouteClass} cursor-pointer ${classes.join(" ")}`}onClick={() => onGroupClick(item, key)}>- {Icon && <Icon className="mr-2 w-5 h-5 text-gray-500" />}+ {Icon && <Icon className="mr-2 w-5 h-5 text-control-light" />}{item.title}{hasChildren && (- <div className="ml-auto text-gray-500">+ <div className="ml-auto text-control-light">{isExpanded ? (<ChevronDown className="w-4 h-4" />) : (diff --git a/frontend/src/components/DatabaseGroupDataTable.tsx b/frontend/src/components/DatabaseGroupDataTable.tsxindex 879bcbbefb..28fa492051 100644--- a/frontend/src/components/DatabaseGroupDataTable.tsx+++ b/frontend/src/components/DatabaseGroupDataTable.tsx@@ -132,7 +132,7 @@ export function DatabaseGroupDataTable({<div className="overflow-x-auto"><Table><TableHeader>- <TableRow className="bg-gray-50">+ <TableRow className="bg-control-bg/50">{showSelection && <TableHead className="w-10" />}<TableHead className="w-64">{t("common.name")}</TableHead><TableHead>{t("database.expression")}</TableHead>@@ -201,7 +201,7 @@ export function DatabaseGroupDataTable({type="button"className={cn("flex items-center justify-end cursor-pointer size-6 p-1 opacity-60",- "hover:opacity-100 hover:bg-white hover:shadow-xs rounded-sm"+ "hover:opacity-100 hover:bg-background hover:shadow-xs rounded-sm")}onClick={(e) => handleExternalLink(e, group)}aria-label={t("common.view-details")}diff --git a/frontend/src/components/ProjectSidebar.tsx b/frontend/src/components/ProjectSidebar.tsxindex 3252c196b4..296ab16f9b 100644--- a/frontend/src/components/ProjectSidebar.tsx+++ b/frontend/src/components/ProjectSidebar.tsx@@ -228,7 +228,7 @@ function filterSidebarList(items: SidebarItem[]): SidebarItem[] {// ---------------------------------------------------------------------------const parentRouteClass =- "group flex items-center px-2 py-1.5 leading-normal font-medium rounded-xs text-gray-700 outline-item whitespace-nowrap text-sm!";+ "group flex items-center px-2 py-1.5 leading-normal font-medium rounded-xs text-main outline-item whitespace-nowrap text-sm!";const childRouteClass ="group w-full flex items-center pl-9 pr-2 py-1 outline-item mb-0.5 rounded-xs whitespace-nowrap";@@ -383,7 +383,7 @@ export function ProjectSidebar() {className={`${parentRouteClass} cursor-pointer no-underline text-inherit ${classes.join(" ")}`}onClick={() => recordItemVisit(item.path!)}>- {Icon && <Icon className="mr-2 w-5 h-5 text-gray-500" />}+ {Icon && <Icon className="mr-2 w-5 h-5 text-control-light" />}{item.title}</RouterLink>);@@ -397,10 +397,10 @@ export function ProjectSidebar() {className={`${parentRouteClass} cursor-pointer ${classes.join(" ")}`}onClick={() => onGroupClick(item, key)}>- {Icon && <Icon className="mr-2 w-5 h-5 text-gray-500" />}+ {Icon && <Icon className="mr-2 w-5 h-5 text-control-light" />}{item.title}{hasChildren && (- <div className="ml-auto text-gray-500">+ <div className="ml-auto text-control-light">{isExpanded ? (<ChevronDown className="w-4 h-4" />) : (diff --git a/frontend/src/components/ResourceIdField.tsx b/frontend/src/components/ResourceIdField.tsxindex 6a84951038..b81376fb58 100644--- a/frontend/src/components/ResourceIdField.tsx+++ b/frontend/src/components/ResourceIdField.tsx@@ -196,7 +196,7 @@ export const ResourceIdField = forwardRef<<div className="flex items-center gap-x-1">{t("resource-id.self", { resource: resourceName })}:{value ? (- <span className="text-gray-600 font-medium mr-1 inline-flex items-center gap-x-1">+ <span className="text-control font-medium mr-1 inline-flex items-center gap-x-1">{value}{readonly && <CopyButton content={value} />}</span>@@ -242,7 +242,7 @@ export const ResourceIdField = forwardRef<<likey={msg.message}className={`break-words w-full text-xs ${- msg.type === "warning" ? "text-yellow-600" : "text-red-600"+ msg.type === "warning" ? "text-warning" : "text-error"}`}>{msg.message}diff --git a/frontend/src/components/TaskStatusIcon.tsx b/frontend/src/components/TaskStatusIcon.tsxindex 6255a6f34a..04e09c27f1 100644--- a/frontend/src/components/TaskStatusIcon.tsx+++ b/frontend/src/components/TaskStatusIcon.tsx@@ -75,11 +75,11 @@ export function TaskStatusIcon({className={cn("relative inline-flex shrink-0 items-center justify-center overflow-hidden rounded-full select-none",BOX_CLASSES[size],- (isNeutral || status === Task_Status.RUNNING) && "bg-white",+ (isNeutral || status === Task_Status.RUNNING) && "bg-background",isNeutral && "border-[1.5px] border-control-light text-control-light",status === Task_Status.STATUS_UNSPECIFIED && "border-dashed",- status === Task_Status.DONE && "bg-success text-white",- status === Task_Status.FAILED && "bg-error text-white"+ status === Task_Status.DONE && "bg-success text-accent-text",+ status === Task_Status.FAILED && "bg-error text-accent-text")}>{status === Task_Status.NOT_STARTED && (diff --git a/frontend/src/components/classification-level.ts b/frontend/src/components/classification-level.tsnew file mode 100644index 0000000000..c602d6d939--- /dev/null+++ b/frontend/src/components/classification-level.ts@@ -0,0 +1,7 @@+export const classificationLevelBackgroundClasses = [+ "bg-classification-level-1",+ "bg-classification-level-2",+ "bg-classification-level-3",+ "bg-classification-level-4",+ "bg-classification-level-5",+] as const;diff --git a/frontend/src/components/header/DashboardHeader.tsx b/frontend/src/components/header/DashboardHeader.tsxindex 353af8e77f..c3a1e8b7a2 100644--- a/frontend/src/components/header/DashboardHeader.tsx+++ b/frontend/src/components/header/DashboardHeader.tsx@@ -69,7 +69,7 @@ export function DashboardHeader({type="button"aria-label={t("common.open-mobile-sidebar")}title={t("common.open-mobile-sidebar")}- className="p-1 text-gray-500 hover:text-gray-900 md:hidden"+ className="p-1 text-control-light hover:text-main md:hidden"onClick={onOpenMobileSidebar}><Menu className="h-4 w-4" />diff --git a/frontend/src/components/header/ProfileMenuTrigger.tsx b/frontend/src/components/header/ProfileMenuTrigger.tsxindex 07d0d5403e..676dc226a8 100644--- a/frontend/src/components/header/ProfileMenuTrigger.tsx+++ b/frontend/src/components/header/ProfileMenuTrigger.tsx@@ -93,11 +93,11 @@ export function ProfileMenuTrigger({const wrapperClass = useMemo(() => {if (!customLogo) {- return "flex items-center justify-center rounded-full bg-gray-100";+ return "flex items-center justify-center rounded-full bg-control-bg";}return size === "small"- ? "flex items-center justify-center rounded-full bg-gray-100 md:px-1 md:py-0.5"- : "flex items-center justify-center rounded-full bg-gray-100 md:px-2 md:py-1.5";+ ? "flex items-center justify-center rounded-full bg-control-bg md:px-1 md:py-0.5"+ : "flex items-center justify-center rounded-full bg-control-bg md:px-2 md:py-1.5";}, [customLogo, size]);const logoClass = size === "small" ? "mr-2" : "mr-4";diff --git a/frontend/src/components/instance/CreateDataSourceExample.tsx b/frontend/src/components/instance/CreateDataSourceExample.tsxindex ab412ac703..14f5ddb711 100644--- a/frontend/src/components/instance/CreateDataSourceExample.tsx+++ b/frontend/src/components/instance/CreateDataSourceExample.tsx@@ -486,7 +486,7 @@ export function CreateDataSourceExample({return (<div className={`w-full flex flex-col justify-start ${className ?? ""}`}>- <p className="w-full text-sm text-gray-500">+ <p className="w-full text-sm text-control-light">{descriptionText}{!createInstanceFlag && grantStatement && (<span@@ -505,12 +505,12 @@ export function CreateDataSourceExample({userName={userName}/><div className="mt-2 flex flex-row">- <pre className="flex-1 min-w-0 w-full inline-flex items-center px-3 py-2 border border-r border-control-border bg-gray-50 text-sm whitespace-pre-line rounded-l-xs font-mono overflow-auto">+ <pre className="flex-1 min-w-0 w-full inline-flex items-center px-3 py-2 border border-r border-control-border bg-control-bg/50 text-sm whitespace-pre-line rounded-l-xs font-mono overflow-auto">{grantStatement}</pre><buttontype="button"- 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 focus:ring-control focus:outline-hidden focus-visible:ring-2 focus:ring-offset-1 rounded-r-xs"+ className="flex items-center -ml-px px-2 py-2 border border-control-border text-sm font-medium text-control-light bg-control-bg/50 hover:bg-control-bg focus:ring-control focus:outline-hidden focus-visible:ring-2 focus:ring-offset-1 rounded-r-xs"onClick={handleCopy}title="Copy">diff --git a/frontend/src/components/instance/DataSourceSection.tsx b/frontend/src/components/instance/DataSourceSection.tsxindex 6e2f3a8a97..ddaac9631f 100644--- a/frontend/src/components/instance/DataSourceSection.tsx+++ b/frontend/src/components/instance/DataSourceSection.tsx@@ -166,7 +166,7 @@ export function DataSourceSection({{hasReadOnlyDataSource && (<buttontype="button"- className="ml-1 text-red-500 hover:text-red-700 text-xs pb-2"+ className="ml-1 text-error hover:text-error-hover text-xs pb-2"disabled={!allowUpdate}onClick={() => {if (diff --git a/frontend/src/components/plan-check/PlanCheckSection.tsx b/frontend/src/components/plan-check/PlanCheckSection.tsxindex 6391572878..0dc2698331 100644--- a/frontend/src/components/plan-check/PlanCheckSection.tsx+++ b/frontend/src/components/plan-check/PlanCheckSection.tsx@@ -221,7 +221,7 @@ function PlanCheckFilterPills({className={cn("flex cursor-pointer items-center gap-1 rounded-sm px-2 py-1 transition-colors",textClass,- isSelected ? "bg-gray-100" : "hover:bg-gray-100"+ isSelected ? "bg-control-bg" : "hover:bg-control-bg")}key={status}onClick={() => onSelect(isSelected ? undefined : status)}@@ -440,7 +440,7 @@ export function PlanCheckResultCard({)}{affectedRows !== undefined && (<div className="mt-1 flex items-center gap-1 text-sm">- <span className="inline-flex items-center rounded-full bg-white px-2 py-0.5 text-xs text-control">+ <span className="inline-flex items-center rounded-full bg-background px-2 py-0.5 text-xs text-control">{t("task.check-type.affected-rows.self")}</span><span>{String(affectedRows)}</span>diff --git a/frontend/src/components/release/ReleaseInfoCard.tsx b/frontend/src/components/release/ReleaseInfoCard.tsxindex ce55c9de46..aec99750b7 100644--- a/frontend/src/components/release/ReleaseInfoCard.tsx+++ b/frontend/src/components/release/ReleaseInfoCard.tsx@@ -75,7 +75,7 @@ export function ReleaseInfoCard({function LoadingBlock() {const { t } = useTranslation();return (- <div className="rounded-sm border border-control-border bg-gray-50 px-4 py-3 text-sm text-control-light">+ <div className="rounded-sm border border-control-border bg-control-bg/50 px-4 py-3 text-sm text-control-light"><div className="flex items-center gap-x-2"><Loader2 className="h-4 w-4 animate-spin" /><span>{t("common.loading")}</span>@@ -103,7 +103,7 @@ function ReleaseBlock({ release }: Readonly<{ release: Release }>) {: undefined;return (- <div className="rounded-sm border border-control-border bg-gray-50 px-4 py-3">+ <div className="rounded-sm border border-control-border bg-control-bg/50 px-4 py-3"><div className="flex flex-col gap-y-3">{release.files.length > 0 && (<div className="flex flex-col gap-y-2">@@ -126,19 +126,19 @@ function ReleaseBlock({ release }: Readonly<{ release: Release }>) {{displayedFiles.map((file) => (<divkey={file.path}- className="flex items-center justify-between rounded-sm bg-white p-2 text-xs"+ className="flex items-center justify-between rounded-sm bg-background p-2 text-xs"><div className="mr-2 min-w-0 flex-1"><div className="truncate font-medium">{file.path}</div><div className="text-control-light">{file.version}</div></div>- <div className="shrink-0 rounded-sm bg-blue-100 px-1.5 py-0.5 text-xs text-blue-800">+ <div className="shrink-0 rounded-sm bg-info/10 px-1.5 py-0.5 text-xs text-info">{getReleaseFileTypeText(release.type, t)}</div></div>))}{release.files.length > MAX_DISPLAYED_RELEASE_FILES && (- <div className="flex items-center justify-center rounded-sm border border-dashed border-control-border bg-white p-2 text-xs text-control-light">+ <div className="flex items-center justify-center rounded-sm border border-dashed border-control-border bg-background p-2 text-xs text-control-light">{t("release.and-n-more-files", {count: release.files.length - MAX_DISPLAYED_RELEASE_FILES,})}diff --git a/frontend/src/components/sql-review/RuleComponents.tsx b/frontend/src/components/sql-review/RuleComponents.tsxindex 4783e41480..9776fe627a 100644--- a/frontend/src/components/sql-review/RuleComponents.tsx+++ b/frontend/src/components/sql-review/RuleComponents.tsx@@ -79,9 +79,9 @@ export function RuleLevelSwitch({const activeClass = (opt: SQLReviewRule_Level) => {if (opt === SQLReviewRule_Level.ERROR) {- return "relative z-10 border-red-800 bg-red-100 text-red-800 hover:bg-red-100";+ return "relative z-10 border-error bg-error/10 text-error hover:bg-error/10";}- return "relative z-10 border-yellow-800 bg-yellow-100 text-yellow-800 hover:bg-yellow-100";+ return "relative z-10 border-warning bg-warning/10 text-warning hover:bg-warning/10";};const filtered = editablediff --git a/frontend/src/modules/agent/components/AgentChat.tsx b/frontend/src/modules/agent/components/AgentChat.tsxindex 642ca31988..04ef8b8870 100644--- a/frontend/src/modules/agent/components/AgentChat.tsx+++ b/frontend/src/modules/agent/components/AgentChat.tsx@@ -116,7 +116,7 @@ export function AgentChat({ className }: AgentChatProps) {{displayMessages.map((msg) =>msg.role === "user" ? (<div key={msg.id} className="flex justify-end">- <div className="max-w-[80%] rounded-sm bg-blue-50 px-3 py-2 text-sm">+ <div className="max-w-[80%] rounded-sm bg-info/10 px-3 py-2 text-sm">{msg.content}</div></div>@@ -216,7 +216,7 @@ export function AgentChat({ className }: AgentChatProps) {)}{showAIConfigurationRecovery ? (- <div className="max-w-[80%] rounded-sm border border-amber-200 bg-amber-50 px-3 py-3 text-sm text-amber-900">+ <div className="max-w-[80%] rounded-sm border border-warning/20 bg-warning/10 px-3 py-3 text-sm text-warning"><div className="font-medium">{t("agent.ai-not-configured.title")}</div>@@ -242,14 +242,14 @@ export function AgentChat({ className }: AgentChatProps) {</Button></div>{!allowConfigure && (- <div className="mt-1 text-amber-800">+ <div className="mt-1 text-warning">{t("agent.ai-not-configured.contact-admin")}</div>)}</div>) : (error && (- <div className="rounded-sm bg-red-50 px-3 py-2 text-sm text-error">+ <div className="rounded-sm bg-error/10 px-3 py-2 text-sm text-error">{error}</div>)diff --git a/frontend/src/modules/agent/components/AgentInput.tsx b/frontend/src/modules/agent/components/AgentInput.tsxindex 73b6bdcbc2..7c4545c519 100644--- a/frontend/src/modules/agent/components/AgentInput.tsx+++ b/frontend/src/modules/agent/components/AgentInput.tsx@@ -679,7 +679,7 @@ export function AgentInput() {<div className="border-t p-3">{/* Pending ask banner */}{currentPendingAsk && (- <div className="mb-3 rounded-xs bg-amber-50 px-3 py-2 text-xs text-amber-700">+ <div className="mb-3 rounded-xs bg-warning/10 px-3 py-2 text-xs text-warning"><div className="font-medium">{currentPendingAsk.prompt}</div><div className="mt-1">{currentPendingAsk.kind === "confirm"@@ -693,7 +693,7 @@ export function AgentInput() {{/* Interrupted banner */}{isInterrupted && (- <div className="mb-3 rounded-xs bg-red-50 px-3 py-2 text-xs text-red-700">+ <div className="mb-3 rounded-xs bg-error/10 px-3 py-2 text-xs text-error"><div className="font-medium">{t("agent.interrupted")}</div><div className="mt-1">{t("agent.interrupted-retry-hint")}</div><div className="mt-2 flex flex-wrap gap-x-2 gap-y-2">diff --git a/frontend/src/modules/agent/components/AgentWindow.tsx b/frontend/src/modules/agent/components/AgentWindow.tsxindex bc4f42029a..2578e41a99 100644--- a/frontend/src/modules/agent/components/AgentWindow.tsx+++ b/frontend/src/modules/agent/components/AgentWindow.tsx@@ -1011,7 +1011,7 @@ export function AgentWindow() {</AgentDropdownMenuItem><AgentDropdownMenuItemdata-agent-delete-all-chats- className="text-error data-highlighted:bg-red-50"+ className="text-error data-highlighted:bg-error/10"disabled={isDeleteAllDisabled}onClick={(event) => {event.stopPropagation();diff --git a/frontend/src/modules/ai/components/DynamicSuggestions.tsx b/frontend/src/modules/ai/components/DynamicSuggestions.tsxindex 4b2e55d8e0..4e15a319b1 100644--- a/frontend/src/modules/ai/components/DynamicSuggestions.tsx+++ b/frontend/src/modules/ai/components/DynamicSuggestions.tsx@@ -154,7 +154,7 @@ export function DynamicSuggestions({ onEnter }: Props) {</div>)}{state === "ENDED" && (- <span className="shrink-0 text-gray-500">+ <span className="shrink-0 text-control-light">{t("plugin.ai.conversation.tips.no-more")}</span>)}diff --git a/frontend/src/modules/schema-diagram/ER/TableNode.tsx b/frontend/src/modules/schema-diagram/ER/TableNode.tsxindex 87c343ea29..9ec9478562 100644--- a/frontend/src/modules/schema-diagram/ER/TableNode.tsx+++ b/frontend/src/modules/schema-diagram/ER/TableNode.tsx@@ -101,10 +101,10 @@ export function TableNode({ schema, table }: TableNodeProps) {const classes: string[] = [];if (editable) classes.push("cursor-pointer");const status = columnStatus(column);- if (status === "changed") classes.push("text-yellow-700 bg-yellow-50");- else if (status === "created") classes.push("text-green-700 bg-green-50");+ if (status === "changed") classes.push("bg-warning/10 text-warning");+ else if (status === "created") classes.push("bg-success/10 text-success");else if (status === "dropped")- classes.push("text-red-700 bg-red-50 line-through");+ classes.push("bg-error/10 text-error line-through");return classes.join(" ");},[editable, columnStatus]@@ -138,15 +138,15 @@ export function TableNode({ schema, table }: TableNodeProps) {><h3className={cn(- "group font-medium leading-6 text-white px-2 py-2 rounded-t-sm gap-x-1 relative text-center whitespace-pre-wrap break-words"+ "group font-medium leading-6 text-accent-text px-2 py-2 rounded-t-sm gap-x-1 relative text-center whitespace-pre-wrap break-words")}style={{ backgroundColor: tableColor }}><FocusButtontable={table}setCenter={false}- className="invisible group-hover:visible !absolute top-[50%] -mt-[9px] left-1 text-control group-hover:!bg-white/70 group-hover:!text-control"- focusedClass="!text-white"+ className="invisible group-hover:visible !absolute top-[50%] -mt-[9px] left-1 text-control group-hover:!bg-background/70 group-hover:!text-control"+ focusedClass="!text-accent-text"/>{schema.name !== "" && (@@ -167,7 +167,7 @@ export function TableNode({ schema, table }: TableNodeProps) {{editable && (<buttontype="button"- className="invisible group-hover:visible absolute top-[50%] -mt-[9px] right-1 text-control bg-white/70 hover:bg-control-bg p-0.5 rounded-sm"+ className="invisible group-hover:visible absolute top-[50%] -mt-[9px] right-1 text-control bg-background/70 hover:bg-control-bg p-0.5 rounded-sm"onClick={() => events.emit("edit-table", { schema, table })}><Pencil className="size-4" />diff --git a/frontend/src/modules/sql-editor/components/ResultView/SelectionCopyTooltips.tsx b/frontend/src/modules/sql-editor/components/ResultView/SelectionCopyTooltips.tsxindex 3301c0af4d..d286e13411 100644--- a/frontend/src/modules/sql-editor/components/ResultView/SelectionCopyTooltips.tsx+++ b/frontend/src/modules/sql-editor/components/ResultView/SelectionCopyTooltips.tsx@@ -99,7 +99,7 @@ export function SelectionCopyTooltips() {size="sm"variant="default"aria-label={t("common.copy")}- className="h-6 w-5 px-0 rounded-l-none border-l border-white/30"+ className="h-6 w-5 px-0 rounded-l-none border-l border-accent-text/30"><ChevronDownIcon className="size-3" /></Button>diff --git a/frontend/src/modules/sql-editor/components/SchemaPane/TreeNode/icons.tsx b/frontend/src/modules/sql-editor/components/SchemaPane/TreeNode/icons.tsxindex 6d000b8dfc..89912603b2 100644--- a/frontend/src/modules/sql-editor/components/SchemaPane/TreeNode/icons.tsx+++ b/frontend/src/modules/sql-editor/components/SchemaPane/TreeNode/icons.tsx@@ -33,8 +33,7 @@ export function ViewIcon({ className }: IconProps) {<div className={cn("relative", baseSize, className)}><Table className={cn(baseSize, "text-control-placeholder")} /><Glasses- className="absolute bottom-0 right-0 w-3/4 h-3/4 fill-white"- stroke="rgb(var(--color-accent))"+ className="absolute bottom-0 right-0 w-3/4 h-3/4 fill-background stroke-accent"strokeWidth={3.5}/></div>@@ -76,7 +75,7 @@ export function SequenceIcon({ className }: IconProps) {}export function TriggerIcon({ className }: IconProps) {- return <Zap className={cn(baseSize, "text-amber-500", className)} />;+ return <Zap className={cn(baseSize, "text-warning", className)} />;}export function PackageIcon({ className }: IconProps) {@@ -101,7 +100,7 @@ export function TablePartitionIcon({ className }: IconProps) {export function PrimaryKeyIcon({ className }: IconProps) {return (<div className={cn("relative overflow-hidden", baseSize, className)}>- <Key className="w-full h-full mx-auto text-amber-500" />+ <Key className="w-full h-full mx-auto text-warning" /></div>);}diff --git a/frontend/src/routes/auth/MultiFactorPage.tsx b/frontend/src/routes/auth/MultiFactorPage.tsxindex 960bc4da1b..fc0e121968 100644--- a/frontend/src/routes/auth/MultiFactorPage.tsx+++ b/frontend/src/routes/auth/MultiFactorPage.tsx@@ -54,7 +54,7 @@ export function MultiFactorPage() {return (<div className="mx-auto max-w-2xl h-full py-6 flex flex-col justify-center items-center">- <div className="w-80 p-8 py-6 shadow-sm border border-control-border rounded-sm bg-white">+ <div className="w-80 p-8 py-6 shadow-sm border border-control-border rounded-sm bg-background"><imgsrc={logoFull}alt="Bytebase"diff --git a/frontend/src/routes/auth/OAuth2ConsentPage.tsx b/frontend/src/routes/auth/OAuth2ConsentPage.tsxindex 391f84ab5e..46b533daf3 100644--- a/frontend/src/routes/auth/OAuth2ConsentPage.tsx+++ b/frontend/src/routes/auth/OAuth2ConsentPage.tsx@@ -394,7 +394,7 @@ export function OAuth2ConsentPage() {// margins keep it centred while it still fits.<div className="h-full overflow-y-auto flex flex-col mx-auto w-full max-w-sm py-8"><BytebaseLogo className="mx-auto mb-8 mt-auto shrink-0" />- <div className="rounded-sm border border-control-border bg-white p-6 mb-auto shrink-0">+ <div className="rounded-sm border border-control-border bg-background p-6 mb-auto shrink-0">{consentBody()}</div></div>diff --git a/frontend/src/routes/auth/PasswordResetPage.tsx b/frontend/src/routes/auth/PasswordResetPage.tsxindex eba8d70ee4..a1c49f9041 100644--- a/frontend/src/routes/auth/PasswordResetPage.tsx+++ b/frontend/src/routes/auth/PasswordResetPage.tsx@@ -291,7 +291,7 @@ export function PasswordResetPage() {<AuthDivider className="mt-6"><RouterLinkto={{ name: AUTH_SIGNIN_MODULE }}- className="accent-link bg-white px-2"+ className="accent-link bg-background px-2">{t("auth.password-forget.return-to-sign-in")}</RouterLink>diff --git a/frontend/src/routes/project/ProjectAccessGrantsPage.tsx b/frontend/src/routes/project/ProjectAccessGrantsPage.tsxindex 60b9bcdabf..8a2e4bf945 100644--- a/frontend/src/routes/project/ProjectAccessGrantsPage.tsx+++ b/frontend/src/routes/project/ProjectAccessGrantsPage.tsx@@ -244,7 +244,7 @@ export function ProjectAccessGrantsPage({ projectId }: { projectId: string }) {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="w-5 h-5 rounded-full text-accent-text text-xs flex items-center justify-center shrink-0"style={{backgroundColor: `hsl(${hashCode(u.title) % 360}, 55%, 55%)`,}}@@ -253,7 +253,7 @@ export function ProjectAccessGrantsPage({ projectId }: { projectId: string }) {</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>)}diff --git a/frontend/src/routes/project/ProjectGitOpsPage.tsx b/frontend/src/routes/project/ProjectGitOpsPage.tsxindex 486956bfb6..d329f05a85 100644--- a/frontend/src/routes/project/ProjectGitOpsPage.tsx+++ b/frontend/src/routes/project/ProjectGitOpsPage.tsx@@ -233,7 +233,7 @@ export function ProjectGitOpsPage({ projectId }: { projectId: string }) {return (<ProjectPageLayout className="gap-y-1">{/* Section 1: What is GitOps */}- <div className="border border-gray-200 rounded-sm p-6 flex flex-col gap-y-3">+ <div className="flex flex-col gap-y-3 rounded-sm border border-block-border p-6"><div className="flex flex-col gap-y-1"><h2 className="text-lg font-medium">{t("gitops.overview.title")}</h2><p className="textinfolabel">{t("gitops.overview.description")}</p>@@ -261,7 +261,7 @@ export function ProjectGitOpsPage({ projectId }: { projectId: string }) {<span className="mx-auto w-0.5 h-8 bg-block-border" aria-hidden="true" />{/* Section 2: Checks before we start */}- <div className="border border-gray-200 rounded-sm p-6 flex flex-col gap-y-3">+ <div className="flex flex-col gap-y-3 rounded-sm border border-block-border p-6"><h2 className="text-lg font-medium">{t("gitops.checklist.title")}</h2><Alert@@ -397,7 +397,7 @@ export function ProjectGitOpsPage({ projectId }: { projectId: string }) {{targetsString && (<p className="text-sm text-control-light"><span className="font-medium">targets:</span>{" "}- <code className="text-xs bg-gray-100 px-1 py-0.5 rounded-xs">+ <code className="rounded-xs bg-control-bg px-1 py-0.5 text-xs">{targetsString}</code></p>@@ -409,7 +409,7 @@ export function ProjectGitOpsPage({ projectId }: { projectId: string }) {<span className="mx-auto w-0.5 h-8 bg-block-border" aria-hidden="true" />{/* Section 3: Workflow file generation */}- <div className="border border-gray-200 rounded-sm p-6 flex flex-col gap-y-3">+ <div className="flex flex-col gap-y-3 rounded-sm border border-block-border p-6"><div className="flex flex-col gap-y-1"><h2 className="text-lg font-medium">{t("gitops.workflow.title")}</h2><p className="text-sm text-control-light">@@ -507,7 +507,7 @@ export function ProjectGitOpsPage({ projectId }: { projectId: string }) {<span className="mx-auto w-0.5 h-8 bg-block-border" aria-hidden="true" />{/* Section 4: Test your first GitOps migration */}- <div className="border border-gray-200 rounded-sm p-6 flex flex-col gap-y-3">+ <div className="flex flex-col gap-y-3 rounded-sm border border-block-border p-6"><div className="flex flex-col gap-y-1"><h2 className="text-lg font-medium">{t("gitops.test-setup.title")}@@ -600,7 +600,7 @@ function MissingExternalURLAttention() {function CodeBlock({ code }: { code: string }) {return (- <div className="relative rounded-xs p-4 bg-gray-50">+ <div className="relative rounded-xs bg-control-bg/50 p-4"><div className="absolute top-2 right-2 p-2"><CopyButton content={code} size="sm" /></div>@@ -650,7 +650,7 @@ function StepItem({}) {return (<div className="flex items-start gap-x-3">- <span className="inline-flex items-center justify-center w-5 h-5 rounded-full bg-gray-200 text-gray-600 text-xs shrink-0 mt-0.5">+ <span className="mt-0.5 inline-flex h-5 w-5 shrink-0 items-center justify-center rounded-full bg-control-bg-hover text-xs text-control">{number}</span><p className="text-sm text-control-light">{children}</p>diff --git a/frontend/src/routes/project/ProjectIssueDetailPage.tsx b/frontend/src/routes/project/ProjectIssueDetailPage.tsxindex 1f5dad8b91..5fabac9a10 100644--- a/frontend/src/routes/project/ProjectIssueDetailPage.tsx+++ b/frontend/src/routes/project/ProjectIssueDetailPage.tsx@@ -67,7 +67,7 @@ export function ProjectIssueDetailPage(props: ProjectIssueDetailPageProps) {{showDesktopSidebar && (<div- className="shrink-0 border-l bg-white"+ className="shrink-0 border-l bg-background"style={desktopSidebarStyle}><div className="sticky top-0">@@ -79,7 +79,7 @@ export function ProjectIssueDetailPage(props: ProjectIssueDetailPageProps) {</div>{!page.ready && (- <div className="absolute inset-0 flex flex-col items-center justify-center gap-y-3 bg-white">+ <div className="absolute inset-0 flex flex-col items-center justify-center gap-y-3 bg-background"><div className="h-8 w-8 animate-spin rounded-full border-2 border-control-border border-t-accent" /><div className="text-sm text-control-light">{t("common.loading")}@@ -100,7 +100,7 @@ export function ProjectIssueDetailPage(props: ProjectIssueDetailPageProps) {><buttonclassName={cn(- "absolute inset-0 bg-black/40 transition-opacity duration-200",+ "absolute inset-0 bg-overlay/40 transition-opacity duration-200",LAYER_BACKDROP_CLASS,page.mobileSidebarOpen ? "opacity-100" : "opacity-0")}@@ -109,7 +109,7 @@ export function ProjectIssueDetailPage(props: ProjectIssueDetailPageProps) {/><divclassName={cn(- "absolute right-0 top-0 flex h-full w-[80vw] min-w-[240px] max-w-[320px] transform flex-col border-l bg-white p-2 shadow-lg transition-transform duration-200",+ "absolute right-0 top-0 flex h-full w-[80vw] min-w-[240px] max-w-[320px] transform flex-col border-l bg-background p-2 shadow-lg transition-transform duration-200",LAYER_SURFACE_CLASS,page.mobileSidebarOpen ? "translate-x-0" : "translate-x-full")}diff --git a/frontend/src/routes/project/ProjectMaskingExemptionPage.tsx b/frontend/src/routes/project/ProjectMaskingExemptionPage.tsxindex b268506450..36bf924bc5 100644--- a/frontend/src/routes/project/ProjectMaskingExemptionPage.tsx+++ b/frontend/src/routes/project/ProjectMaskingExemptionPage.tsx@@ -12,6 +12,7 @@ import {type SearchParams,type ValueOption,} from "@/components/AdvancedSearch";+import { classificationLevelBackgroundClasses } from "@/components/classification-level";import { FeatureAttention } from "@/components/FeatureAttention";import { FeatureBadge } from "@/components/FeatureBadge";import { RouterLink } from "@/components/RouterLink";@@ -405,7 +406,7 @@ export function ProjectMaskingExemptionPage({<FeatureBadgefeature={PlanFeature.FEATURE_DATA_MASKING}clickable={false}- className="text-white"+ className="text-accent-text"fallback={<ShieldCheck className="size-4" />}/>{t("project.masking-exemption.grant-exemption")}@@ -1127,7 +1128,7 @@ function ExemptionGrantSection({</>) : grant.expirationTimestamp ? (<>- <span className="text-xs font-medium text-blue-600">+ <span className="text-xs font-medium text-info">{expiryLabel}</span><span className="text-xs text-control-light">@@ -1135,7 +1136,7 @@ function ExemptionGrantSection({</span></>) : (- <span className="text-xs font-medium text-amber-600">+ <span className="text-xs font-medium text-warning">{t("settings.sensitive-data.never-expires")}</span>)}@@ -1298,7 +1299,7 @@ function ExemptionLevelCard({<span className="textinfolabel font-medium uppercase text-xs">{t("common.scope")}</span>- <span className="px-2 py-0.5 rounded-xs text-xs bg-green-100 text-green-700 border border-green-200">+ <span className="rounded-xs border border-success/20 bg-success/10 px-2 py-0.5 text-xs text-success">{t("database.all")}</span></div>@@ -1320,14 +1321,6 @@ function ExemptionLevelCard({// LevelBadge// ============================================================-const bgColorList = [- "bg-green-200",- "bg-yellow-200",- "bg-orange-300",- "bg-amber-500",- "bg-red-500",-];-function LevelBadge({level,operator = "<=",@@ -1359,9 +1352,14 @@ function LevelBadge({if (noLimit || level === undefined) {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-control-bg-hover";- return level >= 4 ? `${bg} text-white` : bg;+ const idx = Math.min(+ level - 1,+ classificationLevelBackgroundClasses.length - 1+ );+ const bg =+ classificationLevelBackgroundClasses[Math.max(0, idx)] ??+ "bg-control-bg-hover";+ return level >= 4 ? `${bg} text-accent-text` : bg;}, [noLimit, level]);return (diff --git a/frontend/src/routes/project/database-detail/overview/TableDetailSheet.tsx b/frontend/src/routes/project/database-detail/overview/TableDetailSheet.tsxindex 0fc6093147..4b99c46c1f 100644--- a/frontend/src/routes/project/database-detail/overview/TableDetailSheet.tsx+++ b/frontend/src/routes/project/database-detail/overview/TableDetailSheet.tsx@@ -4,6 +4,7 @@ import { Pencil, X } from "lucide-react";import type { MouseEvent, ReactNode } from "react";import { useEffect, useMemo, useRef, useState } from "react";import { useTranslation } from "react-i18next";+import { classificationLevelBackgroundClasses } from "@/components/classification-level";import { FeatureAttention } from "@/components/FeatureAttention";import { Button } from "@/components/ui/button";import { Checkbox } from "@/components/ui/checkbox";@@ -132,14 +133,6 @@ interface ClassificationTreeNode {title: string;}-const bgColorList = [- "bg-green-200",- "bg-yellow-200",- "bg-orange-300",- "bg-amber-500",- "bg-red-500",-];-function toTestId(value: string) {return value.replace(/[^a-zA-Z0-9_-]/g, "-");}@@ -347,7 +340,9 @@ function ClassificationLevelBadge({(level) => level.level === classificationEntry?.level);const levelColor =- bgColorList[(classificationEntry?.level ?? 0) - 1] ?? "bg-control-bg-hover";+ classificationLevelBackgroundClasses[+ (classificationEntry?.level ?? 0) - 1+ ] ?? "bg-control-bg-hover";return (<span className="flex min-w-0 items-center gap-x-1">diff --git a/frontend/src/routes/project/issue-detail/components/IssueDetailActionBar.tsx b/frontend/src/routes/project/issue-detail/components/IssueDetailActionBar.tsxindex 9271dcb0cc..db33582f63 100644--- a/frontend/src/routes/project/issue-detail/components/IssueDetailActionBar.tsx+++ b/frontend/src/routes/project/issue-detail/components/IssueDetailActionBar.tsx@@ -550,7 +550,7 @@ function IssueDetailActionButton({<ButtonclassName={cn(action.buttonType === "success" &&- "bg-success text-white hover:bg-success/90",+ "bg-success text-accent-text hover:bg-success/90",action.id === "ISSUE_REVIEW" && "gap-x-1.5")}disabled={disabled}@@ -819,7 +819,7 @@ function IssueDetailReviewPopover({return (<divclassName={cn(- "absolute right-0 top-full mt-2 w-[min(34rem,calc(100vw-2rem))] rounded-sm border border-control-border bg-white px-4 py-4 shadow-lg",+ "absolute right-0 top-full mt-2 w-[min(34rem,calc(100vw-2rem))] rounded-sm border border-control-border bg-background px-4 py-4 shadow-lg",LAYER_SURFACE_CLASS)}ref={popoverRef}diff --git a/frontend/src/routes/project/issue-detail/components/IssueDetailApprovalFlow.tsx b/frontend/src/routes/project/issue-detail/components/IssueDetailApprovalFlow.tsxindex 4df57b5189..fe6d2f4b7e 100644--- a/frontend/src/routes/project/issue-detail/components/IssueDetailApprovalFlow.tsx+++ b/frontend/src/routes/project/issue-detail/components/IssueDetailApprovalFlow.tsx@@ -232,11 +232,11 @@ function ApprovalStepItem({)}>{status === "approved" ? (- <Check className="h-3.5 w-3.5 text-white" />+ <Check className="h-3.5 w-3.5 text-accent-text" />) : status === "rejected" ? (- <X className="h-3.5 w-3.5 text-white" />+ <X className="h-3.5 w-3.5 text-accent-text" />) : status === "current" ? (- <User className="h-3.5 w-3.5 text-white" />+ <User className="h-3.5 w-3.5 text-accent-text" />) : (<span className="text-xs font-medium text-control">{stepNumber}</span>)}@@ -342,7 +342,7 @@ function ApprovalUserText({ candidate }: { candidate: string }) {return (<span className="inline-flex items-center gap-1"><span- className="flex h-5 w-5 shrink-0 items-center justify-center rounded-full text-xs font-medium text-white"+ className="flex h-5 w-5 shrink-0 items-center justify-center rounded-full text-xs font-medium text-accent-text"style={{ backgroundColor: getAvatarColor(displayName) }}>{getInitials(displayName)}@@ -419,7 +419,7 @@ function ApprovalCandidateRow({return (<div className="inline-flex items-center gap-1.5"><span- className="flex h-5 w-5 shrink-0 items-center justify-center rounded-full text-xs font-medium text-white"+ className="flex h-5 w-5 shrink-0 items-center justify-center rounded-full text-xs font-medium text-accent-text"style={{ backgroundColor: getAvatarColor(displayName) }}>{getInitials(displayName)}diff --git a/frontend/src/routes/project/issue-detail/components/IssueDetailCommentList.tsx b/frontend/src/routes/project/issue-detail/components/IssueDetailCommentList.tsxindex 52200fe8f7..4caf0a2afc 100644--- a/frontend/src/routes/project/issue-detail/components/IssueDetailCommentList.tsx+++ b/frontend/src/routes/project/issue-detail/components/IssueDetailCommentList.tsx@@ -259,7 +259,7 @@ export function IssueDetailCommentList() {subjectSuffix={allowEditComment(item) && !activeCommentName ? (<Button- className="text-gray-500 hover:text-gray-700"+ className="text-control-light hover:text-control"onClick={() => startEditComment(item)}size="xs"appearance="secondary"@@ -403,29 +403,29 @@ function IssueDescriptionCommentRow({)}<div className="relative flex items-start"><div className="relative">- <div className="bg-white pt-1.5" />+ <div className="bg-background pt-1.5" /><UserAvatarclassName="h-7 w-7 text-xs font-medium"size="sm"title={creator.title || creator.email}/>- <div className="absolute -bottom-1 -right-1 flex h-4 w-4 items-center justify-center rounded-full bg-control-bg ring-2 ring-white">+ <div className="absolute -bottom-1 -right-1 flex h-4 w-4 items-center justify-center rounded-full bg-control-bg ring-2 ring-background"><Plus className="h-4 w-4 text-control" /></div></div><div className="ml-3 min-w-0 flex-1">- <div className="overflow-hidden rounded-sm border border-gray-200 bg-white">- <div className="bg-gray-50 px-3 py-2">+ <div className="overflow-hidden rounded-sm border border-block-border bg-background">+ <div className="bg-control-bg/50 px-3 py-2"><div className="flex items-center justify-between"><div className="flex min-w-0 flex-wrap items-center gap-x-2 text-sm"><CommentCreator creator={creator} />- <span className="wrap-break-word min-w-0 text-gray-600">+ <span className="wrap-break-word min-w-0 text-control">{t("activity.sentence.created-issue")}</span>{page.issue?.createTime && (<HumanizeTs- className="text-gray-500"+ className="text-control-light"ts={getTimeForPbTimestampProtoEs(page.issue.createTime,@@ -446,7 +446,7 @@ function IssueDescriptionCommentRow({)}</div></div>- <div className="border-t border-gray-200 px-4 py-3 text-sm text-gray-700">+ <div className="border-t border-block-border px-4 py-3 text-sm text-main"><EditableMarkdownContentallowSave={allowSave}content={page.issue?.description || ""}@@ -502,7 +502,7 @@ function EditableMarkdownContent({if (!isEditing && !content) {return (<p>- <i className="italic text-gray-400">{placeholder}</i>+ <i className="italic text-control-placeholder">{placeholder}</i></p>);}diff --git a/frontend/src/routes/project/issue-detail/components/IssueDetailDatabaseChangeView.tsx b/frontend/src/routes/project/issue-detail/components/IssueDetailDatabaseChangeView.tsxindex f3b6fe11a1..738299b1b4 100644--- a/frontend/src/routes/project/issue-detail/components/IssueDetailDatabaseChangeView.tsx+++ b/frontend/src/routes/project/issue-detail/components/IssueDetailDatabaseChangeView.tsx@@ -119,7 +119,7 @@ export function IssueDetailDatabaseChangeView({className={cn("relative -mb-px flex cursor-pointer items-center gap-1 rounded-t-sm border px-3 py-1.5 text-sm transition-colors",isSelected- ? "border-control-border border-b-white bg-white font-medium text-main"+ ? "border-control-border border-b-background bg-background font-medium text-main": "border-transparent bg-transparent text-control-light hover:text-control")}onClick={() => onSelectedSpecIdChange(spec.id)}@@ -147,7 +147,7 @@ export function IssueDetailDatabaseChangeView({)}</div>- <div className="rounded-b-sm border-x border-b border-control-border bg-white px-3 py-2">+ <div className="rounded-b-sm border-x border-b border-control-border bg-background px-3 py-2">{selectedSpec && (<div className="flex flex-col gap-2"><IssueDetailDatabaseChangeTargets@@ -627,7 +627,7 @@ function IssueDetailDatabaseChangeTargets({</div>{!isLoadingTargets && nonEnvDatabaseNames.length > 0 && (- <div className="rounded-sm border border-yellow-200 bg-yellow-50 px-3 py-2 text-sm text-yellow-900">+ <div className="rounded-sm border border-warning/20 bg-warning/10 px-3 py-2 text-sm text-warning"><div>{nonEnvWarning}</div><div className="mt-1 flex flex-col gap-1 text-sm">{nonEnvDatabaseNames.map((name) => (@@ -813,7 +813,7 @@ function IssueDetailDatabaseGroupTarget({<span className="inline-flex items-center rounded-full border px-2 py-0.5 text-xs">{t("common.database-group")}</span>- <span className="min-w-0 truncate text-sm text-gray-800">+ <span className="min-w-0 truncate text-sm text-main">{extractDatabaseGroupName(databaseGroup.name || target)}</span>{isValidDatabaseGroupName(databaseGroup.name) && (@@ -832,7 +832,7 @@ function IssueDetailDatabaseGroupTarget({{databases.slice(0, MAX_INLINE_DATABASES).map((database) => (<divkey={database}- className="inline-flex max-w-full min-w-0 cursor-default items-center gap-x-1 rounded-sm border bg-gray-50 px-2 py-1 transition-all"+ className="inline-flex max-w-full min-w-0 cursor-default items-center gap-x-1 rounded-sm border bg-control-bg/50 px-2 py-1 transition-all"><IssueDetailDatabaseTarget showEnvironment target={database} /></div>diff --git a/frontend/src/routes/project/issue-detail/components/IssueDetailDatabaseCreateView.tsx b/frontend/src/routes/project/issue-detail/components/IssueDetailDatabaseCreateView.tsxindex 3957045187..a093128626 100644--- a/frontend/src/routes/project/issue-detail/components/IssueDetailDatabaseCreateView.tsx+++ b/frontend/src/routes/project/issue-detail/components/IssueDetailDatabaseCreateView.tsx@@ -121,7 +121,7 @@ export function IssueDetailDatabaseCreateView() {<h3 className="text-base font-medium">{t("common.overview")}</h3><div className="flex flex-wrap items-center gap-x-4 gap-y-2"><div className="flex items-center gap-2">- <span className="text-sm font-medium text-gray-600">+ <span className="text-sm font-medium text-control">{t("common.environment")}:</span><IssueDetailDatabaseCreateEnvironment@@ -132,7 +132,7 @@ export function IssueDetailDatabaseCreateView() {</div><div className="flex items-center gap-2">- <span className="text-sm font-medium text-gray-600">+ <span className="text-sm font-medium text-control">{t("common.instance")}:</span>{isValidInstanceName(instance.name) ? (@@ -140,12 +140,12 @@ export function IssueDetailDatabaseCreateView() {{instanceV1Name(instance)}</IssueDetailDatabaseCreateInstance>) : (- <span className="text-gray-900">{displayInstanceName}</span>+ <span className="text-main">{displayInstanceName}</span>)}</div><div className="flex items-center gap-2">- <span className="text-sm font-medium text-gray-600">+ <span className="text-sm font-medium text-control">{t("common.database")}:</span>{isTaskDone && createdDatabase ? (@@ -159,12 +159,12 @@ export function IssueDetailDatabaseCreateView() {.databaseName}</RouterLink>- <span className="text-sm text-gray-500">+ <span className="text-sm text-control-light">({t("common.created")})</span></>) : (- <span className="text-gray-900">+ <span className="text-main">{createDatabaseConfig?.database ?? ""}</span>)}@@ -172,7 +172,7 @@ export function IssueDetailDatabaseCreateView() {{createDatabaseTask && (<div className="flex items-center gap-2">- <span className="text-sm font-medium text-gray-600">+ <span className="text-sm font-medium text-control">{t("common.status")}:</span><TaskStatusIcon status={createDatabaseTask.status} size="small" />@@ -239,7 +239,7 @@ function IssueDetailDatabaseCreateInstance({);if (!instanceHref) {- return <span className="text-gray-900">{children}</span>;+ return <span className="text-main">{children}</span>;}return (diff --git a/frontend/src/routes/project/issue-detail/components/IssueDetailLabels.tsx b/frontend/src/routes/project/issue-detail/components/IssueDetailLabels.tsxindex 607989243b..828cdaab02 100644--- a/frontend/src/routes/project/issue-detail/components/IssueDetailLabels.tsx+++ b/frontend/src/routes/project/issue-detail/components/IssueDetailLabels.tsx@@ -139,7 +139,7 @@ export function IssueDetailLabels() {<div ref={containerRef} className="relative"><buttonclassName={cn(- "flex min-h-9 w-full items-center justify-between gap-2 rounded-sm border border-control-border bg-white px-3 py-1.5 text-left text-sm transition-colors",+ "flex min-h-9 w-full items-center justify-between gap-2 rounded-sm border border-control-border bg-background px-3 py-1.5 text-left text-sm transition-colors",allowChange && !isUpdating && "hover:bg-control-bg",open && "border-accent shadow-[0_0_0_1px_var(--color-accent)]",(!allowChange || isUpdating) && "cursor-not-allowed opacity-60"@@ -193,7 +193,7 @@ export function IssueDetailLabels() {{open && (<divclassName={cn(- "absolute mt-1 w-full overflow-hidden rounded-sm border border-control-border bg-white shadow-lg",+ "absolute mt-1 w-full overflow-hidden rounded-sm border border-control-border bg-background shadow-lg",LAYER_SURFACE_CLASS)}>diff --git a/frontend/src/routes/project/issue-detail/components/IssueDetailRoleGrantDetails.tsx b/frontend/src/routes/project/issue-detail/components/IssueDetailRoleGrantDetails.tsxindex c7a2cd68cb..34402c1fa9 100644--- a/frontend/src/routes/project/issue-detail/components/IssueDetailRoleGrantDetails.tsx+++ b/frontend/src/routes/project/issue-detail/components/IssueDetailRoleGrantDetails.tsx@@ -213,12 +213,18 @@ function IssueDetailDatabaseResourceTable({<Table><TableHeader><TableRow className="hover:bg-transparent">- <TableHead className="bg-gray-50">{t("common.database")}</TableHead>- <TableHead className="bg-gray-50">{t("common.table")}</TableHead>- <TableHead className="bg-gray-50">+ <TableHead className="bg-control-bg/50">+ {t("common.database")}+ </TableHead>+ <TableHead className="bg-control-bg/50">+ {t("common.table")}+ </TableHead>+ <TableHead className="bg-control-bg/50">{t("common.environment")}</TableHead>- <TableHead className="bg-gray-50">{t("common.instance")}</TableHead>+ <TableHead className="bg-control-bg/50">+ {t("common.instance")}+ </TableHead></TableRow></TableHeader><TableBody>diff --git a/frontend/src/routes/project/issue-detail/components/IssueDetailStatementSection.tsx b/frontend/src/routes/project/issue-detail/components/IssueDetailStatementSection.tsxindex 8cd9214ab4..bf483b4749 100644--- a/frontend/src/routes/project/issue-detail/components/IssueDetailStatementSection.tsx+++ b/frontend/src/routes/project/issue-detail/components/IssueDetailStatementSection.tsx@@ -389,7 +389,7 @@ export function IssueDetailStatementSection({<divclassName={cn("flex items-center gap-x-1 text-base font-medium",- isEmpty && "text-red-600"+ isEmpty && "text-error")}><span>{statementTitle}</span>@@ -473,7 +473,7 @@ export function IssueDetailStatementSection({/>)}{isLoading ? (- <div className="rounded-sm border border-control-border bg-white px-4 py-3 text-sm text-control-light">+ <div className="rounded-sm border border-control-border bg-background px-4 py-3 text-sm text-control-light">{t("common.loading")}</div>) : statement || isEditing ? (@@ -495,7 +495,7 @@ export function IssueDetailStatementSection({)}</div>) : (- <div className="rounded-sm border border-control-border bg-white px-4 py-3 text-sm text-control-light">+ <div className="rounded-sm border border-control-border bg-background px-4 py-3 text-sm text-control-light">{t("common.no-data")}</div>)}diff --git a/frontend/src/routes/project/issue-detail/components/IssueDetailTaskRunTable.tsx b/frontend/src/routes/project/issue-detail/components/IssueDetailTaskRunTable.tsxindex 803bf2848f..2ea2d129ab 100644--- a/frontend/src/routes/project/issue-detail/components/IssueDetailTaskRunTable.tsx+++ b/frontend/src/routes/project/issue-detail/components/IssueDetailTaskRunTable.tsx@@ -102,22 +102,22 @@ export function IssueDetailTaskRunTable({<Table className="table-fixed"><TableHeader><TableRow className="hover:bg-transparent">- <TableHead className="sticky top-0 z-10 w-9 bg-gray-50 px-2" />+ <TableHead className="sticky top-0 z-10 w-9 bg-control-bg/50 px-2" />{showDatabaseColumn && (- <TableHead className="sticky top-0 z-10 w-64 bg-gray-50">+ <TableHead className="sticky top-0 z-10 w-64 bg-control-bg/50">{t("common.database")}</TableHead>)}- <TableHead className="sticky top-0 z-10 bg-gray-50">+ <TableHead className="sticky top-0 z-10 bg-control-bg/50">{t("common.detail")}</TableHead>- <TableHead className="sticky top-0 z-10 w-36 bg-gray-50">+ <TableHead className="sticky top-0 z-10 w-36 bg-control-bg/50">{t("task.created")}</TableHead>- <TableHead className="sticky top-0 z-10 w-36 bg-gray-50">+ <TableHead className="sticky top-0 z-10 w-36 bg-control-bg/50">{t("task.started")}</TableHead>- <TableHead className="sticky top-0 z-10 w-28 bg-gray-50 pr-6 whitespace-nowrap text-sm">+ <TableHead className="sticky top-0 z-10 w-28 bg-control-bg/50 pr-6 whitespace-nowrap text-sm">{t("task.execution-time")}</TableHead></TableRow>diff --git a/frontend/src/routes/project/plan-detail/ProjectPlanDetailPage.tsx b/frontend/src/routes/project/plan-detail/ProjectPlanDetailPage.tsxindex efe709bc03..575ee810c4 100644--- a/frontend/src/routes/project/plan-detail/ProjectPlanDetailPage.tsx+++ b/frontend/src/routes/project/plan-detail/ProjectPlanDetailPage.tsx@@ -264,7 +264,7 @@ function ProjectPlanDetailPageInner({<divref={setPageHost}data-testid="plan-detail-page"- className="relative min-h-full overflow-x-clip bg-gray-50"+ className="relative min-h-full overflow-x-clip bg-control-bg/50"><divclassName={cn(@@ -279,7 +279,7 @@ function ProjectPlanDetailPageInner({only when stuck, so the row is flat at the top. */}<headerclassName={cn(- "sticky top-0 z-20 shrink-0 bg-white",+ "sticky top-0 z-20 shrink-0 bg-background",headerStuck && "border-b")}>@@ -362,7 +362,7 @@ function ProjectPlanDetailPageInner({</div>{!page.ready && (- <div className="absolute inset-0 flex flex-col items-center justify-center gap-y-3 bg-white">+ <div className="absolute inset-0 flex flex-col items-center justify-center gap-y-3 bg-background"><Loader2 className="h-8 w-8 animate-spin text-accent" /><div className="text-sm text-control-light">{t("common.loading")}@@ -438,11 +438,11 @@ function PhaseSection({const { t } = useTranslation();const dotClass =status === "completed"- ? "bg-success text-white ring-[3px] ring-success/15 md:ring-4"+ ? "bg-success text-accent-text ring-[3px] ring-success/15 md:ring-4": status === "closed"- ? "bg-control-placeholder text-white"+ ? "bg-control-placeholder text-accent-text": status === "active"- ? "bg-accent text-white ring-[3px] ring-accent/15 md:ring-4"+ ? "bg-accent text-accent-text ring-[3px] ring-accent/15 md:ring-4": "border-2 border-dashed border-control-border text-control-placeholder";return (@@ -506,7 +506,7 @@ function PhaseSection({{t("plan.phase.hide-details")}</span></div>- <div className="mt-1 overflow-hidden rounded-sm border bg-white">+ <div className="mt-1 overflow-hidden rounded-sm border bg-background">{children}</div></div>diff --git a/frontend/src/routes/project/plan-detail/components/PlanDetailChangesBranch.tsx b/frontend/src/routes/project/plan-detail/components/PlanDetailChangesBranch.tsxindex 1748c15501..a034230bd8 100644--- a/frontend/src/routes/project/plan-detail/components/PlanDetailChangesBranch.tsx+++ b/frontend/src/routes/project/plan-detail/components/PlanDetailChangesBranch.tsx@@ -559,7 +559,7 @@ export function PlanDetailChangesBranch({if (!selectedSpec) {return (- <div className="rounded-sm border bg-white px-4 py-3 text-sm text-control-light">+ <div className="rounded-sm border bg-background px-4 py-3 text-sm text-control-light">{t("common.no-data")}</div>);@@ -2086,7 +2086,7 @@ export function DatabaseGroupTarget({{inlineDatabases.map((database) => (<divkey={database.name}- className="inline-flex max-w-full min-w-0 cursor-default items-center gap-x-1 rounded-sm border bg-gray-50 px-2 py-1 transition-all"+ className="inline-flex max-w-full min-w-0 cursor-default items-center gap-x-1 rounded-sm border bg-control-bg/50 px-2 py-1 transition-all"><PlanTargetDisplay showEnvironment target={database.name} /></div>diff --git a/frontend/src/routes/project/plan-detail/components/PlanDetailMeta.tsx b/frontend/src/routes/project/plan-detail/components/PlanDetailMeta.tsxindex d208e4f6f9..8073f8ea74 100644--- a/frontend/src/routes/project/plan-detail/components/PlanDetailMeta.tsx+++ b/frontend/src/routes/project/plan-detail/components/PlanDetailMeta.tsx@@ -220,7 +220,7 @@ function InlineLabels({align="start"initialFocus={false}finalFocus={false}- className="w-56 overflow-hidden bg-white p-0"+ className="w-56 overflow-hidden bg-background p-0"><div className="max-h-60 overflow-y-auto">{issueLabels.length === 0 ? (diff --git a/frontend/src/routes/project/plan-detail/components/PlanDetailStatementSection.tsx b/frontend/src/routes/project/plan-detail/components/PlanDetailStatementSection.tsxindex 5acd7b1695..fc163df82f 100644--- a/frontend/src/routes/project/plan-detail/components/PlanDetailStatementSection.tsx+++ b/frontend/src/routes/project/plan-detail/components/PlanDetailStatementSection.tsx@@ -502,7 +502,7 @@ export function PlanDetailStatementSection({<divclassName={cn("flex items-center gap-x-1 textlabel uppercase",- isEmpty && "text-red-600"+ isEmpty && "text-error")}><span>{statementTitle}</span>@@ -599,7 +599,7 @@ export function PlanDetailStatementSection({/>)}{isLoading ? (- <div className="rounded-sm border border-control-border bg-white px-4 py-3 text-sm text-control-light">+ <div className="rounded-sm border border-control-border bg-background px-4 py-3 text-sm text-control-light">{t("common.loading")}</div>) : isEditing || showsReadonlyEditor ? (@@ -650,7 +650,7 @@ export function PlanDetailStatementSection({)}</div>) : (- <div className="rounded-sm border border-control-border bg-white px-4 py-3 text-sm text-control-light">+ <div className="rounded-sm border border-control-border bg-background px-4 py-3 text-sm text-control-light">{t("common.no-data")}</div>)}diff --git a/frontend/src/routes/project/plan-detail/components/PlanDetailTabStrip.tsx b/frontend/src/routes/project/plan-detail/components/PlanDetailTabStrip.tsxindex acb03f77cd..748355c8f9 100644--- a/frontend/src/routes/project/plan-detail/components/PlanDetailTabStrip.tsx+++ b/frontend/src/routes/project/plan-detail/components/PlanDetailTabStrip.tsx@@ -11,8 +11,8 @@ export function PlanDetailTabStrip({children: ReactNode;}) {return (- <div className="relative bg-white pt-3">- <div className="absolute bottom-0 w-full border-b border-b-gray-200 leading-0" />+ <div className="relative bg-background pt-3">+ <div className="absolute bottom-0 w-full border-b border-b-block-border leading-0" /><div className="flex items-center justify-between gap-x-4"><divclassName={cn(@@ -26,7 +26,7 @@ export function PlanDetailTabStrip({>{children}{trailing && (- <div className="sticky right-0 ml-1 flex shrink-0 items-center self-stretch border-b border-b-gray-200 bg-white pr-4 pl-2">+ <div className="sticky right-0 ml-1 flex shrink-0 items-center self-stretch border-b border-b-block-border bg-background pr-4 pl-2">{trailing}</div>)}@@ -60,8 +60,8 @@ export function PlanDetailTabItem({"relative flex shrink-0 items-center rounded-t-sm border",boundedWidth && "min-w-40 max-w-64",selected- ? "border-gray-200 border-b-transparent bg-white"- : "border-b-gray-200 border-transparent hover:opacity-80"+ ? "border-block-border border-b-transparent bg-background"+ : "border-b-block-border border-transparent hover:opacity-80")}><buttondiff --git a/frontend/src/routes/project/plan-detail/components/deploy/DeployPendingTasksSection.tsx b/frontend/src/routes/project/plan-detail/components/deploy/DeployPendingTasksSection.tsxindex 64fe50f73f..abc9f427d1 100644--- a/frontend/src/routes/project/plan-detail/components/deploy/DeployPendingTasksSection.tsx+++ b/frontend/src/routes/project/plan-detail/components/deploy/DeployPendingTasksSection.tsx@@ -142,16 +142,16 @@ export function DeployPendingTasksSection({<div className="flex flex-col gap-y-4">{groups.map((group) => (<div key={group.environment} className="rounded-sm border">- <div className="flex items-center gap-2 bg-gray-50 px-3 py-2">+ <div className="flex items-center gap-2 bg-control-bg/50 px-3 py-2"><buttonclassName="flex flex-1 items-center gap-2 text-left"onClick={() => toggleEnv(group.environment)}type="button">{expandedEnvs.has(group.environment) ? (- <ChevronDown className="h-4 w-4 text-gray-500" />+ <ChevronDown className="h-4 w-4 text-control-light" />) : (- <ChevronRight className="h-4 w-4 text-gray-500" />+ <ChevronRight className="h-4 w-4 text-control-light" />)}<span className="font-medium">{extractEnvironmentResourceName(group.environment)}diff --git a/frontend/src/routes/project/plan-detail/components/deploy/DeployTaskFilter.tsx b/frontend/src/routes/project/plan-detail/components/deploy/DeployTaskFilter.tsxindex 314fd80dc5..bd937c8850 100644--- a/frontend/src/routes/project/plan-detail/components/deploy/DeployTaskFilter.tsx+++ b/frontend/src/routes/project/plan-detail/components/deploy/DeployTaskFilter.tsx@@ -30,7 +30,7 @@ export function DeployTaskFilter({"inline-flex items-center gap-1 rounded-full border px-2 py-1",checked? "border-accent bg-accent/10"- : "border-control-border bg-white",+ : "border-control-border bg-background",].join(" ")}onClick={() => {onChange(diff --git a/frontend/src/routes/project/plan-detail/components/deploy/DeployTaskToolbar.tsx b/frontend/src/routes/project/plan-detail/components/deploy/DeployTaskToolbar.tsxindex ecc43c54a2..d6e4539c20 100644--- a/frontend/src/routes/project/plan-detail/components/deploy/DeployTaskToolbar.tsx+++ b/frontend/src/routes/project/plan-detail/components/deploy/DeployTaskToolbar.tsx@@ -100,7 +100,7 @@ export function DeployTaskToolbar({return (<><div className="sticky top-0 z-10 px-4">- <div className="flex items-center justify-between rounded-sm border border-blue-200 bg-blue-100 px-3 py-1">+ <div className="flex items-center justify-between rounded-sm border border-info/20 bg-info/10 px-3 py-1"><div className="flex flex-wrap items-center gap-x-3 gap-y-1"><Tooltipcontent={@@ -126,7 +126,7 @@ export function DeployTaskToolbar({/></div></Tooltip>- <span className="text-sm text-blue-900">{selectionCountText}</span>+ <span className="text-sm text-info">{selectionCountText}</span><div className="flex items-center gap-x-1"><Tooltipcontent={diff --git a/frontend/src/routes/workspace/EnvironmentsPage.tsx b/frontend/src/routes/workspace/EnvironmentsPage.tsxindex 6975123a79..be90c7b171 100644--- a/frontend/src/routes/workspace/EnvironmentsPage.tsx+++ b/frontend/src/routes/workspace/EnvironmentsPage.tsx@@ -117,12 +117,12 @@ function ToggleSwitch({aria-checked={checked}disabled={disabled}className={`relative inline-flex h-5 w-9 shrink-0 cursor-pointer rounded-full border-2 border-transparent transition-colors focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-accent focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 ${- checked ? "bg-accent" : "bg-gray-200"+ checked ? "bg-accent" : "bg-control-bg-hover"}`}onClick={() => onChange(!checked)}><span- className={`pointer-events-none inline-block h-4 w-4 rounded-full bg-white shadow-sm transition-transform ${+ className={`pointer-events-none inline-block h-4 w-4 rounded-full bg-background shadow-sm transition-transform ${checked ? "translate-x-4" : "translate-x-0"}`}/>@@ -251,13 +251,13 @@ function RolloutPolicyConfig({{rolloutPolicy.roles.map((role) => (<spankey={role}- className="inline-flex items-center gap-x-1 rounded-xs bg-gray-100 px-2 py-1 text-sm"+ className="inline-flex items-center gap-x-1 rounded-xs bg-control-bg px-2 py-1 text-sm">{displayPolicyRoleTitle(role)}{canUpdatePolicy && (<buttontype="button"- className="text-gray-400 hover:text-gray-600"+ className="text-control-placeholder hover:text-control-light-hover"onClick={() => removeRole(role)}><X className="w-3.5 h-3.5" />@@ -451,7 +451,7 @@ function SQLReviewSectionInner({canUpdatePolicy && (<buttontype="button"- className="p-0.5 text-gray-400 hover:text-gray-600"+ className="p-0.5 text-control-placeholder hover:text-control-light-hover"onClick={() => {setPendingPolicy(undefined);setEnforce(false);@@ -881,13 +881,13 @@ function EnvironmentDetail({onCheckedChange={(checked) => setConfirmDelete(checked)}className="mt-0.5"/>- <span className="text-sm text-gray-600">+ <span className="text-sm text-control">{t("environment.delete-description")}</span></label>)}{!existRelatedResource && (- <span className="text-sm text-gray-600">+ <span className="text-sm text-control">{t("common.cannot-undo-this-action")}</span>)}diff --git a/frontend/src/routes/workspace/GlobalMaskingPage.tsx b/frontend/src/routes/workspace/GlobalMaskingPage.tsxindex c6c13eabcb..174ea271c7 100644--- a/frontend/src/routes/workspace/GlobalMaskingPage.tsx+++ b/frontend/src/routes/workspace/GlobalMaskingPage.tsx@@ -326,7 +326,7 @@ function MaskingRuleConfig({{mode === "CREATE" ? t("common.create") : t("common.update")}</Button>{errorMessages.length > 0 && (- <div className="absolute bottom-full mb-1 right-0 bg-gray-800 text-white text-xs rounded-xs px-2 py-1 hidden group-hover:block whitespace-nowrap z-10">+ <div className="absolute bottom-full mb-1 right-0 bg-main text-main-text text-xs rounded-xs px-2 py-1 hidden group-hover:block whitespace-nowrap z-10"><ul className="list-disc pl-4">{errorMessages.map((msg, i) => (<li key={i}>{msg}</li>@@ -647,7 +647,7 @@ export function GlobalMaskingPage() {{index > 0 && (<buttontype="button"- className="w-6 h-6 flex items-center justify-center rounded-xs hover:bg-gray-100"+ className="w-6 h-6 flex items-center justify-center rounded-xs hover:bg-control-bg"onClick={() => onReorder(item, -1)}><ChevronUp className="w-4 h-4" />@@ -656,7 +656,7 @@ export function GlobalMaskingPage() {{index !== items.length - 1 && (<buttontype="button"- className="w-6 h-6 flex items-center justify-center rounded-xs hover:bg-gray-100"+ className="w-6 h-6 flex items-center justify-center rounded-xs hover:bg-control-bg"onClick={() => onReorder(item, 1)}><ChevronDown className="w-4 h-4" />@@ -667,7 +667,7 @@ export function GlobalMaskingPage() {<div className="pt-2"><buttontype="button"- className="w-6 h-6 flex items-center justify-center rounded-xs hover:bg-gray-100"+ className="w-6 h-6 flex items-center justify-center rounded-xs hover:bg-control-bg"onClick={() => onEdit(index)}><Pencil className="w-4 h-4" />diff --git a/frontend/src/routes/workspace/GroupsPage.tsx b/frontend/src/routes/workspace/GroupsPage.tsxindex e7083e191d..dd797f78fd 100644--- a/frontend/src/routes/workspace/GroupsPage.tsx+++ b/frontend/src/routes/workspace/GroupsPage.tsx@@ -349,7 +349,7 @@ function GroupRow({<TableCell className="py-2"><div className="flex items-center gap-x-2"><button- className="shrink-0 p-0.5 rounded-xs hover:bg-gray-200"+ className="shrink-0 p-0.5 rounded-xs hover:bg-control-bg-hover"onClick={(e) => {e.stopPropagation();onToggle();diff --git a/frontend/src/routes/workspace/MemberDatabaseResourceName.tsx b/frontend/src/routes/workspace/MemberDatabaseResourceName.tsxindex 6bda86a243..ff4b3bdc38 100644--- a/frontend/src/routes/workspace/MemberDatabaseResourceName.tsx+++ b/frontend/src/routes/workspace/MemberDatabaseResourceName.tsx@@ -57,9 +57,9 @@ export function MemberDatabaseResourceName({{display.engine !== undefined && (<EngineIcon engine={display.engine} className="mr-1 h-4 w-4" />)}- <span className="truncate text-gray-600">{display.instanceTitle}</span>- <ChevronRight className="h-4 w-4 shrink-0 text-gray-500 opacity-60" />- <span className="truncate text-gray-800">{display.databaseName}</span>+ <span className="truncate text-control">{display.instanceTitle}</span>+ <ChevronRight className="h-4 w-4 shrink-0 text-control-light opacity-60" />+ <span className="truncate text-main">{display.databaseName}</span></div>);}diff --git a/frontend/src/routes/workspace/Page403.tsx b/frontend/src/routes/workspace/Page403.tsxindex d885e0295b..2b919673c2 100644--- a/frontend/src/routes/workspace/Page403.tsx+++ b/frontend/src/routes/workspace/Page403.tsx@@ -4,6 +4,7 @@ import { useTranslation } from "react-i18next";import { router } from "@/app/router";import { WORKSPACE_ROUTE_LANDING } from "@/app/router/handles";import { RouterLink } from "@/components/RouterLink";+import { Alert } from "@/components/ui/alert";import { buttonVariants } from "@/components/ui/button";import type { Permission } from "@/types";@@ -32,11 +33,11 @@ export function Page403() {return (<div className="mx-6 my-2">- <div className="rounded-sm border border-red-200 bg-red-50 p-4">+ <Alert variant="error" showIcon={false} className="rounded-sm p-4"><div className="flex items-start gap-3">- <ShieldAlert className="h-5 w-5 text-red-600 mt-0.5 shrink-0" />+ <ShieldAlert className="mt-0.5 h-5 w-5 shrink-0 text-error" /><div className="flex min-w-0 flex-1 flex-col gap-2 wrap-anywhere">- <div className="font-medium text-red-800">+ <div className="font-medium">{t("common.missing-required-permission", { permissions: "" })}</div>{fromPath && <div>Path: {fromPath}</div>}@@ -75,7 +76,7 @@ export function Page403() {</div></div></div>- </div>+ </Alert></div>);}diff --git a/frontend/src/routes/workspace/RolesPage.tsx b/frontend/src/routes/workspace/RolesPage.tsxindex ec95c55286..4d9fa47f96 100644--- a/frontend/src/routes/workspace/RolesPage.tsx+++ b/frontend/src/routes/workspace/RolesPage.tsx@@ -152,7 +152,7 @@ function PermissionTransfer({{sourceItems.map((p) => (<divkey={p}- className={`group flex items-center justify-between px-3 py-1.5 text-sm hover:bg-gray-50 ${disabled ? "opacity-50 cursor-not-allowed" : "cursor-pointer"}`}+ className={`group flex items-center justify-between px-3 py-1.5 text-sm hover:bg-control-bg/50 ${disabled ? "opacity-50 cursor-not-allowed" : "cursor-pointer"}`}onClick={() => selectItem(p)}><span className="truncate">{p}</span>@@ -183,7 +183,7 @@ function PermissionTransfer({{[...value].sort().map((p) => (<divkey={p}- className={`group flex items-center justify-between px-3 py-1.5 text-sm hover:bg-gray-50 ${disabled ? "opacity-50 cursor-not-allowed" : "cursor-pointer"}`}+ className={`group flex items-center justify-between px-3 py-1.5 text-sm hover:bg-control-bg/50 ${disabled ? "opacity-50 cursor-not-allowed" : "cursor-pointer"}`}onClick={() => removeItem(p)}><span className="truncate">{p}</span>@@ -797,7 +797,7 @@ export function RolesPage() {<FeatureBadgefeature={PlanFeature.FEATURE_CUSTOM_ROLES}clickable={false}- className="mr-1 text-white inline-flex"+ className="mr-1 inline-flex text-accent-text"fallback={<Plus className="h-4 w-4 mr-1" />}/>{t("common.create")}diff --git a/frontend/src/routes/workspace/general/BrandingSection.tsx b/frontend/src/routes/workspace/general/BrandingSection.tsxindex 98cf6b0d97..60540bfb79 100644--- a/frontend/src/routes/workspace/general/BrandingSection.tsx+++ b/frontend/src/routes/workspace/general/BrandingSection.tsx@@ -204,9 +204,9 @@ export const BrandingSection = forwardRef<SectionHandle, BrandingSectionProps>(><div><div- className={`flex justify-center border-2 border-gray-300 border-dashed rounded-xs relative h-48 transition-all ${- dropActive ? "bg-gray-300 opacity-100" : ""- } ${uploadDisabled ? "cursor-not-allowed" : "cursor-pointer hover:bg-gray-100"}`}+ className={`flex justify-center border-2 border-control-border border-dashed rounded-xs relative h-48 transition-all ${+ dropActive ? "bg-control-bg-hover opacity-100" : ""+ } ${uploadDisabled ? "cursor-not-allowed" : "cursor-pointer hover:bg-control-bg"}`}onClick={() => {if (!uploadDisabled) fileInputRef.current?.click();}}@@ -226,19 +226,19 @@ export const BrandingSection = forwardRef<SectionHandle, BrandingSectionProps>(<divclassName={`flex flex-col gap-y-1 text-center justify-center items-center absolute top-0 bottom-0 left-0 right-0 ${logoUrl- ? "opacity-0 hover:opacity-80 hover:bg-gray-100"+ ? "opacity-0 hover:opacity-80 hover:bg-control-bg": ""}`}>- <div className="text-sm text-gray-600 inline-flex pointer-events-none">- <span className="relative cursor-pointer rounded-xs font-medium text-indigo-600 hover:text-indigo-500">+ <div className="text-sm text-control inline-flex pointer-events-none">+ <span className="relative cursor-pointer rounded-xs font-medium text-accent hover:text-accent-hover">{t("settings.general.workspace.select-logo")}</span><p className="pl-1">{t("settings.general.workspace.drag-logo")}</p></div>- <p className="text-xs text-gray-500 pointer-events-none">+ <p className="text-xs text-control-light pointer-events-none">{t("settings.general.workspace.logo-upload-tip", {extension: SUPPORT_IMAGE_EXTENSIONS.join(", "),size: MAX_FILE_SIZE_MIB,diff --git a/frontend/src/routes/workspace/general/SecuritySection.tsx b/frontend/src/routes/workspace/general/SecuritySection.tsxindex d6332af5f2..c3229a565f 100644--- a/frontend/src/routes/workspace/general/SecuritySection.tsx+++ b/frontend/src/routes/workspace/general/SecuritySection.tsx@@ -299,7 +299,7 @@ export const SecuritySection = forwardRef<SectionHandle, SecuritySectionProps>(}}}/>- <span className="absolute right-3 top-1/2 -translate-y-1/2 text-sm text-gray-500 pointer-events-none">+ <span className="absolute right-3 top-1/2 -translate-y-1/2 text-sm text-control-light pointer-events-none">{t("settings.general.workspace.maximum-expiration.days")}</span></div>@@ -405,12 +405,12 @@ export const SecuritySection = forwardRef<SectionHandle, SecuritySectionProps>({state.domains.map((domain, index) => (<spankey={index}- className="inline-flex items-center gap-1 rounded-xs bg-gray-100 px-2 py-1.5 text-sm"+ className="inline-flex items-center gap-1 rounded-xs bg-control-bg px-2 py-1.5 text-sm">{domain}<buttontype="button"- className="text-gray-500 hover:text-gray-700 disabled:opacity-50"+ className="text-control-light hover:text-control disabled:opacity-50"disabled={!canEdit}onClick={() => removeDomain(index)}>diff --git a/frontend/src/routes/workspace/profile/UserPasswordSection.tsx b/frontend/src/routes/workspace/profile/UserPasswordSection.tsxindex 3757cb6a79..2a7d3b015a 100644--- a/frontend/src/routes/workspace/profile/UserPasswordSection.tsx+++ b/frontend/src/routes/workspace/profile/UserPasswordSection.tsx@@ -149,9 +149,9 @@ export function UserPasswordSection({{passwordChecks.map((check, i) => (<li key={i} className="flex gap-x-1 items-center">{check.matched ? (- <CircleCheck className="w-4 text-green-400" />+ <CircleCheck className="w-4 text-success" />) : (- <CircleAlert className="w-4 text-red-400" />+ <CircleAlert className="w-4 text-error" />)}{check.text}</li>diff --git a/frontend/src/routes/workspace/two-factor/TwoFactorSetupPage.tsx b/frontend/src/routes/workspace/two-factor/TwoFactorSetupPage.tsxindex dfed404509..ca97cff67b 100644--- a/frontend/src/routes/workspace/two-factor/TwoFactorSetupPage.tsx+++ b/frontend/src/routes/workspace/two-factor/TwoFactorSetupPage.tsx@@ -14,6 +14,7 @@ import {useCredentialProofMode,} from "@/components/CredentialProofInput";import { LearnMoreLink } from "@/components/LearnMoreLink";+import { Alert } from "@/components/ui/alert";import { Button } from "@/components/ui/button";import { OtpInput } from "@/components/ui/otp-input";import { StepIndicator } from "@/components/ui/step-indicator";@@ -311,7 +312,7 @@ export function TwoFactorSetupPage({ cancelAction }: TwoFactorSetupPageProps) {return (<div className="px-4 py-4">- <p className="text-sm text-gray-500 mb-4">+ <p className="mb-4 text-sm text-control-light">{t("two-factor.description")}<LearnMoreLinkhref="https://docs.bytebase.com/administration/2fa?source=console"@@ -330,21 +331,13 @@ export function TwoFactorSetupPage({ cancelAction }: TwoFactorSetupPageProps) {{currentStep === SETUP_AUTH_APP_STEP && (<div className="w-full max-w-2xl mx-auto flex flex-col justify-start items-start gap-y-4 my-8"><p>{t("two-factor.setup-steps.setup-auth-app.description")}</p>- <div- className={`w-full border rounded-sm p-3 ${- isExpired || isExpiringSoon- ? "bg-red-50 border-red-200"- : "bg-yellow-50 border-yellow-200"- }`}+ <Alert+ variant={isExpired || isExpiringSoon ? "error" : "warning"}+ showIcon={false}+ className="w-full p-3"><div className="flex items-center justify-between">- <p- className={`text-sm ${- isExpired || isExpiringSoon- ? "text-red-800"- : "text-yellow-800"- }`}- >+ <p className="text-sm">{isExpired? t("two-factor.setup-steps.setup-auth-app.expired-notice"): t("two-factor.setup-steps.setup-auth-app.time-remaining", {@@ -357,7 +350,7 @@ export function TwoFactorSetupPage({ cancelAction }: TwoFactorSetupPageProps) {</Button>)}</div>- </div>+ </Alert><p className="text-2xl">{t("two-factor.setup-steps.setup-auth-app.scan-qr-code.self")}</p>@@ -375,7 +368,7 @@ export function TwoFactorSetupPage({ cancelAction }: TwoFactorSetupPageProps) {<spanclassName={!showSecretModal- ? "cursor-pointer text-blue-600"+ ? "cursor-pointer text-accent": undefined}onClick={() => setShowSecretModal(true)}diff --git a/frontend/src/routes/workspace/users/UserFormSheet.tsx b/frontend/src/routes/workspace/users/UserFormSheet.tsxindex a25cdc4125..492156d10d 100644--- a/frontend/src/routes/workspace/users/UserFormSheet.tsx+++ b/frontend/src/routes/workspace/users/UserFormSheet.tsx@@ -267,9 +267,9 @@ function UserForm({ onClose, onCreated }: Omit<UserFormSheetProps, "open">) {{passwordChecks.map((check, i) => (<li key={i} className="flex gap-x-1 items-center">{check.matched ? (- <CircleCheck className="w-4 text-green-400" />+ <CircleCheck className="w-4 text-success" />) : (- <CircleAlert className="w-4 text-red-400" />+ <CircleAlert className="w-4 text-error" />)}{check.text}</li>