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: migrate some legacy ux (#21409)
ecmadao95f64820386b
diff --git a/frontend/scripts/ui-guideline-legacy-debt.json b/frontend/scripts/ui-guideline-legacy-debt.jsonindex 982b1a3e4a..b9833dcd9c 100644--- a/frontend/scripts/ui-guideline-legacy-debt.json+++ b/frontend/scripts/ui-guideline-legacy-debt.json@@ -30,18 +30,6 @@"token": "bg-white","count": 1},- {- "path": "src/app/layouts/SplashLayout.tsx",- "rule": "no-raw-color",- "token": "bg-white",- "count": 1- },- {- "path": "src/components/AccountMultiSelect.tsx",- "rule": "no-literal-color",- "token": "#3B82F6",- "count": 1- },{"path": "src/components/AccountMultiSelect.tsx","rule": "no-native-control",@@ -132,12 +120,6 @@"token": "button","count": 1},- {- "path": "src/components/auth/UserPasswordFields.tsx",- "rule": "no-button-dimension-override",- "token": "size-7",- "count": 2- },{"path": "src/components/BannersWrapper.tsx","rule": "no-native-control",@@ -288,12 +270,6 @@"token": "bg-white","count": 1},- {- "path": "src/components/DashboardFrameShell.tsx",- "rule": "no-raw-color",- "token": "bg-white",- "count": 1- },{"path": "src/components/DashboardSidebar.tsx","rule": "no-raw-color",@@ -312,12 +288,6 @@"token": "text-gray-700","count": 1},- {- "path": "src/components/database/DatabaseOverviewInfo.tsx",- "rule": "no-raw-color",- "token": "text-gray-500",- "count": 1- },{"path": "src/components/database/LabelEditorSheet.tsx","rule": "no-native-control",@@ -348,18 +318,6 @@"token": "button","count": 6},- {- "path": "src/components/DatabaseSelect.tsx",- "rule": "no-off-scale-gap",- "token": "gap-0.5",- "count": 1- },- {- "path": "src/components/EnvironmentSelect.tsx",- "rule": "no-off-scale-gap",- "token": "gap-0.5",- "count": 1- },{"path": "src/components/ExprEditor.tsx","rule": "no-native-control",@@ -396,12 +354,6 @@"token": "text-gray-500","count": 1},- {- "path": "src/components/header/HeaderBreadcrumb.tsx",- "rule": "no-arbitrary-type",- "token": "text-[10px]",- "count": 2- },{"path": "src/components/header/HeaderBreadcrumb.tsx","rule": "no-button-dimension-override",@@ -426,12 +378,6 @@"token": "bg-gray-100","count": 3},- {- "path": "src/components/header/ProjectSwitchPanel.tsx",- "rule": "no-off-scale-gap",- "token": "gap-x-5",- "count": 1- },{"path": "src/components/instance/CreateDataSourceExample.tsx","rule": "no-native-control",@@ -462,12 +408,6 @@"token": "text-gray-500","count": 1},- {- "path": "src/components/instance/DataSourceForm.tsx",- "rule": "no-native-control",- "token": "button",- "count": 3- },{"path": "src/components/instance/DataSourceForm.tsx","rule": "no-native-control",@@ -480,12 +420,6 @@"token": "textarea","count": 1},- {- "path": "src/components/instance/DataSourceForm.tsx",- "rule": "no-off-scale-gap",- "token": "gap-x-0.5",- "count": 3- },{"path": "src/components/instance/DataSourceSection.tsx","rule": "no-native-control",@@ -504,66 +438,24 @@"token": "text-red-500","count": 1},- {- "path": "src/components/instance/InfoPanel.tsx",- "rule": "no-arbitrary-type",- "token": "text-[12px]",- "count": 1- },{"path": "src/components/instance/InfoPanel.tsx","rule": "no-native-control","token": "button","count": 1},- {- "path": "src/components/instance/InstanceDashboard.tsx",- "rule": "no-button-dimension-override",- "token": "size-5",- "count": 1- },- {- "path": "src/components/instance/InstanceDetailView.tsx",- "rule": "no-raw-color",- "token": "bg-gray-700",- "count": 1- },- {- "path": "src/components/instance/InstanceDetailView.tsx",- "rule": "no-raw-color",- "token": "text-white",- "count": 1- },- {- "path": "src/components/instance/InstanceFormBody.tsx",- "rule": "no-native-control",- "token": "button",- "count": 4- },{"path": "src/components/instance/SslCertificateForm.tsx","rule": "no-native-control","token": "textarea","count": 1},- {- "path": "src/components/InstanceAssignmentSheet.tsx",- "rule": "no-off-scale-gap",- "token": "gap-y-5",- "count": 1- },{"path": "src/components/InstanceAssignmentSheet.tsx","rule": "no-raw-table","token": "table","count": 1},- {- "path": "src/components/InstanceSelect.tsx",- "rule": "no-off-scale-gap",- "token": "gap-0.5",- "count": 1- },{"path": "src/components/IssueLabelSelect.tsx","rule": "no-native-control",@@ -576,30 +468,12 @@"token": "textarea","count": 1},- {- "path": "src/components/LabelListEditor.tsx",- "rule": "no-arbitrary-type",- "token": "leading-[34px]",- "count": 2- },{"path": "src/components/LabelListEditor.tsx","rule": "no-native-control","token": "button","count": 1},- {- "path": "src/components/LabelsDisplay.tsx",- "rule": "no-raw-color",- "token": "bg-gray-100",- "count": 1- },- {- "path": "src/components/LearnMoreLink.tsx",- "rule": "no-off-scale-gap",- "token": "gap-x-0.5",- "count": 1- },{"path": "src/components/MarkdownEditor/MarkdownEditor.tsx","rule": "no-native-control",@@ -648,18 +522,6 @@"token": "hover:bg-gray-100","count": 1},- {- "path": "src/components/ProjectRouteShell.tsx",- "rule": "no-raw-color",- "token": "bg-white",- "count": 1- },- {- "path": "src/components/ProjectRouteShell.tsx",- "rule": "no-raw-color",- "token": "text-white",- "count": 1- },{"path": "src/components/ProjectSidebar.tsx","rule": "no-raw-color",@@ -720,30 +582,12 @@"token": "text-yellow-600","count": 1},- {- "path": "src/components/revision/RevisionDetailPanel.tsx",- "rule": "no-raw-color",- "token": "bg-white",- "count": 1- },- {- "path": "src/components/revision/RevisionDetailPanel.tsx",- "rule": "no-raw-color",- "token": "text-gray-400",- "count": 1- },{"path": "src/components/sql-review/Panels.tsx","rule": "no-native-control","token": "button","count": 1},- {- "path": "src/components/sql-review/Panels.tsx",- "rule": "no-space-between",- "token": "space-y-4",- "count": 1- },{"path": "src/components/sql-review/RuleComponents.tsx","rule": "no-button-dimension-override",@@ -816,18 +660,6 @@"token": "button","count": 1},- {- "path": "src/components/sql-review/TabsByEngine.tsx",- "rule": "no-raw-color",- "token": "bg-gray-200",- "count": 1- },- {- "path": "src/components/sql-review/TabsByEngine.tsx",- "rule": "no-raw-color",- "token": "text-gray-800",- "count": 1- },{"path": "src/components/sql-review/TemplateSelector.tsx","rule": "no-native-control",@@ -846,24 +678,6 @@"token": "text-white","count": 2},- {- "path": "src/components/UserAvatar.tsx",- "rule": "no-raw-color",- "token": "text-white",- "count": 1- },- {- "path": "src/components/UserHoverCard.tsx",- "rule": "no-off-scale-gap",- "token": "gap-y-0.5",- "count": 1- },- {- "path": "src/components/Watermark.tsx",- "rule": "no-literal-color",- "token": "rgba(",- "count": 2- },{"path": "src/modules/agent/components/AgentChat.tsx","rule": "no-raw-color",@@ -960,18 +774,6 @@"token": "data-highlighted:bg-red-50","count": 1},- {- "path": "src/modules/agent/components/ToolCallCard.tsx",- "rule": "no-raw-color",- "token": "text-amber-600",- "count": 1- },- {- "path": "src/modules/ai/components/ActionBar.tsx",- "rule": "no-button-dimension-override",- "token": "h-7",- "count": 2- },{"path": "src/modules/ai/components/ChatView/ChatView.tsx","rule": "no-native-control",@@ -984,12 +786,6 @@"token": "button","count": 2},- {- "path": "src/modules/ai/components/DynamicSuggestions.tsx",- "rule": "no-arbitrary-type",- "token": "leading-[22px]",- "count": 1- },{"path": "src/modules/ai/components/DynamicSuggestions.tsx","rule": "no-button-dimension-override",@@ -1002,12 +798,6 @@"token": "text-gray-500","count": 1},- {- "path": "src/modules/ai/components/HistoryPanel/ConversationList.tsx",- "rule": "no-off-scale-gap",- "token": "gap-x-0.5",- "count": 1- },{"path": "src/modules/ai/components/PromptInput.tsx","rule": "no-button-dimension-override",@@ -1092,30 +882,6 @@"token": "button","count": 1},- {- "path": "src/modules/schema-diagram/SchemaDiagram.tsx",- "rule": "no-raw-color",- "token": "bg-white/40",- "count": 1- },- {- "path": "src/modules/schema-editor/Aside/AsideTree.tsx",- "rule": "no-arbitrary-type",- "token": "text-[10px]",- "count": 1- },- {- "path": "src/modules/schema-editor/Panels/IndexesEditor/IndexesEditor.tsx",- "rule": "no-button-dimension-override",- "token": "size-7",- "count": 1- },- {- "path": "src/modules/schema-editor/Panels/PartitionsEditor/PartitionsEditor.tsx",- "rule": "no-button-dimension-override",- "token": "size-7",- "count": 2- },{"path": "src/modules/schema-editor/Panels/PreviewPane.tsx","rule": "no-native-control",@@ -1128,48 +894,12 @@"token": "button","count": 1},- {- "path": "src/modules/schema-editor/Panels/TableColumnEditor/TableColumnEditor.tsx",- "rule": "no-button-dimension-override",- "token": "size-7",- "count": 2- },- {- "path": "src/modules/schema-editor/Panels/TableList/TableList.tsx",- "rule": "no-button-dimension-override",- "token": "size-7",- "count": 2- },{"path": "src/modules/schema-editor/TabsContainer.tsx","rule": "no-native-control","token": "button","count": 1},- {- "path": "src/modules/sql-editor/components/AccessGrantItem.tsx",- "rule": "no-arbitrary-type",- "token": "text-[10px]",- "count": 3- },- {- "path": "src/modules/sql-editor/components/AccessGrantItem.tsx",- "rule": "no-button-dimension-override",- "token": "h-6",- "count": 2- },- {- "path": "src/modules/sql-editor/components/AdminModeButton.tsx",- "rule": "no-button-dimension-override",- "token": "h-7",- "count": 1- },- {- "path": "src/modules/sql-editor/components/AsidePanel/ActionBarTabItem.tsx",- "rule": "no-button-dimension-override",- "token": "h-8",- "count": 1- },{"path": "src/modules/sql-editor/components/ConnectChooser.tsx","rule": "no-button-dimension-override",@@ -1182,12 +912,6 @@"token": "button","count": 1},- {- "path": "src/modules/sql-editor/components/ConnectionChooserButton.tsx",- "rule": "no-button-dimension-override",- "token": "h-8",- "count": 1- },{"path": "src/modules/sql-editor/components/ConnectionPane/ConnectionPane.tsx","rule": "no-native-control",@@ -1200,42 +924,12 @@"token": "button","count": 1},- {- "path": "src/modules/sql-editor/components/ConnectionPanel.tsx",- "rule": "no-button-dimension-override",- "token": "size-7",- "count": 1- },- {- "path": "src/modules/sql-editor/components/EditorAction.tsx",- "rule": "no-button-dimension-override",- "token": "h-7",- "count": 2- },- {- "path": "src/modules/sql-editor/components/EditorAction.tsx",- "rule": "no-button-dimension-override",- "token": "h-8",- "count": 1- },{"path": "src/modules/sql-editor/components/FolderForm.tsx","rule": "no-native-control","token": "button","count": 1},- {- "path": "src/modules/sql-editor/components/HistoryPane.tsx",- "rule": "no-button-dimension-override",- "token": "h-5",- "count": 1- },- {- "path": "src/modules/sql-editor/components/HistoryPane.tsx",- "rule": "no-button-dimension-override",- "token": "h-6",- "count": 2- },{"path": "src/modules/sql-editor/components/HistorySearchInput.tsx","rule": "no-native-control",@@ -1245,163 +939,37 @@{"path": "src/modules/sql-editor/components/HistorySearchInput.tsx","rule": "no-native-control",- "token": "textarea",- "count": 1- },- {- "path": "src/modules/sql-editor/components/MaskingReasonPopover.tsx",- "rule": "no-off-scale-gap",- "token": "gap-0.5",- "count": 1- },- {- "path": "src/modules/sql-editor/components/Panels/common/CodeViewer.tsx",- "rule": "no-button-dimension-override",- "token": "h-8",- "count": 1- },- {- "path": "src/modules/sql-editor/components/Panels/common/PanelSearchBox.tsx",- "rule": "no-native-control",- "token": "button",- "count": 1- },- {- "path": "src/modules/sql-editor/components/Panels/ExternalTablesPanel/ExternalTablesPanel.tsx",- "rule": "no-button-dimension-override",- "token": "h-8",- "count": 1- },- {- "path": "src/modules/sql-editor/components/Panels/FunctionsPanel/FunctionsPanel.tsx",- "rule": "no-button-dimension-override",- "token": "h-8",- "count": 1- },- {- "path": "src/modules/sql-editor/components/Panels/PackagesPanel/PackagesPanel.tsx",- "rule": "no-button-dimension-override",- "token": "h-8",- "count": 1- },- {- "path": "src/modules/sql-editor/components/Panels/ProceduresPanel/ProceduresPanel.tsx",- "rule": "no-button-dimension-override",- "token": "h-8",- "count": 1- },- {- "path": "src/modules/sql-editor/components/Panels/TablesPanel/TableDetail.tsx",- "rule": "no-button-dimension-override",- "token": "h-8",- "count": 2- },- {- "path": "src/modules/sql-editor/components/Panels/TriggersPanel/TriggersPanel.tsx",- "rule": "no-button-dimension-override",- "token": "h-8",- "count": 1- },- {- "path": "src/modules/sql-editor/components/Panels/ViewsPanel/ViewDetail.tsx",- "rule": "no-button-dimension-override",- "token": "h-8",- "count": 1- },- {- "path": "src/modules/sql-editor/components/ResultPanel/BatchQuerySelect.tsx",- "rule": "no-button-dimension-override",- "token": "h-7",- "count": 1- },- {- "path": "src/modules/sql-editor/components/ResultPanel/BatchQuerySelect.tsx",- "rule": "no-native-control",- "token": "button",- "count": 1- },- {- "path": "src/modules/sql-editor/components/ResultView/BinaryFormatButton.tsx",- "rule": "no-button-dimension-override",- "token": "size-5",- "count": 1- },- {- "path": "src/modules/sql-editor/components/ResultView/DataExplorerResultView.tsx",- "rule": "no-button-dimension-override",- "token": "size-7",- "count": 1- },- {- "path": "src/modules/sql-editor/components/ResultView/DetailPanel.tsx",- "rule": "no-button-dimension-override",- "token": "h-6",- "count": 1- },- {- "path": "src/modules/sql-editor/components/ResultView/DetailPanel.tsx",- "rule": "no-button-dimension-override",- "token": "h-7",- "count": 1- },- {- "path": "src/modules/sql-editor/components/ResultView/DetailPanel.tsx",- "rule": "no-button-dimension-override",- "token": "size-7",- "count": 1- },- {- "path": "src/modules/sql-editor/components/ResultView/DocumentJSONView.tsx",- "rule": "no-button-dimension-override",- "token": "size-6",- "count": 1- },- {- "path": "src/modules/sql-editor/components/ResultView/SelectionCopyTooltips.tsx",- "rule": "no-button-dimension-override",- "token": "h-6",- "count": 3- },- {- "path": "src/modules/sql-editor/components/ResultView/SelectionCopyTooltips.tsx",- "rule": "no-raw-color",- "token": "border-white/30",+ "token": "textarea","count": 1},{- "path": "src/modules/sql-editor/components/ResultView/SingleResultView.tsx",- "rule": "no-button-dimension-override",- "token": "h-7",+ "path": "src/modules/sql-editor/components/Panels/common/PanelSearchBox.tsx",+ "rule": "no-native-control",+ "token": "button","count": 1},{- "path": "src/modules/sql-editor/components/ResultView/SingleResultView.tsx",+ "path": "src/modules/sql-editor/components/ResultPanel/BatchQuerySelect.tsx","rule": "no-button-dimension-override",- "token": "size-7",+ "token": "h-7","count": 1},{- "path": "src/modules/sql-editor/components/ResultView/SingleResultView.tsx",- "rule": "no-button-dimension-override",- "token": "size-9",- "count": 2- },- {- "path": "src/modules/sql-editor/components/ResultView/TableCell.tsx",- "rule": "no-button-dimension-override",- "token": "size-6",+ "path": "src/modules/sql-editor/components/ResultPanel/BatchQuerySelect.tsx",+ "rule": "no-native-control",+ "token": "button","count": 1},{- "path": "src/modules/sql-editor/components/ResultView/TextSearchControl.tsx",+ "path": "src/modules/sql-editor/components/ResultView/SelectionCopyTooltips.tsx","rule": "no-button-dimension-override",- "token": "size-7",+ "token": "h-6","count": 3},{- "path": "src/modules/sql-editor/components/ResultView/VirtualDataBlock.tsx",- "rule": "no-button-dimension-override",- "token": "size-7",+ "path": "src/modules/sql-editor/components/ResultView/SelectionCopyTooltips.tsx",+ "rule": "no-raw-color",+ "token": "border-white/30","count": 1},{@@ -1416,48 +984,12 @@"token": "button","count": 1},- {- "path": "src/modules/sql-editor/components/SchemaPane/FlatTableList.tsx",- "rule": "no-button-dimension-override",- "token": "size-5",- "count": 1- },- {- "path": "src/modules/sql-editor/components/SchemaPane/HoverPanel/InfoItem.tsx",- "rule": "no-arbitrary-type",- "token": "leading-[20px]",- "count": 1- },- {- "path": "src/modules/sql-editor/components/SchemaPane/HoverPanel/TableInfo.tsx",- "rule": "no-off-scale-gap",- "token": "gap-x-0.5",- "count": 1- },{"path": "src/modules/sql-editor/components/SchemaPane/SchemaContextMenu.tsx","rule": "no-native-control","token": "button","count": 1},- {- "path": "src/modules/sql-editor/components/SchemaPane/TreeNode/CheckNode.tsx",- "rule": "no-arbitrary-type",- "token": "text-[10px]",- "count": 1- },- {- "path": "src/modules/sql-editor/components/SchemaPane/TreeNode/ColumnNode.tsx",- "rule": "no-arbitrary-type",- "token": "text-[10px]",- "count": 1- },- {- "path": "src/modules/sql-editor/components/SchemaPane/TreeNode/icons.tsx",- "rule": "no-arbitrary-type",- "token": "text-[7px]",- "count": 1- },{"path": "src/modules/sql-editor/components/SchemaPane/TreeNode/icons.tsx","rule": "no-raw-color",@@ -1500,12 +1032,6 @@"token": "input","count": 1},- {- "path": "src/modules/sql-editor/components/TabItem.tsx",- "rule": "no-button-dimension-override",- "token": "size-10",- "count": 1- },{"path": "src/modules/sql-editor/components/TabItem/Label.tsx","rule": "no-native-control",@@ -1524,24 +1050,6 @@"token": "button","count": 1},- {- "path": "src/modules/sql-editor/components/TreeNodeSuffix.tsx",- "rule": "no-raw-color",- "token": "text-yellow-400",- "count": 1- },- {- "path": "src/modules/sql-editor/components/useExportGrantBypass.tsx",- "rule": "no-off-scale-gap",- "token": "gap-y-0.5",- "count": 1- },- {- "path": "src/modules/sql-editor/components/Welcome.tsx",- "rule": "no-off-scale-gap",- "token": "gap-y-10",- "count": 1- },{"path": "src/routes/auth/MultiFactorPage.tsx","rule": "no-native-control",@@ -1566,12 +1074,6 @@"token": "bg-white","count": 1},- {- "path": "src/routes/auth/PasswordForgotPage.tsx",- "rule": "no-raw-color",- "token": "bg-white",- "count": 1- },{"path": "src/routes/auth/PasswordResetPage.tsx","rule": "no-native-control",@@ -1584,18 +1086,6 @@"token": "bg-white","count": 1},- {- "path": "src/routes/auth/SigninPage.tsx",- "rule": "no-raw-color",- "token": "bg-white",- "count": 2- },- {- "path": "src/routes/auth/SignupPage.tsx",- "rule": "no-raw-color",- "token": "bg-white",- "count": 2- },{"path": "src/routes/project/database-detail/DatabaseDetailHeader.tsx","rule": "no-native-control",@@ -1638,12 +1128,6 @@"token": "table","count": 2},- {- "path": "src/routes/project/database-detail/revision/ImportRevisionSheet.tsx",- "rule": "no-ad-hoc-sheet-width",- "token": "max-w-[90vw]",- "count": 1- },{"path": "src/routes/project/database-detail/revision/ImportRevisionSheet.tsx","rule": "no-native-control",@@ -1662,36 +1146,6 @@"token": "select","count": 1},- {- "path": "src/routes/project/DatabaseChangelogDetailPage.tsx",- "rule": "no-raw-color",- "token": "bg-white",- "count": 2- },- {- "path": "src/routes/project/issue-detail/components/IssueDetailAccessGrantDetails.tsx",- "rule": "no-raw-color",- "token": "bg-gray-50",- "count": 1- },- {- "path": "src/routes/project/issue-detail/components/IssueDetailActionBar.tsx",- "rule": "no-ad-hoc-sheet-width",- "token": "max-w-[32rem]",- "count": 1- },- {- "path": "src/routes/project/issue-detail/components/IssueDetailActionBar.tsx",- "rule": "no-ad-hoc-sheet-width",- "token": "w-[calc(100vw-2rem)]",- "count": 1- },- {- "path": "src/routes/project/issue-detail/components/IssueDetailActionBar.tsx",- "rule": "no-off-scale-gap",- "token": "gap-y-2.5",- "count": 1- },{"path": "src/routes/project/issue-detail/components/IssueDetailActionBar.tsx","rule": "no-raw-color",@@ -1704,24 +1158,12 @@"token": "text-white","count": 1},- {- "path": "src/routes/project/issue-detail/components/IssueDetailApprovalFlow.tsx",- "rule": "no-arbitrary-type",- "token": "text-[10px]",- "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/IssueDetailCommentList.tsx",- "rule": "no-arbitrary-type",- "token": "text-[0.8rem]",- "count": 1- },{"path": "src/routes/project/issue-detail/components/IssueDetailCommentList.tsx","rule": "no-raw-color",@@ -1818,12 +1260,6 @@"token": "text-yellow-900","count": 1},- {- "path": "src/routes/project/issue-detail/components/IssueDetailDatabaseCreateView.tsx",- "rule": "no-off-scale-gap",- "token": "gap-x-5",- "count": 1- },{"path": "src/routes/project/issue-detail/components/IssueDetailDatabaseCreateView.tsx","rule": "no-raw-color",@@ -1878,18 +1314,6 @@"token": "text-red-600","count": 1},- {- "path": "src/routes/project/issue-detail/components/IssueDetailTaskRolloutActionPanel.tsx",- "rule": "no-raw-color",- "token": "bg-white/50",- "count": 1- },- {- "path": "src/routes/project/issue-detail/components/IssueDetailTaskRunTable.tsx",- "rule": "no-off-scale-gap",- "token": "gap-y-0.5",- "count": 1- },{"path": "src/routes/project/issue-detail/components/IssueDetailTaskRunTable.tsx","rule": "no-raw-color",@@ -1902,18 +1326,6 @@"token": "input","count": 1},- {- "path": "src/routes/project/plan-detail/components/deploy/DeployPendingTasksSection.tsx",- "rule": "no-ad-hoc-sheet-width",- "token": "max-w-[calc(100vw-2rem)]",- "count": 1- },- {- "path": "src/routes/project/plan-detail/components/deploy/DeployPendingTasksSection.tsx",- "rule": "no-ad-hoc-sheet-width",- "token": "w-[25rem]",- "count": 1- },{"path": "src/routes/project/plan-detail/components/deploy/DeployPendingTasksSection.tsx","rule": "no-native-control",@@ -1932,24 +1344,6 @@"token": "text-gray-500","count": 2},- {- "path": "src/routes/project/plan-detail/components/deploy/DeployPendingTasksSection.tsx",- "rule": "no-space-between",- "token": "space-y-1",- "count": 1- },- {- "path": "src/routes/project/plan-detail/components/deploy/DeployPendingTasksSection.tsx",- "rule": "no-space-between",- "token": "space-y-4",- "count": 1- },- {- "path": "src/routes/project/plan-detail/components/deploy/DeployStageCard.tsx",- "rule": "no-raw-color",- "token": "text-gray-400",- "count": 1- },{"path": "src/routes/project/plan-detail/components/deploy/DeployTaskFilter.tsx","rule": "no-native-control",@@ -1968,24 +1362,12 @@"token": "button","count": 2},- {- "path": "src/routes/project/plan-detail/components/deploy/DeployTaskItem.tsx",- "rule": "no-raw-color",- "token": "bg-white",- "count": 1- },{"path": "src/routes/project/plan-detail/components/deploy/DeployTaskRunHistorySheet.tsx","rule": "no-native-control","token": "button","count": 1},- {- "path": "src/routes/project/plan-detail/components/deploy/DeployTaskToolbar.tsx",- "rule": "no-off-scale-gap",- "token": "gap-x-0.5",- "count": 1- },{"path": "src/routes/project/plan-detail/components/deploy/DeployTaskToolbar.tsx","rule": "no-raw-color",@@ -2010,30 +1392,6 @@"token": "button","count": 5},- {- "path": "src/routes/project/plan-detail/components/lifecycle/PlanStatusAction.tsx",- "rule": "no-off-scale-gap",- "token": "gap-0.5",- "count": 1- },- {- "path": "src/routes/project/plan-detail/components/PlanChangeReference.tsx",- "rule": "no-arbitrary-type",- "token": "text-[11px]",- "count": 1- },- {- "path": "src/routes/project/plan-detail/components/PlanDetailChangesBranch.tsx",- "rule": "no-ad-hoc-sheet-width",- "token": "sm:w-[80vw]",- "count": 1- },- {- "path": "src/routes/project/plan-detail/components/PlanDetailChangesBranch.tsx",- "rule": "no-ad-hoc-sheet-width",- "token": "w-screen",- "count": 1- },{"path": "src/routes/project/plan-detail/components/PlanDetailChangesBranch.tsx","rule": "no-button-dimension-override",@@ -2070,12 +1428,6 @@"token": "input","count": 1},- {- "path": "src/routes/project/plan-detail/components/PlanDetailHeaderDetails.tsx",- "rule": "no-raw-color",- "token": "bg-white",- "count": 1- },{"path": "src/routes/project/plan-detail/components/PlanDetailMeta.tsx","rule": "no-native-control",@@ -2088,30 +1440,6 @@"token": "bg-white","count": 1},- {- "path": "src/routes/project/plan-detail/components/PlanDetailRollbackSheet.tsx",- "rule": "no-space-between",- "token": "space-y-1",- "count": 1- },- {- "path": "src/routes/project/plan-detail/components/PlanDetailRollbackSheet.tsx",- "rule": "no-space-between",- "token": "space-y-2",- "count": 1- },- {- "path": "src/routes/project/plan-detail/components/PlanDetailRollbackSheet.tsx",- "rule": "no-space-between",- "token": "space-y-3",- "count": 1- },- {- "path": "src/routes/project/plan-detail/components/PlanDetailRollbackSheet.tsx",- "rule": "no-space-between",- "token": "space-y-4",- "count": 1- },{"path": "src/routes/project/plan-detail/components/PlanDetailStatementSection.tsx","rule": "no-native-control",@@ -2148,24 +1476,6 @@"token": "border-gray-200","count": 1},- {- "path": "src/routes/project/plan-detail/components/PlanDetailTaskRolloutActionPanel.tsx",- "rule": "no-raw-color",- "token": "bg-white/50",- "count": 1- },- {- "path": "src/routes/project/plan-detail/components/review/ReviewActionPopover.tsx",- "rule": "no-off-scale-gap",- "token": "gap-y-2.5",- "count": 1- },- {- "path": "src/routes/project/plan-detail/ProjectPlanDetailPage.tsx",- "rule": "no-arbitrary-type",- "token": "text-[11px]",- "count": 2- },{"path": "src/routes/project/plan-detail/ProjectPlanDetailPage.tsx","rule": "no-raw-color",@@ -2184,12 +1494,6 @@"token": "text-white","count": 3},- {- "path": "src/routes/project/ProjectAccessGrantsPage.tsx",- "rule": "no-off-scale-gap",- "token": "gap-x-0.5",- "count": 2- },{"path": "src/routes/project/ProjectAccessGrantsPage.tsx","rule": "no-raw-color",@@ -2208,12 +1512,6 @@"token": "text-white","count": 1},- {- "path": "src/routes/project/ProjectDatabaseGroupsPage.tsx",- "rule": "no-raw-color",- "token": "text-white",- "count": 1- },{"path": "src/routes/project/ProjectGitOpsPage.tsx","rule": "no-raw-color",@@ -2340,18 +1638,6 @@"token": "select","count": 1},- {- "path": "src/routes/project/ProjectReleaseDetailPage.tsx",- "rule": "no-raw-color",- "token": "bg-gray-700",- "count": 1- },- {- "path": "src/routes/project/ProjectReleaseDetailPage.tsx",- "rule": "no-raw-color",- "token": "text-white",- "count": 1- },{"path": "src/routes/project/ProjectSettingsPage.tsx","rule": "no-native-control",@@ -2424,18 +1710,6 @@"token": "text-gray-600","count": 2},- {- "path": "src/routes/workspace/general/AccountSection.tsx",- "rule": "no-off-scale-gap",- "token": "gap-y-7",- "count": 1- },- {- "path": "src/routes/workspace/general/AccountSection.tsx",- "rule": "no-raw-color",- "token": "text-gray-500",- "count": 1- },{"path": "src/routes/workspace/general/BrandingSection.tsx","rule": "no-native-control",@@ -2508,24 +1782,12 @@"token": "text-gray-500","count": 2},- {- "path": "src/routes/workspace/general/sql-editor-theme/ThemePreview.tsx",- "rule": "no-button-dimension-override",- "token": "h-7",- "count": 4- },{"path": "src/routes/workspace/GlobalMaskingPage.tsx","rule": "no-native-control","token": "button","count": 3},- {- "path": "src/routes/workspace/GlobalMaskingPage.tsx",- "rule": "no-off-scale-gap",- "token": "gap-x-5",- "count": 1- },{"path": "src/routes/workspace/GlobalMaskingPage.tsx","rule": "no-raw-color",@@ -2616,24 +1878,6 @@"token": "text-red-800","count": 1},- {- "path": "src/routes/workspace/profile/AccountSettingsPage.tsx",- "rule": "no-off-scale-gap",- "token": "gap-y-0.5",- "count": 1- },- {- "path": "src/routes/workspace/profile/AccountSettingsPage.tsx",- "rule": "no-raw-color",- "token": "text-white",- "count": 1- },- {- "path": "src/routes/workspace/profile/SettingsCard.tsx",- "rule": "no-off-scale-gap",- "token": "gap-y-0.5",- "count": 1- },{"path": "src/routes/workspace/profile/UserPasswordSection.tsx","rule": "no-native-control",@@ -2652,18 +1896,6 @@"token": "text-red-400","count": 1},- {- "path": "src/routes/workspace/PurchaseSection.tsx",- "rule": "no-button-dimension-override",- "token": "h-full",- "count": 2- },- {- "path": "src/routes/workspace/PurchaseSection.tsx",- "rule": "no-off-scale-gap",- "token": "gap-x-12",- "count": 1- },{"path": "src/routes/workspace/RolesPage.tsx","rule": "no-native-control",@@ -2700,18 +1932,6 @@"token": "input","count": 1},- {- "path": "src/routes/workspace/two-factor/RecoveryCodesView.tsx",- "rule": "no-off-scale-gap",- "token": "gap-x-24",- "count": 1- },- {- "path": "src/routes/workspace/two-factor/RecoveryCodesView.tsx",- "rule": "no-raw-color",- "token": "bg-gray-50",- "count": 1- },{"path": "src/routes/workspace/two-factor/TwoFactorSetupPage.tsx","rule": "no-raw-color",diff --git a/frontend/src/app/layouts/SplashLayout.tsx b/frontend/src/app/layouts/SplashLayout.tsxindex 2e2f8a8963..3a928f6f57 100644--- a/frontend/src/app/layouts/SplashLayout.tsx+++ b/frontend/src/app/layouts/SplashLayout.tsx@@ -24,7 +24,7 @@ export function SplashLayout() {return (<div className="min-h-screen overflow-hidden flex">{showBrandingImage ? (- <div className="hidden bg-white lg:block relative w-0 flex-1">+ <div className="hidden bg-background lg:block relative w-0 flex-1"><imgclassName="absolute inset-0 h-full w-full object-cover"src={diff --git a/frontend/src/components/AccountMultiSelect.tsx b/frontend/src/components/AccountMultiSelect.tsxindex 5d47876ebd..6c9feb569b 100644--- a/frontend/src/components/AccountMultiSelect.tsx+++ b/frontend/src/components/AccountMultiSelect.tsx@@ -603,11 +603,7 @@ export function AccountMultiSelect({<SelectionCheckboxselected={selectedFullnames.has(ALL_USERS_USER_EMAIL)}/>- {/* Blue avatar circle */}- <div- className="size-7 rounded-full flex items-center justify-center text-accent-text text-xs font-medium shrink-0"- style={{ backgroundColor: "#3B82F6" }}- >+ <div className="size-7 rounded-full flex items-center justify-center bg-info text-accent-text text-xs font-medium shrink-0"><Users className="h-4 w-4" /></div><HighlightLabelTextdiff --git a/frontend/src/components/DashboardFrameShell.tsx b/frontend/src/components/DashboardFrameShell.tsxindex 6ccb87ef35..dd1a01118d 100644--- a/frontend/src/components/DashboardFrameShell.tsx+++ b/frontend/src/components/DashboardFrameShell.tsx@@ -24,7 +24,7 @@ export function DashboardFrameShell({ onReady }: DashboardFrameShellProps) {</div><div ref={bodyRef} className="min-h-0 flex-1" />{!initialized ? (- <div className="absolute inset-0 z-10 flex items-center justify-center bg-white">+ <div className="absolute inset-0 z-10 flex items-center justify-center bg-background"><LoaderCircle className="size-6 animate-spin text-accent" /></div>) : null}diff --git a/frontend/src/components/DatabaseSelect.tsx b/frontend/src/components/DatabaseSelect.tsxindex 673d4e2a1d..7db94a66e9 100644--- a/frontend/src/components/DatabaseSelect.tsx+++ b/frontend/src/components/DatabaseSelect.tsx@@ -137,7 +137,7 @@ export function DatabaseSelect(props: DatabaseSelectProps) {label: databaseName,description: instance,render: (keyword) => (- <div className="flex flex-col gap-0.5">+ <div className="flex flex-col gap-1"><DatabaseTargetDisplaydatabase={database}keyword={keyword}diff --git a/frontend/src/components/EnvironmentSelect.tsx b/frontend/src/components/EnvironmentSelect.tsxindex 60ffa78867..b5b9b9f99a 100644--- a/frontend/src/components/EnvironmentSelect.tsx+++ b/frontend/src/components/EnvironmentSelect.tsx@@ -40,7 +40,7 @@ export function EnvironmentSelect(props: EnvironmentSelectProps) {value: formatEnvironmentName(env.id),label: env.title,render: (keyword: string) => (- <div className="flex flex-col gap-0.5">+ <div className="flex flex-col gap-1"><div className="flex items-center gap-x-1"><EnvironmentLabel environment={env} keyword={keyword} />{renderSuffix?.(env)}diff --git a/frontend/src/components/InstanceAssignmentSheet.tsx b/frontend/src/components/InstanceAssignmentSheet.tsxindex 1bab9bb29b..d7a26ea058 100644--- a/frontend/src/components/InstanceAssignmentSheet.tsx+++ b/frontend/src/components/InstanceAssignmentSheet.tsx@@ -226,7 +226,7 @@ export function InstanceAssignmentSheet({{t("subscription.instance-assignment.manage-license")}</SheetTitle></SheetHeader>- <SheetBody className="gap-y-5">+ <SheetBody className="gap-y-6"><div><div className="flex gap-x-2 text-control-light"><span>diff --git a/frontend/src/components/InstanceSelect.tsx b/frontend/src/components/InstanceSelect.tsxindex 95bd18b23f..a4e010f070 100644--- a/frontend/src/components/InstanceSelect.tsx+++ b/frontend/src/components/InstanceSelect.tsx@@ -109,7 +109,7 @@ export function InstanceSelect({label: inst.title,description: extractInstanceResourceName(inst.name),render: (keyword) => (- <div className="flex flex-col gap-0.5">+ <div className="flex flex-col gap-1"><div className="flex items-center gap-1.5">{inst.environment && (<EnvironmentLabel environmentName={inst.environment} />diff --git a/frontend/src/components/LabelListEditor.tsx b/frontend/src/components/LabelListEditor.tsxindex 185fc8284d..099f9d4360 100644--- a/frontend/src/components/LabelListEditor.tsx+++ b/frontend/src/components/LabelListEditor.tsx@@ -124,7 +124,7 @@ export function LabelListEditor({{t("common.key")} {index + 1}</span>{readonly ? (- <span className="leading-[34px]">{kv.key}</span>+ <span className="flex h-9 items-center">{kv.key}</span>) : (<Inputvalue={kv.key}@@ -140,7 +140,7 @@ export function LabelListEditor({</span><div className="flex items-center gap-x-2">{readonly ? (- <span className="leading-[34px]">+ <span className="flex h-9 items-center">{kv.value || (<span className="text-control-placeholder">{t("label.empty-label-value")}diff --git a/frontend/src/components/LabelsDisplay.tsx b/frontend/src/components/LabelsDisplay.tsxindex 88bd165328..17043f9639 100644--- a/frontend/src/components/LabelsDisplay.tsx+++ b/frontend/src/components/LabelsDisplay.tsx@@ -16,7 +16,10 @@ export function LabelsDisplay({return (<div className="flex items-center gap-x-1">{displayEntries.map(([key, value]) => (- <span key={key} className="rounded-xs bg-gray-100 py-0.5 px-2 text-sm">+ <span+ key={key}+ className="rounded-xs bg-control-bg py-0.5 px-2 text-sm"+ >{key}:{value}</span>))}diff --git a/frontend/src/components/LearnMoreLink.tsx b/frontend/src/components/LearnMoreLink.tsxindex 299b1bb00c..64e482fe2b 100644--- a/frontend/src/components/LearnMoreLink.tsx+++ b/frontend/src/components/LearnMoreLink.tsx@@ -15,7 +15,7 @@ export function LearnMoreLink({ href, className }: LearnMoreLinkProps) {target="_blank"rel="noopener noreferrer"className={cn(- "inline-flex items-center gap-x-0.5 hover:underline",+ "inline-flex items-center gap-x-1 hover:underline",className)}>diff --git a/frontend/src/components/ProjectRouteShell.tsx b/frontend/src/components/ProjectRouteShell.tsxindex 8201fe9ccd..3bab3f7852 100644--- a/frontend/src/components/ProjectRouteShell.tsx+++ b/frontend/src/components/ProjectRouteShell.tsx@@ -128,7 +128,7 @@ export function ProjectRouteShell({if (!ready || !project) {return (- <div className="fixed inset-0 bg-white flex flex-col items-center justify-center">+ <div className="fixed inset-0 bg-background flex flex-col items-center justify-center"><LoaderCircle className="size-5 animate-spin text-control-light" /></div>);@@ -139,7 +139,7 @@ export function ProjectRouteShell({return (<>{project.state === State.DELETED && (- <div className="h-8 w-full text-base font-medium bg-control text-white flex justify-center items-center py-2 mb-4">+ <div className="h-8 w-full text-base font-medium bg-control text-main-text flex justify-center items-center py-2 mb-4">{t("common.archived")}</div>)}diff --git a/frontend/src/components/UserAvatar.tsx b/frontend/src/components/UserAvatar.tsxindex ccf3be23ad..84a1624382 100644--- a/frontend/src/components/UserAvatar.tsx+++ b/frontend/src/components/UserAvatar.tsx@@ -46,7 +46,7 @@ export function UserAvatar({return (<divclassName={cn(- "rounded-full flex items-center justify-center text-white font-medium shrink-0",+ "rounded-full flex items-center justify-center text-accent-text font-medium shrink-0",AVATAR_SIZES[size],className)}diff --git a/frontend/src/components/UserHoverCard.tsx b/frontend/src/components/UserHoverCard.tsxindex f2011a7b41..382ea3fe5e 100644--- a/frontend/src/components/UserHoverCard.tsx+++ b/frontend/src/components/UserHoverCard.tsx@@ -72,7 +72,7 @@ export function UserHoverCard({><div className="flex items-start gap-x-3"><UserAvatar title={title} colorSeed={email} />- <div className="flex min-w-0 flex-col gap-y-0.5">+ <div className="flex min-w-0 flex-col gap-y-1"><div className="flex items-center gap-x-1.5"><span className="truncate font-medium text-main">{title}</span>{isDeleted && (diff --git a/frontend/src/components/Watermark.tsx b/frontend/src/components/Watermark.tsxindex aaea355895..3b04ba498e 100644--- a/frontend/src/components/Watermark.tsx+++ b/frontend/src/components/Watermark.tsx@@ -27,6 +27,14 @@ const baseLayerStyle: CSSProperties = {backgroundRepeat: "repeat",};+const semanticCanvasColor = (token: string, opacity: number) => {+ if (typeof document === "undefined") return "transparent";+ const channels = getComputedStyle(document.documentElement)+ .getPropertyValue(token)+ .trim();+ return channels ? `rgb(${channels} / ${opacity})` : "transparent";+};+function makeWatermarkDataURL(opts: {content: string;fontSize: number;@@ -86,7 +94,7 @@ export function Watermark() {makeWatermarkDataURL({content: version,fontSize: VERSION_LAYER_FONT_SIZE,- fontColor: "rgba(255, 128, 128, 0.01)",+ fontColor: semanticCanvasColor("--color-error", 0.01),rotateDeg: 15,cellW: VERSION_LAYER_CELL,cellH: VERSION_LAYER_CELL,@@ -100,7 +108,7 @@ export function Watermark() {makeWatermarkDataURL({content: line,fontSize: USER_LAYER_FONT_SIZE,- fontColor: "rgba(128, 128, 128, 0.1)",+ fontColor: semanticCanvasColor("--color-control", 0.1),rotateDeg: -15,cellW: USER_LAYER_CELL_W,cellH: USER_LAYER_CELL_H,diff --git a/frontend/src/components/auth/UserPasswordFields.tsx b/frontend/src/components/auth/UserPasswordFields.tsxindex 6b9eee199a..9e783a83c8 100644--- a/frontend/src/components/auth/UserPasswordFields.tsx+++ b/frontend/src/components/auth/UserPasswordFields.tsx@@ -100,7 +100,7 @@ export function UserPasswordFields(props: Props) {type="button"appearance="secondary"size="sm"- className="absolute right-1.5 size-7 p-0"+ className="absolute right-1.5 w-7 p-0"onClick={() => setShowPassword((v) => !v)}aria-label="Toggle password visibility">@@ -134,7 +134,7 @@ export function UserPasswordFields(props: Props) {type="button"appearance="secondary"size="sm"- className="absolute right-1.5 size-7 p-0"+ className="absolute right-1.5 w-7 p-0"onClick={() => setShowPassword((v) => !v)}aria-label="Toggle password visibility">diff --git a/frontend/src/components/database/DatabaseOverviewInfo.tsx b/frontend/src/components/database/DatabaseOverviewInfo.tsxindex 7934400c7f..28261081cb 100644--- a/frontend/src/components/database/DatabaseOverviewInfo.tsx+++ b/frontend/src/components/database/DatabaseOverviewInfo.tsx@@ -59,7 +59,7 @@ export function DatabaseOverviewInfo({ database }: { database: Database }) {<span className="text-error">{t("database.sync-status-failed")}</span>- <p className="mt-1 text-xs text-gray-500">+ <p className="mt-1 text-xs text-control-light">{database.syncError}</p></>diff --git a/frontend/src/components/header/HeaderBreadcrumb.tsx b/frontend/src/components/header/HeaderBreadcrumb.tsxindex 67dbb00304..631cadf4ff 100644--- a/frontend/src/components/header/HeaderBreadcrumb.tsx+++ b/frontend/src/components/header/HeaderBreadcrumb.tsx@@ -139,7 +139,7 @@ export function WorkspaceSegment({{label && (<Badgevariant={planVariant(currentPlan)}- className="text-[10px] px-1.5 py-0 hidden lg:block"+ className="text-xs px-1.5 py-0 hidden lg:block">{label}</Badge>@@ -159,7 +159,7 @@ export function WorkspaceSegment({{label && (<Badgevariant={planVariant(currentPlan)}- className="text-[10px] px-1.5 py-0 hidden lg:block"+ className="text-xs px-1.5 py-0 hidden lg:block">{label}</Badge>diff --git a/frontend/src/components/header/ProjectSwitchPanel.tsx b/frontend/src/components/header/ProjectSwitchPanel.tsxindex 7d9a7633cd..8a3f13bc2c 100644--- a/frontend/src/components/header/ProjectSwitchPanel.tsx+++ b/frontend/src/components/header/ProjectSwitchPanel.tsx@@ -230,7 +230,7 @@ export function ProjectSwitchPanel({onValueChange={(value) => setSelectedTab(value as ProjectSwitchTab)}><div className="mb-2 mx-3 flex items-center justify-between gap-x-3">- <TabsList className="gap-x-5">+ <TabsList className="gap-x-4"><TabsTrigger className="pb-1.5" value="recent">{t("common.recent")}</TabsTrigger>diff --git a/frontend/src/components/instance/DataSourceForm.test.ts b/frontend/src/components/instance/DataSourceForm.test.tsindex 35140bd6ee..64ad12e0d0 100644--- a/frontend/src/components/instance/DataSourceForm.test.ts+++ b/frontend/src/components/instance/DataSourceForm.test.ts@@ -45,3 +45,19 @@ describe("DataSourceForm password sources", () => {expect(storedHintIndex).toBeGreaterThan(sourceIndex);});});++describe("DataSourceForm connection information buttons", () => {+ test("uses named shared buttons for connection information panels", () => {+ const form = source();++ expect(form).not.toContain("<button");+ expect(form).toContain('aria-label={t("instance.authentication")}');+ expect(form).toContain(+ 'aria-label={t("data-source.ssl.connection-security")}'+ );+ expect(form).toContain('aria-label={t("data-source.ssh-connection")}');+ expect(form).toContain('onOpenInfoPanel("authentication")');+ expect(form).toContain('onOpenInfoPanel("ssl")');+ expect(form).toContain('onOpenInfoPanel("ssh")');+ });+});diff --git a/frontend/src/components/instance/DataSourceForm.tsx b/frontend/src/components/instance/DataSourceForm.tsxindex 24b91f3b9c..086822f8ef 100644--- a/frontend/src/components/instance/DataSourceForm.tsx+++ b/frontend/src/components/instance/DataSourceForm.tsx@@ -1148,15 +1148,18 @@ export function DataSourceForm({<span className="flex items-center gap-x-1">{t("common.username")}{onOpenInfoPanel && hasAuthenticationInfo && (- <button+ <Buttontype="button"- className="inline-flex cursor-pointer items-center gap-x-0.5 text-accent text-xs"+ appearance="link"+ size="xs"+ className="w-6 shrink-0 p-0"+ aria-label={t("instance.authentication")}onClick={() =>onOpenInfoPanel("authentication")}><Info className="size-3.5" />- </button>+ </Button>)}</span>}@@ -2137,14 +2140,16 @@ export function DataSourceForm({<span className="flex items-center justify-start gap-x-2">{t("data-source.ssl.connection-security")}{onOpenInfoPanel && hasSslInfo && (- <button+ <Buttontype="button"- aria-label={t("instance.authentication")}- className="inline-flex cursor-pointer items-center gap-x-0.5 text-accent text-xs"+ appearance="link"+ size="xs"+ className="w-6 shrink-0 p-0"+ aria-label={t("data-source.ssl.connection-security")}onClick={() => onOpenInfoPanel("ssl")}><Info className="size-3.5" />- </button>+ </Button>)}</span>}@@ -2264,13 +2269,16 @@ export function DataSourceForm({<span className="flex flex-row items-center gap-x-1">{t("data-source.ssh-connection")}{onOpenInfoPanel && hasSshInfo && (- <button+ <Buttontype="button"- className="inline-flex cursor-pointer items-center gap-x-0.5 text-accent text-xs"+ appearance="link"+ size="xs"+ className="w-6 shrink-0 p-0"+ aria-label={t("data-source.ssh-connection")}onClick={() => onOpenInfoPanel("ssh")}><Info className="size-3.5" />- </button>+ </Button>)}</span>}diff --git a/frontend/src/components/instance/InfoPanel.tsx b/frontend/src/components/instance/InfoPanel.tsxindex e220db5f46..d55d242dbb 100644--- a/frontend/src/components/instance/InfoPanel.tsx+++ b/frontend/src/components/instance/InfoPanel.tsx@@ -143,7 +143,7 @@ export function InfoPanelContent({ engine, section }: InfoPanelContentProps) {{snippet.codeBlock && (<div className="flex flex-col gap-y-1"><div className="flex flex-row">- <pre className="flex-1 min-w-0 w-full px-3 py-2 border border-control-border bg-control-bg whitespace-pre-line rounded-l-xs overflow-x-auto text-[12px]">+ <pre className="flex-1 min-w-0 w-full px-3 py-2 border border-control-border bg-control-bg whitespace-pre-line rounded-l-xs overflow-x-auto text-xs"><code>{snippet.codeBlock.code}</code></pre><div className="flex items-center -ml-px px-2 py-2 border border-control-border text-sm font-medium text-control-light bg-control-bg hover:bg-control-bg-hover rounded-r-xs">diff --git a/frontend/src/components/instance/InstanceDashboard.tsx b/frontend/src/components/instance/InstanceDashboard.tsxindex e16cb415d3..00483a8132 100644--- a/frontend/src/components/instance/InstanceDashboard.tsx+++ b/frontend/src/components/instance/InstanceDashboard.tsx@@ -996,7 +996,7 @@ export function InstanceDashboard({type="button"appearance="secondary"size="xs"- className="size-5 shrink-0 p-0"+ className="w-6 shrink-0 p-0"onClick={(e) => {e.stopPropagation();toggleDataSource(instance.name);diff --git a/frontend/src/components/instance/InstanceDetailView.tsx b/frontend/src/components/instance/InstanceDetailView.tsxindex 2b3e6c89be..86341d0cc4 100644--- a/frontend/src/components/instance/InstanceDetailView.tsx+++ b/frontend/src/components/instance/InstanceDetailView.tsx@@ -567,7 +567,7 @@ export function InstanceDetailView({<div className="p-4 flex flex-col gap-y-2">{/* Archive banner */}{instance.state === State.DELETED && (- <div className="bg-gray-700 text-white text-center py-2 rounded-sm text-sm font-medium">+ <div className="bg-main-hover text-main-text text-center py-2 rounded-sm text-sm font-medium">{t("common.archived")}</div>)}diff --git a/frontend/src/components/instance/InstanceFormBody.test.ts b/frontend/src/components/instance/InstanceFormBody.test.tsindex 02ff789590..42df9d7f56 100644--- a/frontend/src/components/instance/InstanceFormBody.test.ts+++ b/frontend/src/components/instance/InstanceFormBody.test.ts@@ -137,9 +137,7 @@ describe("InstanceFormBody", () => {"onOpenInfoPanel?: (section: InfoSection) => void");expect(source).toContain("onOpenInfoPanel={onOpenInfoPanel}");- expect(source).toContain(- 'className="inline-flex size-4 shrink-0 cursor-pointer items-center justify-center text-accent leading-none"'- );+ expect(source).toContain('aria-label={t("instance.sync-databases.self")}');expect(source).toContain('<Info className="size-3.5" />');expect(infoTriggerIndex).toBeGreaterThan(titleIndex);expect(infoTriggerIndex).toBeLessThan(descriptionIndex);diff --git a/frontend/src/components/instance/InstanceFormBody.tsx b/frontend/src/components/instance/InstanceFormBody.tsxindex b7585e7866..8debf020f2 100644--- a/frontend/src/components/instance/InstanceFormBody.tsx+++ b/frontend/src/components/instance/InstanceFormBody.tsx@@ -39,6 +39,7 @@ import { Input } from "@/components/ui/input";import { RadioGroup, RadioGroupItem } from "@/components/ui/radio-group";import { SegmentedControl } from "@/components/ui/segmented-control";import { Switch } from "@/components/ui/switch";+import { cn } from "@/lib/utils";import { pushNotification } from "@/stores";import { useAppStore } from "@/stores/app";import {@@ -109,13 +110,15 @@ function GCPEndpointInput({if (!allowEdit) return null;return (<div className="col-span-2">- <button+ <Buttontype="button"- className="text-sm normal-link"+ appearance="link"+ size="xs"+ className="h-auto p-0 text-sm"onClick={() => setExpanded(true)}>{t("instance.gcp-endpoint-toggle")}- </button>+ </Button></div>);}@@ -324,14 +327,17 @@ function InstanceEngineRadioGrid({return (<div className="w-full grid grid-cols-2 sm:grid-cols-[repeat(auto-fit,minmax(170px,1fr))] gap-2">{engineList.map((eng) => (- <button+ <Buttonkey={eng}type="button"- className={`flex items-center gap-x-2 rounded-sm border px-3 py-2 text-sm text-left transition-colors ${+ appearance="outline"+ size="lg"+ className={cn(+ "h-auto justify-start rounded-sm px-3 py-2 text-left",eng === engine? "border-accent bg-accent/5 ring-1 ring-accent"- : "border-control-border hover:border-accent/50 hover:bg-control-bg"- }`}+ : "hover:border-accent/50 hover:bg-control-bg"+ )}onClick={() => onEngineChange(eng)}><EngineIcon engine={eng} className="size-5" />@@ -341,7 +347,7 @@ function InstanceEngineRadioGrid({Beta</span>)}- </button>+ </Button>))}</div>);@@ -605,13 +611,16 @@ function SyncDatabases({<span className="flex items-center gap-x-1">{t("instance.sync-databases.self")}{onOpenInfoPanel && (- <button+ <Buttontype="button"- className="inline-flex size-4 shrink-0 cursor-pointer items-center justify-center text-accent leading-none"+ appearance="link"+ size="xs"+ className="w-6 shrink-0 p-0"+ aria-label={t("instance.sync-databases.self")}onClick={() => onOpenInfoPanel("sync-databases")}><Info className="size-3.5" />- </button>+ </Button>)}</span>) : undefined@@ -1360,8 +1369,12 @@ export function InstanceFormBody({ onOpenInfoPanel }: InstanceFormBodyProps) {: t("instance.external-link")}</FormLabel>{(basicInfo.externalLink ?? "").trim().length > 0 && (- <button- className="ml-1 btn-icon"+ <Button+ type="button"+ appearance="secondary"+ size="xs"+ className="ml-1 w-6 p-0"+ aria-label={t("instance.external-link")}onClick={(e) => {e.preventDefault();window.open(@@ -1371,7 +1384,7 @@ export function InstanceFormBody({ onOpenInfoPanel }: InstanceFormBodyProps) {}}><ExternalLink className="size-4" />- </button>+ </Button>)}</div>}diff --git a/frontend/src/components/revision/RevisionDetailPanel.tsx b/frontend/src/components/revision/RevisionDetailPanel.tsxindex cee59632aa..44d093967d 100644--- a/frontend/src/components/revision/RevisionDetailPanel.tsx+++ b/frontend/src/components/revision/RevisionDetailPanel.tsx@@ -121,7 +121,7 @@ export function RevisionDetailPanel({if (loading) {return (- <div className="flex items-center justify-center py-2 text-sm text-gray-400">+ <div className="flex items-center justify-center py-2 text-sm text-control-placeholder"><LoaderCircle className="h-4 w-4 animate-spin" /></div>);@@ -177,7 +177,7 @@ export function RevisionDetailPanel({{withheld && !statement ? (<Alert variant="info" description={withheldMessage} />) : (- <div className="overflow-hidden rounded-sm border border-control-border bg-white">+ <div className="overflow-hidden rounded-sm border border-control-border bg-background"><ReadonlyMonacocontent={statement}className="relative h-auto max-h-[600px] min-h-[120px]"diff --git a/frontend/src/components/sql-review/Panels.tsx b/frontend/src/components/sql-review/Panels.tsxindex ea9f921517..f92df4cb16 100644--- a/frontend/src/components/sql-review/Panels.tsx+++ b/frontend/src/components/sql-review/Panels.tsx@@ -245,7 +245,7 @@ function RuleSelectList({const visibleRuleList = useProgressiveRuleList(ruleList);return (- <div className="space-y-4">+ <div className="flex flex-col gap-y-4">{visibleRuleList.map((category) => (<div key={category.value}><div className="flex my-3 items-center">diff --git a/frontend/src/components/sql-review/TabsByEngine.tsx b/frontend/src/components/sql-review/TabsByEngine.tsxindex 86489cce83..2472421b0f 100644--- a/frontend/src/components/sql-review/TabsByEngine.tsx+++ b/frontend/src/components/sql-review/TabsByEngine.tsx@@ -93,7 +93,7 @@ export function TabsByEngine({{engineParts(engine).subtitle}</span>)}- <span className="text-xs px-1 py-0.5 rounded-full bg-gray-200 text-gray-800 ml-1">+ <span className="text-xs px-1 py-0.5 rounded-full bg-control-bg-hover text-main ml-1">{ruleMap.size}</span></div>diff --git a/frontend/src/modules/agent/components/ToolCallCard.tsx b/frontend/src/modules/agent/components/ToolCallCard.tsxindex 636eaf3127..2d0715a038 100644--- a/frontend/src/modules/agent/components/ToolCallCard.tsx+++ b/frontend/src/modules/agent/components/ToolCallCard.tsx@@ -177,7 +177,7 @@ export function ToolCallCard({ toolCall, result }: Props) {{t("agent.tool-response-submitted")}</span>) : (- <span className="text-amber-600">{t("agent.tool-ask-user")}</span>+ <span className="text-warning">{t("agent.tool-ask-user")}</span>);}if (isDone) {diff --git a/frontend/src/modules/ai/components/ActionBar.tsx b/frontend/src/modules/ai/components/ActionBar.tsxindex f9ff0a9bfd..00caad73bc 100644--- a/frontend/src/modules/ai/components/ActionBar.tsx+++ b/frontend/src/modules/ai/components/ActionBar.tsx@@ -26,7 +26,6 @@ export function ActionBar() {<Buttonappearance="secondary"size="sm"- className="h-7 px-1.5"onClick={() => setShowHistoryDialog(true)}aria-label={t("plugin.ai.conversation.view-history-conversations")}>@@ -40,7 +39,6 @@ export function ActionBar() {<Buttonappearance="secondary"size="sm"- className="h-7 px-1.5"onClick={() => events.emit("new-conversation", { input: "" })}aria-label={t("plugin.ai.conversation.new-conversation")}>diff --git a/frontend/src/modules/ai/components/DynamicSuggestions.tsx b/frontend/src/modules/ai/components/DynamicSuggestions.tsxindex 05a2774fe4..8399346c8d 100644--- a/frontend/src/modules/ai/components/DynamicSuggestions.tsx+++ b/frontend/src/modules/ai/components/DynamicSuggestions.tsx@@ -129,7 +129,7 @@ export function DynamicSuggestions({ onEnter }: Props) {className="flex-1 overflow-hidden h-[22px]"onClick={handleConsume}>- <span className="w-full truncate leading-[22px]">{current}</span>+ <span className="w-full truncate leading-5">{current}</span></Button>)}diff --git a/frontend/src/modules/ai/components/HistoryPanel/ConversationList.tsx b/frontend/src/modules/ai/components/HistoryPanel/ConversationList.tsxindex 6c3e219208..246d3bf43d 100644--- a/frontend/src/modules/ai/components/HistoryPanel/ConversationList.tsx+++ b/frontend/src/modules/ai/components/HistoryPanel/ConversationList.tsx@@ -128,7 +128,7 @@ export function ConversationList() {key={conversation.id}data-conversation-id={conversation.id}className={cn(- "flex items-start gap-x-0.5 border rounded-xs py-2 pl-2 pr-0.5 hover:bg-control-bg hover:border-accent cursor-pointer",+ "flex items-start gap-x-1 border rounded-xs py-2 pl-2 pr-0.5 hover:bg-control-bg hover:border-accent cursor-pointer",isActive && "bg-accent/10 border-accent",isRenaming && "cursor-default")}diff --git a/frontend/src/modules/schema-diagram/SchemaDiagram.tsx b/frontend/src/modules/schema-diagram/SchemaDiagram.tsxindex 0cebe77dab..0cc0630cae 100644--- a/frontend/src/modules/schema-diagram/SchemaDiagram.tsx+++ b/frontend/src/modules/schema-diagram/SchemaDiagram.tsx@@ -219,7 +219,7 @@ function Body({ databaseName, onEditTable, onEditColumn }: BodyProps) {{(busy || !initialized) && (<div- className="absolute inset-0 bg-white/40 flex items-center justify-center pointer-events-none"+ className="absolute inset-0 bg-background/40 flex items-center justify-center pointer-events-none"data-screenshot-hide><LoaderCircle className="size-6 text-accent animate-spin" />diff --git a/frontend/src/modules/schema-editor/Aside/AsideTree.tsx b/frontend/src/modules/schema-editor/Aside/AsideTree.tsxindex 3e08f2763b..feac0462df 100644--- a/frontend/src/modules/schema-editor/Aside/AsideTree.tsx+++ b/frontend/src/modules/schema-editor/Aside/AsideTree.tsx@@ -734,7 +734,7 @@ function StatusBadge({ status }: { status: EditStatus }) {: "destructive";const letter = status === "created" ? "+" : status === "updated" ? "~" : "−";return (- <Badge variant={variant} className="ml-1 h-4 px-1 text-[10px] leading-none">+ <Badge variant={variant} className="ml-1 h-4 px-1 text-xs leading-none">{letter}</Badge>);diff --git a/frontend/src/modules/schema-editor/Panels/IndexesEditor/IndexesEditor.tsx b/frontend/src/modules/schema-editor/Panels/IndexesEditor/IndexesEditor.tsxindex 818c0ebad6..641cf72a1f 100644--- a/frontend/src/modules/schema-editor/Panels/IndexesEditor/IndexesEditor.tsx+++ b/frontend/src/modules/schema-editor/Panels/IndexesEditor/IndexesEditor.tsx@@ -146,7 +146,7 @@ export function IndexesEditor({<Buttonappearance="secondary"size="sm"- className="size-7 p-0 text-error hover:text-error"+ className="w-7 p-0 text-error hover:text-error"onClick={() => handleDropIndex(index)}><Trash2 className="size-3.5" />diff --git a/frontend/src/modules/schema-editor/Panels/PartitionsEditor/PartitionsEditor.tsx b/frontend/src/modules/schema-editor/Panels/PartitionsEditor/PartitionsEditor.tsxindex adfddf3478..d5cb2acb24 100644--- a/frontend/src/modules/schema-editor/Panels/PartitionsEditor/PartitionsEditor.tsx+++ b/frontend/src/modules/schema-editor/Panels/PartitionsEditor/PartitionsEditor.tsx@@ -168,7 +168,7 @@ export function PartitionsEditor({<Buttonappearance="secondary"size="sm"- className="size-7 p-0"+ className="w-7 p-0"onClick={() => handleRestorePartition(partition)}><RotateCcw className="size-3.5" />@@ -177,7 +177,7 @@ export function PartitionsEditor({<Buttonappearance="secondary"size="sm"- className="size-7 p-0 text-error hover:text-error"+ className="w-7 p-0 text-error hover:text-error"onClick={() => handleDropPartition(partition)}><Trash2 className="size-3.5" />diff --git a/frontend/src/modules/schema-editor/Panels/TableColumnEditor/TableColumnEditor.tsx b/frontend/src/modules/schema-editor/Panels/TableColumnEditor/TableColumnEditor.tsxindex f883aacf9a..a66f2f887e 100644--- a/frontend/src/modules/schema-editor/Panels/TableColumnEditor/TableColumnEditor.tsx+++ b/frontend/src/modules/schema-editor/Panels/TableColumnEditor/TableColumnEditor.tsx@@ -419,7 +419,7 @@ export function TableColumnEditor({<Buttonappearance="secondary"size="sm"- className="size-7 p-0"+ className="w-7 p-0"onClick={() => handleRestoreColumn(column)}><RotateCcw className="size-3.5" />@@ -428,7 +428,7 @@ export function TableColumnEditor({<Buttonappearance="secondary"size="sm"- className="size-7 p-0 text-control-light hover:bg-error/10 hover:text-error"+ className="w-7 p-0 text-control-light hover:bg-error/10 hover:text-error"disabled={disableChangeTable}onClick={() => handleDropColumn(column)}>diff --git a/frontend/src/modules/schema-editor/Panels/TableList/TableList.tsx b/frontend/src/modules/schema-editor/Panels/TableList/TableList.tsxindex 51315f5889..fe0553d782 100644--- a/frontend/src/modules/schema-editor/Panels/TableList/TableList.tsx+++ b/frontend/src/modules/schema-editor/Panels/TableList/TableList.tsx@@ -233,7 +233,7 @@ export function TableList({<Buttonappearance="secondary"size="sm"- className="size-7 p-0"+ className="w-7 p-0"onClick={(e) => {e.stopPropagation();handleRestore(table);@@ -245,7 +245,7 @@ export function TableList({<Buttonappearance="secondary"size="sm"- className="size-7 p-0 text-error hover:text-error"+ className="w-7 p-0 text-error hover:text-error"onClick={(e) => {e.stopPropagation();handleDrop(table);diff --git a/frontend/src/modules/sql-editor/components/AccessGrantItem.tsx b/frontend/src/modules/sql-editor/components/AccessGrantItem.tsxindex 613fbbf32c..12469d7f08 100644--- a/frontend/src/modules/sql-editor/components/AccessGrantItem.tsx+++ b/frontend/src/modules/sql-editor/components/AccessGrantItem.tsx@@ -121,14 +121,14 @@ export function AccessGrantItem({<div className="flex items-center gap-x-1 shrink-0"><Badgevariant={badgeVariant}- className="text-[10px] px-1.5 py-0 rounded-full"+ className="text-xs px-1.5 py-0 rounded-full">{statusLabel}</Badge>{grant.unmask && (<Badgevariant="default"- className="text-[10px] px-1.5 py-0 rounded-full"+ className="text-xs px-1.5 py-0 rounded-full">{t("sql-editor.grant-type-unmask")}</Badge>@@ -136,7 +136,7 @@ export function AccessGrantItem({{grant.export && (<Badgevariant="default"- className="text-[10px] px-1.5 py-0 rounded-full"+ className="text-xs px-1.5 py-0 rounded-full">{t("sql-editor.grant-type-export")}</Badge>@@ -194,9 +194,8 @@ export function AccessGrantItem({<div>{isActive && (<Button- size="sm"+ size="xs"variant="default"- className="h-6 text-xs"data-run-btnonClick={(e) => {e.stopPropagation();@@ -211,8 +210,7 @@ export function AccessGrantItem({{isRejectedOrCanceled && (<Buttonappearance="secondary"- size="sm"- className="h-6 text-xs"+ size="xs"data-re-request-btnonClick={(e) => {e.stopPropagation();diff --git a/frontend/src/modules/sql-editor/components/AdminModeButton.tsx b/frontend/src/modules/sql-editor/components/AdminModeButton.tsxindex dbdd8a4bff..34ff93d80d 100644--- a/frontend/src/modules/sql-editor/components/AdminModeButton.tsx+++ b/frontend/src/modules/sql-editor/components/AdminModeButton.tsx@@ -23,7 +23,7 @@ type AdminModeButtonProps = {* in SAVED_QUERY mode. Clicking switches the tab to ADMIN mode.*/export function AdminModeButton({- size = "default",+ size = "sm",hideText = false,onEnter,}: AdminModeButtonProps) {@@ -54,7 +54,7 @@ export function AdminModeButton({disabled={isDisconnected}onClick={handleClick}className={cn(- "h-7 px-1.5 gap-1",+ "gap-1","border-warning text-warning hover:bg-warning/5 hover:text-warning")}>diff --git a/frontend/src/modules/sql-editor/components/AsidePanel/ActionBarTabItem.tsx b/frontend/src/modules/sql-editor/components/AsidePanel/ActionBarTabItem.tsxindex 6dfcf1be76..199177f196 100644--- a/frontend/src/modules/sql-editor/components/AsidePanel/ActionBarTabItem.tsx+++ b/frontend/src/modules/sql-editor/components/AsidePanel/ActionBarTabItem.tsx@@ -49,7 +49,7 @@ export function ActionBarTabItem({ action, disabled }: Props) {disabled={disabled}onClick={handleClick}className={cn(- "h-8 w-9 px-1 flex items-center justify-center",+ "w-9 px-1 flex items-center justify-center",active && "bg-accent/10 text-accent hover:bg-accent/15")}>diff --git a/frontend/src/modules/sql-editor/components/ConnectionChooserButton.tsx b/frontend/src/modules/sql-editor/components/ConnectionChooserButton.tsxindex 0a71ddb86d..51ffbdc39f 100644--- a/frontend/src/modules/sql-editor/components/ConnectionChooserButton.tsx+++ b/frontend/src/modules/sql-editor/components/ConnectionChooserButton.tsx@@ -18,8 +18,9 @@ export function ConnectionChooserButton({<Buttontype="button"appearance="outline"+ size="sm"className={cn(- "h-8 justify-end gap-1 px-2",+ "justify-end gap-1 px-2","border-accent text-accent hover:bg-accent/5 focus:bg-accent/5",// Joined group: square inner edges, only the group's outer corners// round, and inner borders collapse so adjacent segments share one.diff --git a/frontend/src/modules/sql-editor/components/ConnectionPanel.tsx b/frontend/src/modules/sql-editor/components/ConnectionPanel.tsxindex e9ff267cf6..b4937c9684 100644--- a/frontend/src/modules/sql-editor/components/ConnectionPanel.tsx+++ b/frontend/src/modules/sql-editor/components/ConnectionPanel.tsx@@ -75,7 +75,7 @@ export function ConnectionPanel() {<Buttonappearance="secondary"size="sm"- className={cn("size-7 p-1")}+ className={cn("w-7 p-1")}aria-label={t("sql-editor.manage-connections")}// Match Vue: just navigate. The route change unmounts// the SQL editor; pre-closing the drawer added andiff --git a/frontend/src/modules/sql-editor/components/EditorAction.tsx b/frontend/src/modules/sql-editor/components/EditorAction.tsxindex ae88091b7a..33d0848fb6 100644--- a/frontend/src/modules/sql-editor/components/EditorAction.tsx+++ b/frontend/src/modules/sql-editor/components/EditorAction.tsx@@ -152,7 +152,8 @@ export function EditorAction({ onExecute }: Props) {{isAdminMode && (<Buttonappearance="outline"- className="h-8 px-1.5 gap-1 border-dashed text-sm"+ size="md"+ className="gap-1 border-dashed"onClick={(e) => {e.stopPropagation();exitAdminMode();@@ -195,7 +196,6 @@ export function EditorAction({ onExecute }: Props) {<Buttonappearance="outline"size="sm"- className="h-7 px-1.5"disabled={!allowSave}onClick={handleClickSave}aria-label={t("common.save")}@@ -217,7 +217,6 @@ export function EditorAction({ onExecute }: Props) {<Buttonappearance="outline"size="sm"- className="h-7 px-1.5"disabled={!allowShare}aria-label={t("common.share")}>diff --git a/frontend/src/modules/sql-editor/components/HistoryPane.tsx b/frontend/src/modules/sql-editor/components/HistoryPane.tsxindex afe99eb8ff..5550fbf038 100644--- a/frontend/src/modules/sql-editor/components/HistoryPane.tsx+++ b/frontend/src/modules/sql-editor/components/HistoryPane.tsx@@ -209,8 +209,8 @@ export function HistoryPane() {<div className="flex items-center gap-x-1"><Buttonappearance="secondary"- size="sm"- className="h-6 w-6 p-0 hover:bg-control-bg-hover"+ size="xs"+ className="w-6 p-0 hover:bg-control-bg-hover"data-copy-link-btnonClick={(e) => {e.stopPropagation();@@ -225,8 +225,8 @@ export function HistoryPane() {</Button><Buttonappearance="secondary"- size="sm"- className="h-6 w-6 p-0 hover:bg-control-bg-hover"+ size="xs"+ className="w-6 p-0 hover:bg-control-bg-hover"data-copy-btnonClick={(e) => {e.stopPropagation();@@ -268,8 +268,8 @@ export function HistoryPane() {</div><Buttonappearance="secondary"- size="sm"- className="h-5 w-5 p-0 text-accent hover:bg-accent/10 hover:text-accent"+ size="xs"+ className="w-6 p-0 text-accent hover:bg-accent/10 hover:text-accent"data-dismiss-linked-historyonClick={() => setLinkedQueryHistory(undefined)}aria-label={t("common.close")}diff --git a/frontend/src/modules/sql-editor/components/MaskingReasonPopover.tsx b/frontend/src/modules/sql-editor/components/MaskingReasonPopover.tsxindex fdd0b7f657..362fb20ad3 100644--- a/frontend/src/modules/sql-editor/components/MaskingReasonPopover.tsx+++ b/frontend/src/modules/sql-editor/components/MaskingReasonPopover.tsx@@ -73,7 +73,7 @@ export function MaskingReasonPopover({nativeButton={false}render={<div- className="inline-flex items-center gap-0.5 cursor-pointer"+ className="inline-flex items-center gap-1 cursor-pointer"onClick={stopResultTableEvent}onPointerDown={stopResultTableEvent}>diff --git a/frontend/src/modules/sql-editor/components/Panels/ExternalTablesPanel/ExternalTablesPanel.tsx b/frontend/src/modules/sql-editor/components/Panels/ExternalTablesPanel/ExternalTablesPanel.tsxindex ca840cdcb4..cf417c7a58 100644--- a/frontend/src/modules/sql-editor/components/Panels/ExternalTablesPanel/ExternalTablesPanel.tsx+++ b/frontend/src/modules/sql-editor/components/Panels/ExternalTablesPanel/ExternalTablesPanel.tsx@@ -62,7 +62,8 @@ export function ExternalTablesPanel() {<div className="w-full h-9 flex flex-row gap-x-2 justify-between items-center"><Buttonappearance="secondary"- className="h-8 px-1 text-sm"+ size="md"+ className="px-1"onClick={() => clearDetail()}><ChevronLeft className="size-5" />diff --git a/frontend/src/modules/sql-editor/components/Panels/FunctionsPanel/FunctionsPanel.tsx b/frontend/src/modules/sql-editor/components/Panels/FunctionsPanel/FunctionsPanel.tsxindex 90038154af..2e86dedb4c 100644--- a/frontend/src/modules/sql-editor/components/Panels/FunctionsPanel/FunctionsPanel.tsx+++ b/frontend/src/modules/sql-editor/components/Panels/FunctionsPanel/FunctionsPanel.tsx@@ -44,7 +44,8 @@ export function FunctionsPanel() {titlePrefix={<Buttonappearance="secondary"- className="h-8 px-1 text-sm"+ size="md"+ className="px-1"onClick={() => clearDetail()}><ChevronLeft className="size-5" />diff --git a/frontend/src/modules/sql-editor/components/Panels/PackagesPanel/PackagesPanel.tsx b/frontend/src/modules/sql-editor/components/Panels/PackagesPanel/PackagesPanel.tsxindex 2294684b80..69c9c49a68 100644--- a/frontend/src/modules/sql-editor/components/Panels/PackagesPanel/PackagesPanel.tsx+++ b/frontend/src/modules/sql-editor/components/Panels/PackagesPanel/PackagesPanel.tsx@@ -46,7 +46,8 @@ export function PackagesPanel() {titlePrefix={<Buttonappearance="secondary"- className="h-8 px-1 text-sm"+ size="md"+ className="px-1"onClick={() => clearDetail()}><ChevronLeft className="size-5" />diff --git a/frontend/src/modules/sql-editor/components/Panels/ProceduresPanel/ProceduresPanel.tsx b/frontend/src/modules/sql-editor/components/Panels/ProceduresPanel/ProceduresPanel.tsxindex 82562b42f8..3324a23024 100644--- a/frontend/src/modules/sql-editor/components/Panels/ProceduresPanel/ProceduresPanel.tsx+++ b/frontend/src/modules/sql-editor/components/Panels/ProceduresPanel/ProceduresPanel.tsx@@ -46,7 +46,8 @@ export function ProceduresPanel() {titlePrefix={<Buttonappearance="secondary"- className="h-8 px-1 text-sm"+ size="md"+ className="px-1"onClick={() => clearDetail()}><ChevronLeft className="size-5" />diff --git a/frontend/src/modules/sql-editor/components/Panels/TablesPanel/TableDetail.tsx b/frontend/src/modules/sql-editor/components/Panels/TablesPanel/TableDetail.tsxindex 6eca2fd71f..bdda615406 100644--- a/frontend/src/modules/sql-editor/components/Panels/TablesPanel/TableDetail.tsx+++ b/frontend/src/modules/sql-editor/components/Panels/TablesPanel/TableDetail.tsx@@ -133,7 +133,8 @@ export function TableDetail({ db, database, schema, table }: TableDetailProps) {titlePrefix={<Buttonappearance="secondary"- className="h-8 px-1 text-sm"+ size="md"+ className="px-1"onClick={deselectTrigger}><ChevronLeft className="size-5" />@@ -155,7 +156,8 @@ export function TableDetail({ db, database, schema, table }: TableDetailProps) {<div className="flex items-center gap-x-3 min-w-0"><Buttonappearance="secondary"- className="h-8 px-1 text-sm shrink-0"+ size="md"+ className="px-1 shrink-0"onClick={() => clearDetail()}><ChevronLeft className="size-5" />diff --git a/frontend/src/modules/sql-editor/components/Panels/TriggersPanel/TriggersPanel.tsx b/frontend/src/modules/sql-editor/components/Panels/TriggersPanel/TriggersPanel.tsxindex 6593cd4198..162366fd18 100644--- a/frontend/src/modules/sql-editor/components/Panels/TriggersPanel/TriggersPanel.tsx+++ b/frontend/src/modules/sql-editor/components/Panels/TriggersPanel/TriggersPanel.tsx@@ -54,7 +54,8 @@ export function TriggersPanel() {titlePrefix={<Buttonappearance="secondary"- className="h-8 px-1 text-sm"+ size="md"+ className="px-1"onClick={() => clearDetail()}><ChevronLeft className="size-5" />diff --git a/frontend/src/modules/sql-editor/components/Panels/ViewsPanel/ViewDetail.tsx b/frontend/src/modules/sql-editor/components/Panels/ViewsPanel/ViewDetail.tsxindex 56e4c44ff7..356a25530c 100644--- a/frontend/src/modules/sql-editor/components/Panels/ViewsPanel/ViewDetail.tsx+++ b/frontend/src/modules/sql-editor/components/Panels/ViewsPanel/ViewDetail.tsx@@ -85,7 +85,8 @@ export function ViewDetail({ db, database, schema, view }: ViewDetailProps) {<div className="flex items-center gap-x-3 min-w-0"><Buttonappearance="secondary"- className="h-8 px-1 text-sm shrink-0"+ size="md"+ className="px-1 shrink-0"onClick={() => clearDetail()}><ChevronLeft className="size-5" />diff --git a/frontend/src/modules/sql-editor/components/Panels/common/CodeViewer.tsx b/frontend/src/modules/sql-editor/components/Panels/common/CodeViewer.tsxindex 652b912914..61575a7daf 100644--- a/frontend/src/modules/sql-editor/components/Panels/common/CodeViewer.tsx+++ b/frontend/src/modules/sql-editor/components/Panels/common/CodeViewer.tsx@@ -172,7 +172,8 @@ export function CodeViewer({{titlePrefix ?? (<Buttonappearance="secondary"- className="h-8 px-1 text-sm"+ size="md"+ className="px-1"onClick={onBack}><ChevronLeft className="size-5" />diff --git a/frontend/src/modules/sql-editor/components/ResultView/BinaryFormatButton.tsx b/frontend/src/modules/sql-editor/components/ResultView/BinaryFormatButton.tsxindex c773fb9a56..21d0b2d90a 100644--- a/frontend/src/modules/sql-editor/components/ResultView/BinaryFormatButton.tsx+++ b/frontend/src/modules/sql-editor/components/ResultView/BinaryFormatButton.tsx@@ -37,8 +37,8 @@ export function BinaryFormatButton({render={<Buttonappearance={hasOverride ? "solid" : "outline"}- size="sm"- className={cn("ml-1 size-5 rounded-full p-0")}+ size="xs"+ className={cn("ml-1 w-6 rounded-full p-0")}onClick={(e) => e.stopPropagation()}/>}diff --git a/frontend/src/modules/sql-editor/components/ResultView/DataExplorerResultView.tsx b/frontend/src/modules/sql-editor/components/ResultView/DataExplorerResultView.tsxindex e160db48d1..1054d58342 100644--- a/frontend/src/modules/sql-editor/components/ResultView/DataExplorerResultView.tsx+++ b/frontend/src/modules/sql-editor/components/ResultView/DataExplorerResultView.tsx@@ -175,7 +175,7 @@ export function DataExplorerResultView({<Buttonsize="sm"appearance="secondary"- className="size-7 p-0"+ className="w-7 p-0"aria-label={t("common.close")}onClick={search.clear}>diff --git a/frontend/src/modules/sql-editor/components/ResultView/DetailPanel.tsx b/frontend/src/modules/sql-editor/components/ResultView/DetailPanel.tsxindex 48302ad836..69f6ec134e 100644--- a/frontend/src/modules/sql-editor/components/ResultView/DetailPanel.tsx+++ b/frontend/src/modules/sql-editor/components/ResultView/DetailPanel.tsx@@ -407,7 +407,7 @@ export function DetailPanel({<Buttonsize="sm"appearance={format ? "solid" : "outline"}- className="h-7 px-1.5"+ className="px-1.5"onClick={() => setFormat(!format)}><BracesIcon className="size-4" />@@ -434,7 +434,7 @@ export function DetailPanel({<Buttonsize="sm"appearance="secondary"- className="size-7 p-0"+ className="w-7 p-0"onClick={handleCopy}>{copied ? (@@ -482,9 +482,9 @@ export function DetailPanel({<div className="absolute right-2 top-2 flex justify-end items-center gap-1"><Tooltip content={t("common.text-wrap")}><Button- size="sm"+ size="xs"appearance={wrap ? "solid" : "outline"}- className="h-6 px-1"+ className="px-1"onClick={() => setWrap(!wrap)}><WrapTextIcon className="size-3" />diff --git a/frontend/src/modules/sql-editor/components/ResultView/DocumentJSONView.tsx b/frontend/src/modules/sql-editor/components/ResultView/DocumentJSONView.tsxindex b8a23e54f8..47ada782fd 100644--- a/frontend/src/modules/sql-editor/components/ResultView/DocumentJSONView.tsx+++ b/frontend/src/modules/sql-editor/components/ResultView/DocumentJSONView.tsx@@ -272,7 +272,7 @@ export function DocumentJSONView({<Buttonsize="xs"appearance="outline"- className="size-6 bg-background p-0 shadow-sm"+ className="w-6 bg-background p-0 shadow-sm"aria-label={t("common.copy")}onClick={() => void handleCopyDocument(copyAction.documentIndex)}>diff --git a/frontend/src/modules/sql-editor/components/ResultView/SingleResultView.test.tsx b/frontend/src/modules/sql-editor/components/ResultView/SingleResultView.test.tsxindex a882106fae..4e14211fd9 100644--- a/frontend/src/modules/sql-editor/components/ResultView/SingleResultView.test.tsx+++ b/frontend/src/modules/sql-editor/components/ResultView/SingleResultView.test.tsx@@ -346,11 +346,6 @@ describe("SingleResultView document view", () => {expect(screen.getByText("sql-editor.table-view")).toBeInTheDocument();expect(screen.getByText("sql-editor.json-view")).toBeInTheDocument();- expect(- screen.getByRole("radiogroup", {- name: "sql-editor.result-view-mode",- })- ).toHaveClass("h-7");expect(screen.getByText("sql-editor.json-view").closest("label")).toHaveClass("bg-accent/10", "text-accent");diff --git a/frontend/src/modules/sql-editor/components/ResultView/SingleResultView.tsx b/frontend/src/modules/sql-editor/components/ResultView/SingleResultView.tsxindex 032e7898f8..2689541754 100644--- a/frontend/src/modules/sql-editor/components/ResultView/SingleResultView.tsx+++ b/frontend/src/modules/sql-editor/components/ResultView/SingleResultView.tsx@@ -549,7 +549,7 @@ function SingleResultViewInner({onValueChange={setDocumentViewMode}ariaLabel={t("sql-editor.result-view-mode")}appearance="soft"- className="h-7 flex-nowrap"+ className="flex-nowrap"size="xs"/>) : supportsTableViewToggle ? (@@ -575,7 +575,7 @@ function SingleResultViewInner({<Buttonsize="sm"appearance="outline"- className="h-7 px-2 text-control border-control-border hover:bg-control-bg-hover"+ className="px-2 text-control border-control-border hover:bg-control-bg-hover"onClick={handleCopyJSON}><CopyIcon className="size-4" />@@ -677,7 +677,7 @@ function SingleResultViewInner({<Buttonsize="sm"appearance="secondary"- className="size-7 p-0"+ className="w-7 p-0"onClick={clearSearchCandidate}><XIcon className="size-4" />@@ -689,9 +689,9 @@ function SingleResultViewInner({<Tooltip content={t("sql-editor.scroll-to-top")}><div className="rounded-full shadow bg-background"><Button- size="sm"+ size="md"appearance="secondary"- className="size-9 p-0 rounded-full"+ className="w-9 p-0 rounded-full"onClick={() => scrollToRow(0)}><ArrowUpIcon className="size-4" />@@ -701,9 +701,9 @@ function SingleResultViewInner({<Tooltip content={t("sql-editor.scroll-to-bottom")}><div className="rounded-full shadow bg-background"><Button- size="sm"+ size="md"appearance="secondary"- className="size-9 p-0 rounded-full"+ className="w-9 p-0 rounded-full"onClick={() => scrollToRow(rows.length - 1)}><ArrowDownIcon className="size-4" />diff --git a/frontend/src/modules/sql-editor/components/ResultView/TableCell.tsx b/frontend/src/modules/sql-editor/components/ResultView/TableCell.tsxindex a497688967..183bf99a7a 100644--- a/frontend/src/modules/sql-editor/components/ResultView/TableCell.tsx+++ b/frontend/src/modules/sql-editor/components/ResultView/TableCell.tsx@@ -149,9 +149,9 @@ export function TableCell({)}{clickable && showDetailAction && (<Button- size="sm"+ size="xs"appearance="outline"- className="size-6 p-0 rounded-full shadow opacity-90 hover:opacity-100"+ className="w-6 p-0 rounded-full shadow opacity-90 hover:opacity-100"onClick={(e) => {e.stopPropagation();showDetail();diff --git a/frontend/src/modules/sql-editor/components/ResultView/TextSearchControl.tsx b/frontend/src/modules/sql-editor/components/ResultView/TextSearchControl.tsxindex 25c21c1bc5..d569989a38 100644--- a/frontend/src/modules/sql-editor/components/ResultView/TextSearchControl.tsx+++ b/frontend/src/modules/sql-editor/components/ResultView/TextSearchControl.tsx@@ -86,7 +86,7 @@ export function TextSearchControl({<Buttonsize="sm"appearance="secondary"- className="size-7 p-0"+ className="w-7 p-0"aria-label={t("sql-editor.result-detail.previous-match")}disabled={matchCount === 0}onClick={() => onMove(-1)}@@ -98,7 +98,7 @@ export function TextSearchControl({<Buttonsize="sm"appearance="secondary"- className="size-7 p-0"+ className="w-7 p-0"aria-label={t("sql-editor.result-detail.next-match")}disabled={matchCount === 0}onClick={() => onMove(1)}@@ -110,7 +110,7 @@ export function TextSearchControl({<Buttonsize="sm"appearance="secondary"- className="size-7 border-l border-control-border p-0"+ className="w-7 border-l border-control-border p-0"aria-label={t("common.close")}onClick={() => {onQueryChange("");diff --git a/frontend/src/modules/sql-editor/components/ResultView/VirtualDataBlock.tsx b/frontend/src/modules/sql-editor/components/ResultView/VirtualDataBlock.tsxindex 210d93b260..3521be984b 100644--- a/frontend/src/modules/sql-editor/components/ResultView/VirtualDataBlock.tsx+++ b/frontend/src/modules/sql-editor/components/ResultView/VirtualDataBlock.tsx@@ -221,7 +221,7 @@ function CopyJSONButton({size="sm"appearance="secondary"aria-label={label}- className="size-7 p-0"+ className="w-7 p-0"onClick={handleCopy}>{copied ? (diff --git a/frontend/src/modules/sql-editor/components/SchemaPane/FlatTableList.tsx b/frontend/src/modules/sql-editor/components/SchemaPane/FlatTableList.tsxindex 4531d4fa65..06c70cabf4 100644--- a/frontend/src/modules/sql-editor/components/SchemaPane/FlatTableList.tsx+++ b/frontend/src/modules/sql-editor/components/SchemaPane/FlatTableList.tsx@@ -178,7 +178,7 @@ export function FlatTableList({type="button"appearance="secondary"size="xs"- className="size-5"+ className="w-6"onClick={(e) => {e.stopPropagation();setExpanded((prev) => {diff --git a/frontend/src/modules/sql-editor/components/SchemaPane/HoverPanel/InfoItem.tsx b/frontend/src/modules/sql-editor/components/SchemaPane/HoverPanel/InfoItem.tsxindex d1d9566c3c..c43af3542f 100644--- a/frontend/src/modules/sql-editor/components/SchemaPane/HoverPanel/InfoItem.tsx+++ b/frontend/src/modules/sql-editor/components/SchemaPane/HoverPanel/InfoItem.tsx@@ -23,7 +23,7 @@ export function InfoItem({ title, titleSlot, children }: Props) {{titleSlot ?? title}</div><div className="text-right flex items-center justify-end min-w-0">- <span className="truncate flex items-center leading-[20px] h-[20px]">+ <span className="truncate flex h-5 items-center leading-5">{children}</span></div>diff --git a/frontend/src/modules/sql-editor/components/SchemaPane/HoverPanel/TableInfo.tsx b/frontend/src/modules/sql-editor/components/SchemaPane/HoverPanel/TableInfo.tsxindex 1c5c68dc58..a5479d953a 100644--- a/frontend/src/modules/sql-editor/components/SchemaPane/HoverPanel/TableInfo.tsx+++ b/frontend/src/modules/sql-editor/components/SchemaPane/HoverPanel/TableInfo.tsx@@ -43,7 +43,7 @@ export function TableInfo({ database, schema, table }: Props) {<div className="min-w-56 max-w-[18rem] gap-y-1"><InfoItem title={t("common.name")}>{tableMetadata.name}</InfoItem><InfoItem title={t("database.engine")}>- <span className="flex items-center gap-x-0.5">+ <span className="flex items-center gap-x-1"><EngineIcon engine={instanceEngine} className="size-4" />{engineNameV1(instanceEngine)}</span>diff --git a/frontend/src/modules/sql-editor/components/SchemaPane/TreeNode/CheckNode.tsx b/frontend/src/modules/sql-editor/components/SchemaPane/TreeNode/CheckNode.tsxindex 06a08817d2..ff27285010 100644--- a/frontend/src/modules/sql-editor/components/SchemaPane/TreeNode/CheckNode.tsx+++ b/frontend/src/modules/sql-editor/components/SchemaPane/TreeNode/CheckNode.tsx@@ -38,7 +38,7 @@ export function CheckNode({ node, keyword }: Props) {suffix={checkMetadata?.expression ? (<div className="flex items-center justify-end gap-1 overflow-hidden whitespace-nowrap shrink opacity-80 font-normal!">- <span className="inline-flex items-center rounded-sm border border-control-border bg-control-bg/40 text-control h-4 px-[3px] text-[10px] leading-none">+ <span className="inline-flex items-center rounded-sm border border-control-border bg-control-bg/40 text-control h-4 px-[3px] text-xs leading-none">{checkMetadata.expression}</span></div>diff --git a/frontend/src/modules/sql-editor/components/SchemaPane/TreeNode/ColumnNode.tsx b/frontend/src/modules/sql-editor/components/SchemaPane/TreeNode/ColumnNode.tsxindex 6beb257de2..d0e7b30f55 100644--- a/frontend/src/modules/sql-editor/components/SchemaPane/TreeNode/ColumnNode.tsx+++ b/frontend/src/modules/sql-editor/components/SchemaPane/TreeNode/ColumnNode.tsx@@ -119,7 +119,7 @@ export function ColumnNode({ node, keyword }: Props) {suffix={columnMetadata?.type ? (<div className="flex items-center justify-end gap-1 overflow-hidden whitespace-nowrap shrink opacity-80 font-normal!">- <span className="inline-flex items-center rounded-sm border border-control-border bg-control-bg/40 text-control h-4 px-[3px] text-[10px] leading-none">+ <span className="inline-flex items-center rounded-sm border border-control-border bg-control-bg/40 text-control h-4 px-[3px] text-xs leading-none">{columnMetadata.type}</span></div>diff --git a/frontend/src/modules/sql-editor/components/SchemaPane/TreeNode/icons.tsx b/frontend/src/modules/sql-editor/components/SchemaPane/TreeNode/icons.tsxindex 7c338d56a8..65c8343e77 100644--- a/frontend/src/modules/sql-editor/components/SchemaPane/TreeNode/icons.tsx+++ b/frontend/src/modules/sql-editor/components/SchemaPane/TreeNode/icons.tsx@@ -74,12 +74,12 @@ export function SequenceIcon({ className }: IconProps) {return (<divclassName={cn(- "relative w-4 h-4 inline-flex items-center justify-center text-control-light",+ "relative h-4 w-5 inline-flex items-center justify-center text-control-light",className)}>- <div className="border-y border-current w-3.5 h-3 inline-flex items-center justify-center text-[7px] overflow-visible whitespace-nowrap font-semibold">- <span className="leading-3">123</span>+ <div className="inline-flex h-4 w-5 items-center justify-center border-y border-current overflow-visible whitespace-nowrap text-xs font-semibold leading-4">+ <span>123</span></div></div>);diff --git a/frontend/src/modules/sql-editor/components/TabItem.tsx b/frontend/src/modules/sql-editor/components/TabItem.tsxindex 8036e87a8e..837aa3f01a 100644--- a/frontend/src/modules/sql-editor/components/TabItem.tsx+++ b/frontend/src/modules/sql-editor/components/TabItem.tsx@@ -41,8 +41,9 @@ export function TabItem({ tab, onClick }: TabItemProps) {<Tooltip content={label} side="right" delayDuration={300}><Buttonappearance="secondary"+ size="lg"className={cn(- "size-10 p-0",+ "w-10 p-0",// Active is a solid accent fill with the on-accent text color; hover// is a faint accent tint. Both keyed off the accent hue so active// always reads stronger than hover — the ghost default's full-surfacediff --git a/frontend/src/modules/sql-editor/components/TreeNodeSuffix.tsx b/frontend/src/modules/sql-editor/components/TreeNodeSuffix.tsxindex b1635d8ce1..a3a99b6f21 100644--- a/frontend/src/modules/sql-editor/components/TreeNodeSuffix.tsx+++ b/frontend/src/modules/sql-editor/components/TreeNodeSuffix.tsx@@ -160,7 +160,7 @@ export function TreeNodeSuffix({<StarclassName={cn("size-4 shrink-0",- savedQueryLite.starred ? "text-yellow-400" : "text-control-light"+ savedQueryLite.starred ? "text-warning" : "text-control-light")}onClick={(e) => {e.stopPropagation();diff --git a/frontend/src/modules/sql-editor/components/Welcome.test.tsx b/frontend/src/modules/sql-editor/components/Welcome.test.tsxindex ee176b5f42..0560fc6183 100644--- a/frontend/src/modules/sql-editor/components/Welcome.test.tsx+++ b/frontend/src/modules/sql-editor/components/Welcome.test.tsx@@ -212,6 +212,8 @@ describe("Welcome", () => {);render();+ expect(container.firstElementChild?.className).toContain("gap-y-8");+expect(container.querySelector('[data-testid="select-project"]')).not.toBeNull();diff --git a/frontend/src/modules/sql-editor/components/Welcome.tsx b/frontend/src/modules/sql-editor/components/Welcome.tsxindex f3e58113c4..991cec9cc2 100644--- a/frontend/src/modules/sql-editor/components/Welcome.tsx+++ b/frontend/src/modules/sql-editor/components/Welcome.tsx@@ -176,7 +176,7 @@ export function Welcome({ onChangeConnection }: WelcomeProps) {);return (- <div className="w-full h-full flex flex-col items-center justify-center gap-y-10">+ <div className="w-full h-full flex flex-col items-center justify-center gap-y-8"><BytebaseLogobuiltinTheme={isDarkTheme(theme) ? "dark" : "light"}className="h-20 w-44"diff --git a/frontend/src/modules/sql-editor/components/useExportGrantBypass.tsx b/frontend/src/modules/sql-editor/components/useExportGrantBypass.tsxindex f621132dc5..d755a7fa62 100644--- a/frontend/src/modules/sql-editor/components/useExportGrantBypass.tsx+++ b/frontend/src/modules/sql-editor/components/useExportGrantBypass.tsx@@ -346,7 +346,7 @@ export function useExportGrantBypass({count: uniqueGrants.length,})}</span>- <div className="flex flex-col gap-y-0.5 text-xs">+ <div className="flex flex-col gap-y-1 text-xs">{visible.map((grant) => {const issueName = grant.issue ?? "";const href = issueNamediff --git a/frontend/src/routes/auth/PasswordForgotPage.tsx b/frontend/src/routes/auth/PasswordForgotPage.tsxindex 44094f6866..eac899cdfa 100644--- a/frontend/src/routes/auth/PasswordForgotPage.tsx+++ b/frontend/src/routes/auth/PasswordForgotPage.tsx@@ -128,7 +128,7 @@ export function PasswordForgotPage() {name: AUTH_SIGNIN_MODULE,query: router.currentRoute.value.query,}}- 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/auth/SigninPage.tsx b/frontend/src/routes/auth/SigninPage.tsxindex 1db1a06dc7..0399d0647e 100644--- a/frontend/src/routes/auth/SigninPage.tsx+++ b/frontend/src/routes/auth/SigninPage.tsx@@ -255,13 +255,15 @@ export function SigninPage(props: SigninPageProps) {{separatedIdps.length > 0 && methods.length > 0 && (<AuthDivider className="my-4">- <span className="px-2 bg-white text-control">{t("common.or")}</span>+ <span className="px-2 bg-background text-control">+ {t("common.or")}+ </span></AuthDivider>)}{methods.length === 1 && methods[0].panel}{methods.length > 1 && (- <div className="rounded-sm border border-control-border bg-white p-4">+ <div className="rounded-sm border border-control-border bg-background p-4"><Tabs defaultValue={defaultTab}><TabsList>{methods.map((method) => (diff --git a/frontend/src/routes/auth/SignupPage.tsx b/frontend/src/routes/auth/SignupPage.tsxindex 1a3c14612f..7182322f44 100644--- a/frontend/src/routes/auth/SignupPage.tsx+++ b/frontend/src/routes/auth/SignupPage.tsx@@ -225,12 +225,12 @@ export function SignupPage() {{!needsInitialSetup && (<AuthDivider className="mt-6">- <span className="pl-2 bg-white text-control">+ <span className="pl-2 bg-background text-control">{t("auth.sign-up.existing-user")}</span><RouterLinkto={{ name: AUTH_SIGNIN_MODULE, query }}- className="accent-link px-2 bg-white"+ className="accent-link px-2 bg-background">{t("common.sign-in")}</RouterLink>diff --git a/frontend/src/routes/project/DatabaseChangelogDetailPage.tsx b/frontend/src/routes/project/DatabaseChangelogDetailPage.tsxindex 99be73352f..955a3b4fad 100644--- a/frontend/src/routes/project/DatabaseChangelogDetailPage.tsx+++ b/frontend/src/routes/project/DatabaseChangelogDetailPage.tsx@@ -483,7 +483,7 @@ export function DatabaseChangelogDetailPage({</div>{showDiff ? (- <div className="overflow-hidden rounded-sm border border-control-border bg-white">+ <div className="overflow-hidden rounded-sm border border-control-border bg-background"><ReadonlyDiffMonacooriginal={previousChangelog?.schema ?? ""}modified={resolvedChangelog.schema}@@ -491,7 +491,7 @@ export function DatabaseChangelogDetailPage({/></div>) : resolvedChangelog.schema ? (- <div className="overflow-hidden rounded-sm border border-control-border bg-white">+ <div className="overflow-hidden rounded-sm border border-control-border bg-background"><ReadonlyMonacocontent={resolvedChangelog.schema}className="relative h-auto max-h-[600px] min-h-[120px]"diff --git a/frontend/src/routes/project/ProjectAccessGrantsPage.tsx b/frontend/src/routes/project/ProjectAccessGrantsPage.tsxindex 25721a53b5..60b9bcdabf 100644--- a/frontend/src/routes/project/ProjectAccessGrantsPage.tsx+++ b/frontend/src/routes/project/ProjectAccessGrantsPage.tsx@@ -900,9 +900,9 @@ function DatabaseTargets({ targets }: { targets: string[] }) {);const inline = (- <div className="flex items-center truncate gap-x-0.5">+ <div className="flex items-center truncate gap-x-1">{visible.map((target, i) => (- <span key={target} className="flex items-center gap-x-0.5">+ <span key={target} className="flex items-center gap-x-1">{i > 0 && <span className="text-sm">, </span>}{renderLink(target)}</span>diff --git a/frontend/src/routes/project/ProjectDatabaseGroupsPage.tsx b/frontend/src/routes/project/ProjectDatabaseGroupsPage.tsxindex 9db056d613..62dba2a038 100644--- a/frontend/src/routes/project/ProjectDatabaseGroupsPage.tsx+++ b/frontend/src/routes/project/ProjectDatabaseGroupsPage.tsx@@ -124,7 +124,7 @@ export function ProjectDatabaseGroupsPage({<Button disabled={!canCreate} onClick={handleCreate}><FeatureBadgefeature={PlanFeature.FEATURE_DATABASE_GROUPS}- className="text-white"+ className="text-accent-text"fallback={<Plus className="size-4 mr-1" />}/>{t("common.create")}diff --git a/frontend/src/routes/project/ProjectReleaseDetailPage.tsx b/frontend/src/routes/project/ProjectReleaseDetailPage.tsxindex b1199d9930..0ee86d15f2 100644--- a/frontend/src/routes/project/ProjectReleaseDetailPage.tsx+++ b/frontend/src/routes/project/ProjectReleaseDetailPage.tsx@@ -143,7 +143,7 @@ export function ProjectReleaseDetailPage({return (<div className="flex flex-col items-start gap-y-4 p-4 relative">{isDeleted && (- <div className="h-8 w-full text-base font-medium bg-gray-700 text-white flex justify-center items-center">+ <div className="h-8 w-full text-base font-medium bg-main-hover text-main-text flex justify-center items-center">{t("common.archived")}</div>)}diff --git a/frontend/src/routes/project/database-detail/revision/ImportRevisionSheet.tsx b/frontend/src/routes/project/database-detail/revision/ImportRevisionSheet.tsxindex 75fc948167..51cf223b1f 100644--- a/frontend/src/routes/project/database-detail/revision/ImportRevisionSheet.tsx+++ b/frontend/src/routes/project/database-detail/revision/ImportRevisionSheet.tsx@@ -376,7 +376,7 @@ export function ImportRevisionSheet({return (<Sheet open={open} onOpenChange={onOpenChange}>- <SheetContent width="wide" className="max-w-[90vw]">+ <SheetContent width="large"><SheetHeader><SheetTitle>{t("database.revision.import-revision")}</SheetTitle></SheetHeader>diff --git a/frontend/src/routes/project/issue-detail/components/IssueDetailAccessGrantDetails.tsx b/frontend/src/routes/project/issue-detail/components/IssueDetailAccessGrantDetails.tsxindex 661dbd4104..47a9dfd169 100644--- a/frontend/src/routes/project/issue-detail/components/IssueDetailAccessGrantDetails.tsx+++ b/frontend/src/routes/project/issue-detail/components/IssueDetailAccessGrantDetails.tsx@@ -136,7 +136,7 @@ export function IssueDetailAccessGrantDetails() {<span className="text-sm text-control-light">{t("common.statement")}</span>- <div className="max-h-[30em] overflow-auto rounded-xs bg-gray-50 p-4">+ <div className="max-h-[30em] overflow-auto rounded-xs bg-control-bg/50 p-4"><pre className="wrap-anywhere whitespace-pre-wrap font-mono text-sm">{accessGrant.query}</pre>diff --git a/frontend/src/routes/project/issue-detail/components/IssueDetailActionBar.tsx b/frontend/src/routes/project/issue-detail/components/IssueDetailActionBar.tsxindex 205568c6c3..9271dcb0cc 100644--- a/frontend/src/routes/project/issue-detail/components/IssueDetailActionBar.tsx+++ b/frontend/src/routes/project/issue-detail/components/IssueDetailActionBar.tsx@@ -744,7 +744,7 @@ function IssueDetailReviewPopover({/><RadioGroup- className="flex-col items-stretch gap-y-2.5"+ className="flex-col items-stretch gap-y-2"value={selectedAction}onValueChange={(value) => setSelectedAction(value as IssueReviewAction)}>@@ -806,10 +806,7 @@ function IssueDetailReviewPopover({if (mobile) {return (<Sheet onOpenChange={onOpenChange} open={open}>- <SheetContent- className="w-[calc(100vw-2rem)] max-w-[32rem]"- width="standard"- >+ <SheetContent width="panel"><SheetHeader><SheetTitle>{t("issue.review.self")}</SheetTitle></SheetHeader>diff --git a/frontend/src/routes/project/issue-detail/components/IssueDetailApprovalFlow.tsx b/frontend/src/routes/project/issue-detail/components/IssueDetailApprovalFlow.tsxindex b002f024fd..4df57b5189 100644--- a/frontend/src/routes/project/issue-detail/components/IssueDetailApprovalFlow.tsx+++ b/frontend/src/routes/project/issue-detail/components/IssueDetailApprovalFlow.tsx@@ -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-[10px] font-medium text-white"+ className="flex h-5 w-5 shrink-0 items-center justify-center rounded-full text-xs font-medium text-white"style={{ backgroundColor: getAvatarColor(displayName) }}>{getInitials(displayName)}@@ -419,14 +419,14 @@ 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-[10px] font-medium text-white"+ className="flex h-5 w-5 shrink-0 items-center justify-center rounded-full text-xs font-medium text-white"style={{ backgroundColor: getAvatarColor(displayName) }}>{getInitials(displayName)}</span><span className="text-xs text-control">{displayName}</span>{isCurrentUser && (- <span className="rounded-full bg-success/10 px-1.5 py-0.5 text-[10px] text-success">+ <span className="rounded-full bg-success/10 px-1.5 py-0.5 text-xs text-success">{t("common.you")}</span>)}diff --git a/frontend/src/routes/project/issue-detail/components/IssueDetailCommentList.tsx b/frontend/src/routes/project/issue-detail/components/IssueDetailCommentList.tsxindex 34d2586e65..52200fe8f7 100644--- a/frontend/src/routes/project/issue-detail/components/IssueDetailCommentList.tsx+++ b/frontend/src/routes/project/issue-detail/components/IssueDetailCommentList.tsx@@ -405,7 +405,7 @@ function IssueDescriptionCommentRow({<div className="relative"><div className="bg-white pt-1.5" /><UserAvatar- className="h-7 w-7 text-[0.8rem] font-medium"+ className="h-7 w-7 text-xs font-medium"size="sm"title={creator.title || creator.email}/>diff --git a/frontend/src/routes/project/issue-detail/components/IssueDetailDatabaseCreateView.tsx b/frontend/src/routes/project/issue-detail/components/IssueDetailDatabaseCreateView.tsxindex 14535839f1..3957045187 100644--- a/frontend/src/routes/project/issue-detail/components/IssueDetailDatabaseCreateView.tsx+++ b/frontend/src/routes/project/issue-detail/components/IssueDetailDatabaseCreateView.tsx@@ -119,7 +119,7 @@ export function IssueDetailDatabaseCreateView() {<div className="flex w-full flex-col gap-y-4"><div className="flex flex-col gap-y-2"><h3 className="text-base font-medium">{t("common.overview")}</h3>- <div className="flex flex-wrap items-center gap-x-5 gap-y-2">+ <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">{t("common.environment")}:diff --git a/frontend/src/routes/project/issue-detail/components/IssueDetailTaskRolloutActionPanel.tsx b/frontend/src/routes/project/issue-detail/components/IssueDetailTaskRolloutActionPanel.tsxindex 73b984830a..0ffef41278 100644--- a/frontend/src/routes/project/issue-detail/components/IssueDetailTaskRolloutActionPanel.tsx+++ b/frontend/src/routes/project/issue-detail/components/IssueDetailTaskRolloutActionPanel.tsx@@ -433,7 +433,7 @@ export function IssueDetailTaskRolloutActionPanel({</div>{(loading || permissionLoading) && (- <div className="absolute inset-0 flex items-center justify-center bg-white/50">+ <div className="absolute inset-0 flex items-center justify-center bg-background/50"><Loader2 className="h-6 w-6 animate-spin text-control" /></div>)}diff --git a/frontend/src/routes/project/issue-detail/components/IssueDetailTaskRunTable.tsx b/frontend/src/routes/project/issue-detail/components/IssueDetailTaskRunTable.tsxindex b355b2ffa7..803bf2848f 100644--- a/frontend/src/routes/project/issue-detail/components/IssueDetailTaskRunTable.tsx+++ b/frontend/src/routes/project/issue-detail/components/IssueDetailTaskRunTable.tsx@@ -172,7 +172,7 @@ function IssueDetailTaskRunComment({ taskRun }: { taskRun: TaskRun }) {const comment = getTaskRunComment(taskRun, t);return (- <div className="flex flex-col gap-y-0.5 xl:flex-row xl:items-center xl:gap-x-1">+ <div className="flex flex-col gap-y-1 xl:flex-row xl:items-center xl:gap-x-1"><div className="min-w-0 flex-1"><EllipsisText className="line-clamp-1" text={comment} /></div>diff --git a/frontend/src/routes/project/plan-detail/ProjectPlanDetailPage.tsx b/frontend/src/routes/project/plan-detail/ProjectPlanDetailPage.tsxindex 3bed4b09d2..44b78a8470 100644--- a/frontend/src/routes/project/plan-detail/ProjectPlanDetailPage.tsx+++ b/frontend/src/routes/project/plan-detail/ProjectPlanDetailPage.tsx@@ -483,7 +483,7 @@ function PhaseSection({<span className="textlabel uppercase">{label}</span>{badge && <Badge variant={badge.variant}>{badge.label}</Badge>}<div className="flex-1" />- <span className="shrink-0 text-[11px] text-control-placeholder">+ <span className="shrink-0 text-xs text-control-placeholder">{t("plan.phase.show-details")}</span></div>@@ -498,7 +498,7 @@ function PhaseSection({{badge && <Badge variant={badge.variant}>{badge.label}</Badge>}<div className="flex-1" /><span- className="shrink-0 cursor-pointer text-[11px] text-control-placeholder hover:text-control"+ className="shrink-0 cursor-pointer text-xs text-control-placeholder hover:text-control"onClick={onToggle}>{t("plan.phase.hide-details")}diff --git a/frontend/src/routes/project/plan-detail/components/PlanChangeReference.tsx b/frontend/src/routes/project/plan-detail/components/PlanChangeReference.tsxindex 076c840838..62ed357207 100644--- a/frontend/src/routes/project/plan-detail/components/PlanChangeReference.tsx+++ b/frontend/src/routes/project/plan-detail/components/PlanChangeReference.tsx@@ -211,7 +211,7 @@ export function PlanChangeReferenceTooltip({</div>{reference.countLabel && reference.countLabel !== reference.fullLabel && (<div- className="wrap-break-word border-main-text/15 border-t pt-1.5 text-[11px] leading-4 text-main-text/70"+ className="wrap-break-word border-main-text/15 border-t pt-1.5 text-xs leading-4 text-main-text/70"dir="auto">{reference.countLabel}diff --git a/frontend/src/routes/project/plan-detail/components/PlanDetailChangesBranch.tsx b/frontend/src/routes/project/plan-detail/components/PlanDetailChangesBranch.tsxindex a2d53b3de8..2071242d52 100644--- a/frontend/src/routes/project/plan-detail/components/PlanDetailChangesBranch.tsx+++ b/frontend/src/routes/project/plan-detail/components/PlanDetailChangesBranch.tsx@@ -1619,7 +1619,7 @@ function TargetSelectorSheet({return (<Sheet onOpenChange={onOpenChange} open={open}>- <SheetContent className="w-screen sm:w-[80vw]" width="wide">+ <SheetContent width="workspace"><SheetHeader><SheetTitle>{title ?? t("plan.select-targets")}</SheetTitle></SheetHeader>diff --git a/frontend/src/routes/project/plan-detail/components/PlanDetailHeaderDetails.tsx b/frontend/src/routes/project/plan-detail/components/PlanDetailHeaderDetails.tsxindex 8360021ff7..205f716ff3 100644--- a/frontend/src/routes/project/plan-detail/components/PlanDetailHeaderDetails.tsx+++ b/frontend/src/routes/project/plan-detail/components/PlanDetailHeaderDetails.tsx@@ -140,7 +140,7 @@ export function PlanDetailHeaderDetails() {};return (- <div className="shrink-0 border-b bg-white px-2 pb-2 sm:px-4">+ <div className="shrink-0 border-b bg-background px-2 pb-2 sm:px-4"><div className="min-w-0">{editingDescription ? (<div className="py-2">diff --git a/frontend/src/routes/project/plan-detail/components/PlanDetailRollbackSheet.tsx b/frontend/src/routes/project/plan-detail/components/PlanDetailRollbackSheet.tsxindex e4eebac9c9..a4940d85d7 100644--- a/frontend/src/routes/project/plan-detail/components/PlanDetailRollbackSheet.tsx+++ b/frontend/src/routes/project/plan-detail/components/PlanDetailRollbackSheet.tsx@@ -221,7 +221,7 @@ export function PlanDetailRollbackSheet({</Badge></div>{step === 1 ? (- <div className="space-y-3">+ <div className="flex flex-col gap-y-3"><div className="text-sm text-control-light">{t("task.select-task")}</div>@@ -248,7 +248,7 @@ export function PlanDetailRollbackSheet({});}}/>- <div className="min-w-0 space-y-1">+ <div className="flex min-w-0 flex-col gap-y-1"><div className="min-w-0 text-sm font-medium text-main"><PlanTargetDisplayshowEnvironment@@ -265,7 +265,7 @@ export function PlanDetailRollbackSheet({</div></div>) : (- <div className="space-y-4">+ <div className="flex flex-col gap-y-4"><Alertvariant="info"description={t(@@ -284,7 +284,10 @@ export function PlanDetailRollbackSheet({</div>) : (previews.map((preview) => (- <div key={preview.taskRun.name} className="space-y-2">+ <div+ key={preview.taskRun.name}+ className="flex flex-col gap-y-2"+ ><div className="text-sm font-medium text-main"><PlanTargetDisplayshowEnvironmentdiff --git a/frontend/src/routes/project/plan-detail/components/PlanDetailTaskRolloutActionPanel.tsx b/frontend/src/routes/project/plan-detail/components/PlanDetailTaskRolloutActionPanel.tsxindex 751bf263ce..8e7625ae79 100644--- a/frontend/src/routes/project/plan-detail/components/PlanDetailTaskRolloutActionPanel.tsx+++ b/frontend/src/routes/project/plan-detail/components/PlanDetailTaskRolloutActionPanel.tsx@@ -423,7 +423,7 @@ export function PlanDetailTaskRolloutActionPanel({</div>{(loading || permissionLoading) && (- <div className="absolute inset-0 flex items-center justify-center bg-white/50">+ <div className="absolute inset-0 flex items-center justify-center bg-background/50"><Loader2 className="h-6 w-6 animate-spin text-control" /></div>)}diff --git a/frontend/src/routes/project/plan-detail/components/deploy/DeployPendingTasksSection.tsx b/frontend/src/routes/project/plan-detail/components/deploy/DeployPendingTasksSection.tsxindex f0083fe650..64fe50f73f 100644--- a/frontend/src/routes/project/plan-detail/components/deploy/DeployPendingTasksSection.tsx+++ b/frontend/src/routes/project/plan-detail/components/deploy/DeployPendingTasksSection.tsx@@ -121,10 +121,7 @@ export function DeployPendingTasksSection({return (<Sheet onOpenChange={onOpenChange} open={open}>- <SheetContent- className="w-[25rem] max-w-[calc(100vw-2rem)]"- width="standard"- >+ <SheetContent width="narrow"><SheetHeader><SheetTitle>{t("rollout.pending-tasks-preview.title")}</SheetTitle></SheetHeader>@@ -142,7 +139,7 @@ export function DeployPendingTasksSection({{t("rollout.pending-tasks-preview.no-pending-tasks")}</p>) : (- <div className="space-y-4">+ <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">@@ -207,7 +204,7 @@ export function DeployPendingTasksSection({</Button></div>{expandedEnvs.has(group.environment) && (- <ul className="space-y-1 px-3 py-2">+ <ul className="flex flex-col gap-y-1 px-3 py-2">{group.tasks.map((task) => (<li key={`${task.target}:${task.specId}`}>{isValidDatabaseName(task.target) ? (diff --git a/frontend/src/routes/project/plan-detail/components/deploy/DeployStageCard.tsx b/frontend/src/routes/project/plan-detail/components/deploy/DeployStageCard.tsxindex c211d563e5..fab396e93a 100644--- a/frontend/src/routes/project/plan-detail/components/deploy/DeployStageCard.tsx+++ b/frontend/src/routes/project/plan-detail/components/deploy/DeployStageCard.tsx@@ -62,7 +62,7 @@ export function DeployStageList({<StageProgressCard stage={stage} /></PlanDetailTabItem>{index < rollout.stages.length - 1 && (- <ArrowRight className="mx-2 h-4 w-4 shrink-0 text-gray-400" />+ <ArrowRight className="mx-2 h-4 w-4 shrink-0 text-control-placeholder" />)}</div>))}diff --git a/frontend/src/routes/project/plan-detail/components/deploy/DeployTaskItem.tsx b/frontend/src/routes/project/plan-detail/components/deploy/DeployTaskItem.tsxindex ecb1818998..1015cb0ce1 100644--- a/frontend/src/routes/project/plan-detail/components/deploy/DeployTaskItem.tsx+++ b/frontend/src/routes/project/plan-detail/components/deploy/DeployTaskItem.tsx@@ -182,7 +182,7 @@ export const DeployTaskItem = memo(function DeployTaskItem({return (<>- <div className="group rounded-sm border bg-white" ref={hostRef}>+ <div className="group rounded-sm border bg-background" ref={hostRef}>{/* Same padding in both modes: the header row is button-height (h-6)either way, so expanding only reveals content below — nothingabove the fold moves. */}diff --git a/frontend/src/routes/project/plan-detail/components/deploy/DeployTaskToolbar.tsx b/frontend/src/routes/project/plan-detail/components/deploy/DeployTaskToolbar.tsxindex 0d882580d9..ecc43c54a2 100644--- a/frontend/src/routes/project/plan-detail/components/deploy/DeployTaskToolbar.tsx+++ b/frontend/src/routes/project/plan-detail/components/deploy/DeployTaskToolbar.tsx@@ -127,7 +127,7 @@ export function DeployTaskToolbar({</div></Tooltip><span className="text-sm text-blue-900">{selectionCountText}</span>- <div className="flex items-center gap-x-0.5">+ <div className="flex items-center gap-x-1"><Tooltipcontent={!hasRunnableTasksdiff --git a/frontend/src/routes/project/plan-detail/components/lifecycle/PlanStatusAction.tsx b/frontend/src/routes/project/plan-detail/components/lifecycle/PlanStatusAction.tsxindex 7be456b08f..8e5ea59598 100644--- a/frontend/src/routes/project/plan-detail/components/lifecycle/PlanStatusAction.tsx+++ b/frontend/src/routes/project/plan-detail/components/lifecycle/PlanStatusAction.tsx@@ -313,7 +313,7 @@ function ChecksGateRow({<GateLabel subtitle={subtitle} title={title} />{summary.total > 0 && (<button- className="inline-flex shrink-0 items-center gap-0.5 text-xs text-accent hover:underline"+ className="inline-flex shrink-0 items-center gap-1 text-xs text-accent hover:underline"onClick={onViewDetails}type="button">diff --git a/frontend/src/routes/project/plan-detail/components/review/ReviewActionPopover.tsx b/frontend/src/routes/project/plan-detail/components/review/ReviewActionPopover.tsxindex 0b8d25d334..e0ef9cf8e0 100644--- a/frontend/src/routes/project/plan-detail/components/review/ReviewActionPopover.tsx+++ b/frontend/src/routes/project/plan-detail/components/review/ReviewActionPopover.tsx@@ -93,7 +93,7 @@ export function ReviewActionPopover({onSubmit={() => void submit()}/><RadioGroup- className="flex-col items-stretch gap-y-2.5"+ className="flex-col items-stretch gap-y-2"value={action}onValueChange={(value) => setAction(value as ReviewAction)}>diff --git a/frontend/src/routes/workspace/GlobalMaskingPage.tsx b/frontend/src/routes/workspace/GlobalMaskingPage.tsxindex 58b9a5db67..c6c13eabcb 100644--- a/frontend/src/routes/workspace/GlobalMaskingPage.tsx+++ b/frontend/src/routes/workspace/GlobalMaskingPage.tsx@@ -637,7 +637,7 @@ export function GlobalMaskingPage() {{/* Rule list */}{items.map((item, index) => (- <div key={item.rule.id} className="flex items-start gap-x-5">+ <div key={item.rule.id} className="flex items-start gap-x-4">{item.mode === "NORMAL" &&hasPermission &&hasSensitiveDataFeature && (diff --git a/frontend/src/routes/workspace/PurchaseSection.tsx b/frontend/src/routes/workspace/PurchaseSection.tsxindex 22e27e9bf7..f48601b466 100644--- a/frontend/src/routes/workspace/PurchaseSection.tsx+++ b/frontend/src/routes/workspace/PurchaseSection.tsx@@ -366,7 +366,7 @@ export function PurchaseSection({ onRequireEnterprise }: PurchaseSectionProps) {<div className="text-lg font-medium">{t("subscription.purchase.payment-info")}</div>- <div className="flex flex-wrap gap-x-12 gap-y-4 text-sm">+ <div className="flex flex-wrap gap-x-8 gap-y-4 text-sm"><div><span className="text-control-placeholder">{t("subscription.purchase.total-price")}@@ -478,7 +478,7 @@ export function PurchaseSection({ onRequireEnterprise }: PurchaseSectionProps) {type="button"appearance="secondary"size="sm"- className="h-full rounded-l-sm rounded-r-none px-2"+ className="rounded-l-sm rounded-r-none px-2"disabled={seats <= (card.userAdditional.minimumCount || 1)}@@ -498,7 +498,7 @@ export function PurchaseSection({ onRequireEnterprise }: PurchaseSectionProps) {type="button"appearance="secondary"size="sm"- className="h-full rounded-l-none rounded-r-sm px-2"+ className="rounded-l-none rounded-r-sm px-2"disabled={card.userAdditional.maximumCount > 0 &&seats >= card.userAdditional.maximumCountdiff --git a/frontend/src/routes/workspace/general/AccountSection.tsx b/frontend/src/routes/workspace/general/AccountSection.tsxindex 794c7ba71d..39b6dd236e 100644--- a/frontend/src/routes/workspace/general/AccountSection.tsx+++ b/frontend/src/routes/workspace/general/AccountSection.tsx@@ -622,7 +622,7 @@ export const AccountSection = forwardRef<SectionHandle, AccountSectionProps>(<hr className="my-1" />{/* Sub-section 3: Require 2FA */}- <div className="flex flex-col gap-y-7">+ <div className="flex flex-col gap-y-6"><FormFieldtitle={<span className="flex items-center gap-x-2">@@ -887,7 +887,7 @@ export const AccountSection = forwardRef<SectionHandle, AccountSectionProps>(setTokenState((s) => ({ ...s, inactiveTimeout: v }))}/>- <span className="text-sm text-gray-500">+ <span className="text-sm text-control-light">{t("settings.general.workspace.inactive-session-timeout.hours")}diff --git a/frontend/src/routes/workspace/general/sql-editor-theme/ThemePreview.tsx b/frontend/src/routes/workspace/general/sql-editor-theme/ThemePreview.tsxindex 8475568bfb..d8c3b09737 100644--- a/frontend/src/routes/workspace/general/sql-editor-theme/ThemePreview.tsx+++ b/frontend/src/routes/workspace/general/sql-editor-theme/ThemePreview.tsx@@ -118,7 +118,7 @@ export function ThemePreview({ theme }: Readonly<ThemePreviewProps>) {type="button"variant="default"size="sm"- className="h-7 gap-1 px-1.5"+ className="gap-1 px-1.5"><Play className="size-4 fill-current" /><span>{t("common.run")}</span>@@ -127,7 +127,7 @@ export function ThemePreview({ theme }: Readonly<ThemePreviewProps>) {type="button"appearance="outline"size="sm"- className="h-7 px-1.5"+ className="px-1.5"aria-label={t("common.save")}><Save className="size-4" />@@ -136,7 +136,7 @@ export function ThemePreview({ theme }: Readonly<ThemePreviewProps>) {type="button"appearance="outline"size="sm"- className="h-7 px-1.5"+ className="px-1.5"aria-label={t("common.share")}><Share2 className="size-4" />@@ -203,7 +203,7 @@ export function ThemePreview({ theme }: Readonly<ThemePreviewProps>) {type="button"appearance="outline"size="sm"- className="h-7 shrink-0 gap-1 px-2"+ className="shrink-0 gap-1 px-2"><Copy className="size-4" /><span>{t("common.copy-all")}</span>diff --git a/frontend/src/routes/workspace/profile/AccountSettingsPage.tsx b/frontend/src/routes/workspace/profile/AccountSettingsPage.tsxindex 2df24a4425..65fa88223f 100644--- a/frontend/src/routes/workspace/profile/AccountSettingsPage.tsx+++ b/frontend/src/routes/workspace/profile/AccountSettingsPage.tsx@@ -276,12 +276,12 @@ export function AccountSettingsPage() {<div className="mx-auto flex w-full max-w-2xl flex-col gap-y-8"><div className="flex items-center gap-x-4"><div- className="flex size-11 shrink-0 items-center justify-center rounded-full text-base font-bold text-white"+ className="flex size-11 shrink-0 items-center justify-center rounded-full text-base font-bold text-accent-text"style={{ backgroundColor: getAvatarColor(user.email) }}>{getInitials(title || user.email)}</div>- <div className="flex min-w-0 flex-col gap-y-0.5">+ <div className="flex min-w-0 flex-col gap-y-1"><h1 className="text-xl font-medium text-main">{t("settings.account.self")}</h1>diff --git a/frontend/src/routes/workspace/profile/SettingsCard.tsx b/frontend/src/routes/workspace/profile/SettingsCard.tsxindex 93da970d3b..f842fba9d8 100644--- a/frontend/src/routes/workspace/profile/SettingsCard.tsx+++ b/frontend/src/routes/workspace/profile/SettingsCard.tsx@@ -53,7 +53,7 @@ export function SettingsRow({align === "center" ? "sm:items-center" : "sm:items-start")}>- <div className="flex min-w-0 flex-1 flex-col gap-y-0.5">+ <div className="flex min-w-0 flex-1 flex-col gap-y-1"><span className="text-sm font-medium text-main">{label}</span>{description && (<span className="text-xs leading-relaxed text-control-light">diff --git a/frontend/src/routes/workspace/two-factor/RecoveryCodesView.tsx b/frontend/src/routes/workspace/two-factor/RecoveryCodesView.tsxindex 55a1e57f51..fe1016f6bd 100644--- a/frontend/src/routes/workspace/two-factor/RecoveryCodesView.tsx+++ b/frontend/src/routes/workspace/two-factor/RecoveryCodesView.tsx@@ -47,7 +47,7 @@ export function RecoveryCodesView({}/><div className="w-full mx-auto flex flex-col justify-start items-start">- <ul className="w-full grid grid-cols-2 list-disc list-inside mx-auto gap-4 gap-x-24 p-8 px-12 border rounded-xs bg-gray-50">+ <ul className="w-full grid grid-cols-2 list-disc list-inside mx-auto gap-4 gap-x-8 p-8 px-12 border rounded-xs bg-control-bg/50">{recoveryCodes.map((code) => (<li key={code}><code className="ml-2">{code}</code>