"use client"; import * as React from "react"; import { Switch as SwitchPrimitive } from "radix-ui"; import { cn } from "../lib/cn"; // The design system's Switch: a 44×24 track, black 60% when off and Electric // Blue when on, with an 18px white thumb; disabled it is black 20% either // way, and the thumb's side still says which. `sm` is the dashboard's own // compact one (36×20); the `after` layer keeps what the pointer can hit 24px // tall (WCAG 2.5.8). // // Forced colours drop backgrounds and shadows: the transparent border is the // edge the track keeps there, and the thumb takes a system colour. function Switch({ className, size = "default", ...props }: React.ComponentProps & { size?: "sm" | "default"; }) { return ( ); } export { Switch };