Move 13 shadcn UI components, cn() utility, and theme CSS variables to packages/ui for cross-platform reuse. Add @source directives for Tailwind v4 content scanning. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
6 lines
166 B
TypeScript
6 lines
166 B
TypeScript
import { clsx, type ClassValue } from "clsx"
|
|
import { twMerge } from "tailwind-merge"
|
|
|
|
export function cn(...inputs: ClassValue[]) {
|
|
return twMerge(clsx(inputs))
|
|
}
|