From bc24b8a8366f2c7ab1d84b36177fba48f47a075a Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Tue, 4 Aug 2026 12:43:31 +0000 Subject: [PATCH] fix(walkthrough): drop info tint from disabled Generate button The status-info classes were winning over muted disabled styles, so the button still looked actionable when no model was selected. Co-authored-by: Serhii Dziupin --- .../src/components/views/walkthrough/WalkthroughView.tsx | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/packages/ui/src/components/views/walkthrough/WalkthroughView.tsx b/packages/ui/src/components/views/walkthrough/WalkthroughView.tsx index 25a19097..246a818c 100644 --- a/packages/ui/src/components/views/walkthrough/WalkthroughView.tsx +++ b/packages/ui/src/components/views/walkthrough/WalkthroughView.tsx @@ -622,10 +622,9 @@ export const WalkthroughView = ({ directory }: WalkthroughViewProps) => { type="button" variant="outline" size="sm" - className={cn( - WALKTHROUGH_ACTION_CLASS, - generateDisabled && 'border-border bg-transparent text-muted-foreground hover:bg-transparent hover:text-muted-foreground', - )} + className={generateDisabled + ? 'border-border text-muted-foreground' + : WALKTHROUGH_ACTION_CLASS} disabled={generateDisabled} aria-label={compactHeader ? (view ? t('walkthrough.action.regenerate') : t('walkthrough.action.generate'))