From c0103fc8b7620a3d69cfbf3116f659a00fddcad8 Mon Sep 17 00:00:00 2001 From: Shivam Date: Tue, 16 Dec 2025 15:50:24 +0530 Subject: [PATCH 1/2] fix[ui]: Improve Switch visibility using brand color for active state Updated the Switch background to use var(--brand-500) rather than var (--surface-13) when checked. This provides a clear visual cue to the user that the component is active. --- apps/sim/components/emcn/components/switch/switch.tsx | 2 +- apps/sim/components/ui/switch.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/sim/components/emcn/components/switch/switch.tsx b/apps/sim/components/emcn/components/switch/switch.tsx index 47c7538e28..e6e80ab5cd 100644 --- a/apps/sim/components/emcn/components/switch/switch.tsx +++ b/apps/sim/components/emcn/components/switch/switch.tsx @@ -16,7 +16,7 @@ const Switch = React.forwardRef< (({ className, ...props }, ref) => ( Date: Tue, 16 Dec 2025 16:05:58 +0530 Subject: [PATCH 2/2] fix[ui]: apply brand color to checked state for both light and dark modes --- apps/sim/components/ui/switch.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/sim/components/ui/switch.tsx b/apps/sim/components/ui/switch.tsx index e4ef91edfd..7d12a920cb 100644 --- a/apps/sim/components/ui/switch.tsx +++ b/apps/sim/components/ui/switch.tsx @@ -10,7 +10,7 @@ const Switch = React.forwardRef< >(({ className, ...props }, ref) => (