mirror of
https://github.com/OpenHands/OpenHands.git
synced 2025-12-26 05:48:36 +08:00
hotfix: Fix switch color regression (#6881)
This commit is contained in:
parent
666c186826
commit
325a558fbc
@ -12,13 +12,14 @@ export function StyledSwitchComponent({
|
||||
className={cn(
|
||||
"w-12 h-6 rounded-xl flex items-center p-1.5 cursor-pointer",
|
||||
isToggled && "justify-end bg-primary",
|
||||
!isToggled && "justify-start bg-[#1F2228] border border-tertiary-alt",
|
||||
!isToggled &&
|
||||
"justify-start bg-base-secondary border border-tertiary-light",
|
||||
)}
|
||||
>
|
||||
<div
|
||||
className={cn(
|
||||
"bg-[#1F2228] w-3 h-3 rounded-xl",
|
||||
isToggled ? "bg-[#1F2228]" : "bg-tertiary-alt",
|
||||
"w-3 h-3 rounded-xl",
|
||||
isToggled ? "bg-base-secondary" : "bg-tertiary-light",
|
||||
)}
|
||||
/>
|
||||
</div>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user