From d0aeee95fa1b4ceda754a479ef3fabe16b5186b1 Mon Sep 17 00:00:00 2001 From: Matthew Meszaros Date: Sat, 18 Jul 2026 08:12:05 +0200 Subject: [PATCH] =?UTF-8?q?feat:=20use=20purple=20for=20the=20Switch's=20s?= =?UTF-8?q?election=20and=20active=20states=20=E2=80=94=20selected=20node?= =?UTF-8?q?=20ring,=20decider=20card=20active=20state,=20context-toggle=20?= =?UTF-8?q?on-state,=20and=20the=20instruction=20textarea=20focus=20ring?= =?UTF-8?q?=20all=20take=20the=20step's=20purple=20identity=20instead=20of?= =?UTF-8?q?=20the=20global=20sky=20accent?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../app/campaigns/sequences/CampaignFlow.tsx | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/web/src/components/app/campaigns/sequences/CampaignFlow.tsx b/web/src/components/app/campaigns/sequences/CampaignFlow.tsx index 3b9912d1..3b189b2d 100644 --- a/web/src/components/app/campaigns/sequences/CampaignFlow.tsx +++ b/web/src/components/app/campaigns/sequences/CampaignFlow.tsx @@ -590,7 +590,7 @@ function SwitchNode({ id, data, selected }: NodeProps) {
@@ -3120,13 +3120,13 @@ function SwitchStepFields({ onClick={() => setAction((a) => ({ ...a, switch_on: mode ? "ai" : "value" }))} className={`flex items-start gap-1.5 rounded-md border px-2 py-1.5 text-left transition-colors ${ active - ? "border-sky-300 bg-sky-50" + ? "border-purple-300 bg-purple-50" : "border-slate-200 bg-white hover:border-slate-300" }`} > - + - + {title} {detail} @@ -3153,7 +3153,7 @@ function SwitchStepFields({ placeholder={ "Read this contact's reply and company details. Decide whether they're interested, not ready yet, or the wrong person." } - className="w-full px-2.5 py-1.5 rounded-md border border-slate-200 bg-white text-[12.5px] text-slate-900 placeholder:text-slate-400 outline-none focus:border-sky-400 focus:ring-2 focus:ring-sky-100 resize-y leading-relaxed" + className="w-full px-2.5 py-1.5 rounded-md border border-slate-200 bg-white text-[12.5px] text-slate-900 placeholder:text-slate-400 outline-none focus:border-purple-400 focus:ring-2 focus:ring-purple-100 resize-y leading-relaxed" />

One model call per contact reaching this step picks exactly one case. Supports the same{" "} @@ -3270,11 +3270,11 @@ function AIContextToggle({ return (

-
{label}
+
{label}
{detail}