diff --git a/packages/ui/src/components/sheet.tsx b/packages/ui/src/components/sheet.tsx index 9f4a8406..5cd5eec0 100644 --- a/packages/ui/src/components/sheet.tsx +++ b/packages/ui/src/components/sheet.tsx @@ -52,7 +52,7 @@ const SheetContent = React.forwardRef {children} {showClose && ( - + Close diff --git a/packages/webui/src/components/ui/toggle-switch.tsx b/packages/webui/src/components/ui/toggle-switch.tsx index 78f854c6..dc92fb2b 100644 --- a/packages/webui/src/components/ui/toggle-switch.tsx +++ b/packages/webui/src/components/ui/toggle-switch.tsx @@ -21,6 +21,7 @@ export function ToggleSwitch({ value, onChange, ariaLabel, disabled }: ToggleSwi onClick={() => onChange(!value)} className={cn( 'relative inline-flex h-6 w-11 shrink-0 items-center rounded-full transition-colors', + 'outline-none focus-visible:ring-[3px] focus-visible:ring-ring/40', disabled ? 'cursor-not-allowed opacity-50' : 'cursor-pointer', // Off-track is a neutral foreground tint so it stays visible on any // surface — including OLED pure-black (where bg-muted vanished).