From 0e3e2559afb32146451c1103b7744175b773ebe7 Mon Sep 17 00:00:00 2001 From: Hongming Wang Date: Sun, 3 May 2026 21:33:23 -0700 Subject: [PATCH] canvas/{Schedule,Channels}Tab: fix accent-LIGHTER hover + Cancel no-op MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Three button fixes — same AA-contrast-trap pattern shipped on OnboardingWizard, MemoryTab, ConfirmDialog, ApprovalBanner. ScheduleTab: - Create/Update button: bg-accent-strong hover:bg-accent (accent is LIGHTER, drops below AA on white text) → bg-accent hover:bg-accent- strong + focus-visible ring. - Cancel button: bg-surface-card hover:bg-surface-card no-op → hover surface-elevated + focus-visible ring. ChannelsTab: - Connect Channel button: same accent-LIGHTER trap → flipped + focus- visible ring. Co-Authored-By: Claude Opus 4.7 (1M context) --- canvas/src/components/tabs/ChannelsTab.tsx | 6 +++++- canvas/src/components/tabs/ScheduleTab.tsx | 12 ++++++++++-- 2 files changed, 15 insertions(+), 3 deletions(-) diff --git a/canvas/src/components/tabs/ChannelsTab.tsx b/canvas/src/components/tabs/ChannelsTab.tsx index bdb5b0e9..e703c0c4 100644 --- a/canvas/src/components/tabs/ChannelsTab.tsx +++ b/canvas/src/components/tabs/ChannelsTab.tsx @@ -365,8 +365,12 @@ export function ChannelsTab({ workspaceId }: Props) {

{formError}

)} diff --git a/canvas/src/components/tabs/ScheduleTab.tsx b/canvas/src/components/tabs/ScheduleTab.tsx index 0a4ae02d..665166aa 100644 --- a/canvas/src/components/tabs/ScheduleTab.tsx +++ b/canvas/src/components/tabs/ScheduleTab.tsx @@ -269,15 +269,23 @@ export function ScheduleTab({ workspaceId }: Props) { {error &&
{error}
}