Detects touch-primary devices (coarse pointer + touch points), updating live on pointer-mode and media-query changes. Adapted from Lina (https://lina.sameer.sh).
pnpm dlx shadcn@latest add "https://www.fluidfunctionalism.com/r/use-touch-primary.json"