import { type ClassValue, clsx } from 'clsx' import { extendTailwindMerge } from 'tailwind-merge' const twMerge = extendTailwindMerge({ extend: { classGroups: { 'font-size': [ { text: ['h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'intro', 'body', 'small', 'caption'] }, ], }, }, }) export function cn(...inputs: ClassValue[]) { return twMerge(clsx(inputs)) }