@hanzo/ui 4.2.2 → 4.2.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/primitives/switch.tsx +1 -1
package/package.json
CHANGED
package/primitives/switch.tsx
CHANGED
|
@@ -15,7 +15,7 @@ const Switch = React.forwardRef<
|
|
|
15
15
|
'border-2 border-transparent shadow-sm transition-colors focus-visible:outline-none ' +
|
|
16
16
|
'focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 ' +
|
|
17
17
|
'focus-visible:ring-offset-background disabled:cursor-not-allowed disabled:opacity-50 ' +
|
|
18
|
-
'data-[state=checked]:bg-primary data-[state=unchecked]:bg-
|
|
18
|
+
'data-[state=checked]:bg-primary data-[state=unchecked]:bg-level-3',
|
|
19
19
|
className
|
|
20
20
|
)}
|
|
21
21
|
{...props}
|