Files
cadSet/text-to-cad/docs/src/lib/utils.ts
T
2026-07-22 19:38:36 +08:00

21 lines
400 B
TypeScript

import { clsx, type ClassValue } from "clsx"
import { extendTailwindMerge } from "tailwind-merge"
const twMerge = extendTailwindMerge({
extend: {
classGroups: {
"font-size": [
"text-label",
"text-ui",
"text-heading",
"text-stat",
"text-hero",
],
},
},
})
export function cn(...inputs: ClassValue[]) {
return twMerge(clsx(inputs))
}