diff --git a/sites/docs/src/lib/registry/default/ui/switch/switch.svelte b/sites/docs/src/lib/registry/default/ui/switch/switch.svelte index eb541545b..66b8b1eb3 100644 --- a/sites/docs/src/lib/registry/default/ui/switch/switch.svelte +++ b/sites/docs/src/lib/registry/default/ui/switch/switch.svelte @@ -14,7 +14,7 @@ bind:ref bind:checked class={cn( - "focus-visible:ring-ring focus-visible:ring-offset-background data-[state=checked]:bg-primary data-[state=unchecked]:bg-input peer inline-flex h-[24px] w-[44px] shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50", + "focus-visible:ring-ring focus-visible:ring-offset-background data-[state=checked]:bg-primary data-[state=unchecked]:bg-input peer inline-flex h-6 w-11 shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50", className )} {...restProps} diff --git a/sites/docs/src/lib/registry/new-york/ui/switch/switch.svelte b/sites/docs/src/lib/registry/new-york/ui/switch/switch.svelte index 9f031ba90..03f5ef314 100644 --- a/sites/docs/src/lib/registry/new-york/ui/switch/switch.svelte +++ b/sites/docs/src/lib/registry/new-york/ui/switch/switch.svelte @@ -14,7 +14,7 @@ bind:ref bind:checked class={cn( - "focus-visible:ring-ring focus-visible:ring-offset-background data-[state=checked]:bg-primary data-[state=unchecked]:bg-input peer inline-flex h-[20px] w-[36px] shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent shadow-sm transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50", + "focus-visible:ring-ring focus-visible:ring-offset-background data-[state=checked]:bg-primary data-[state=unchecked]:bg-input peer inline-flex h-5 w-9 shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent shadow-sm transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50", className )} {...restProps}