Skip to content

Commit

Permalink
fix: dark mode switch color (calcom#12850)
Browse files Browse the repository at this point in the history
  • Loading branch information
Udit-takkar authored Dec 18, 2023
1 parent f71759f commit 22d9067
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/ui/components/form/switch/Switch.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ const Switch = (
{LockedIcon && <div className="mr-2">{LockedIcon}</div>}
<PrimitiveSwitch.Root
className={cx(
isChecked ? "bg-brand-default dark:bg-emphasis" : "bg-emphasis",
isChecked ? "bg-brand-default dark:bg-brand-emphasis" : "bg-emphasis",
primitiveProps.disabled && "cursor-not-allowed",
"focus:ring-brand-default h-5 w-[34px] rounded-full shadow-none focus:border-neutral-300 focus:outline-none focus:ring-2 focus:ring-neutral-800 focus:ring-offset-1",
props.className
Expand Down

0 comments on commit 22d9067

Please sign in to comment.