UNPKG

@hkxdv/astro-shade-dx-template

Version:

Astro template with React, shadcn/ui, Bun, Biome & ESLint. Pre-configured TypeScript, Tailwind CSS, dark/light themes, and optimized DX. Run directly with 'bunx @hkxdv/astro-shade-dx-template' without installation.

11 lines (10 loc) 326 B
import { clsx, type ClassValue } from "clsx"; import { twMerge } from "tailwind-merge"; /** * Combina clases de manera eficiente con clsx y tailwind-merge * @param inputs Clases a combinar * @returns String de clases combinadas */ export function cn(...inputs: ClassValue[]) { return twMerge(clsx(inputs)); }