From 18aa7036732c0fc2e2ab79e54d5d8f59a160843d Mon Sep 17 00:00:00 2001 From: Julius Marminge Date: Tue, 22 Sep 2026 12:22:16 -0700 Subject: [PATCH] refactor(web): ghost-muted icons follow the text; add ghost-destructive (#13033) Co-authored-by: Claude Fable 5 --- apps/web/src/components/LegacySidebar.tsx | 1 - apps/web/src/components/RightPanelTabs.tsx | 2 +- apps/web/src/components/Sidebar.tsx | 2 +- .../chat/SnapShotAttachmentDetails.tsx | 2 +- .../pullRequest/PullRequestListFilters.tsx | 9 +------- .../settings/ProviderInstanceCard.tsx | 22 +++++-------------- .../settings/ProviderModelsSection.tsx | 10 ++------- .../settings/SettingInheritance.tsx | 18 ++++++--------- .../src/components/settings/ThemeSettings.tsx | 3 +-- apps/web/src/components/ui/button.tsx | 4 +++- scripts/lint-restyle-ceiling.ts | 2 +- 11 files changed, 24 insertions(+), 51 deletions(-) diff --git a/apps/web/src/components/LegacySidebar.tsx b/apps/web/src/components/LegacySidebar.tsx index 5e60b9b0df7e0c5edd9c626e97b08662a5c67af9..f891e73694e6ace03466ebf74a2e202397314fe7 100644 --- a/apps/web/src/components/LegacySidebar.tsx +++ b/apps/web/src/components/LegacySidebar.tsx @@ -3038,7 +3038,6 @@ const SidebarProjectsContent = memo(function SidebarProjectsContent( variant="ghost-muted" aria-label="Add project" data-testid="sidebar-add-project-trigger" - className="[--control-icon-color:currentColor] text-icon-muted" onClick={openAddProject} /> } diff --git a/apps/web/src/components/RightPanelTabs.tsx b/apps/web/src/components/RightPanelTabs.tsx index e66909c0f9f5e43fe0dc5b4070d0add92cdb53f0..de2a0d61ee429e0b263335ee0514867fc65313bf 100644 --- a/apps/web/src/components/RightPanelTabs.tsx +++ b/apps/web/src/components/RightPanelTabs.tsx @@ -559,7 +559,7 @@ function RightPanelEmptyState(props: { render={ } /> @@ -793,9 +784,8 @@ export function ProviderInstanceCard({