feat: unocss-preset-shadcn
All checks were successful
/ lint-build-and-check (push) Successful in 2m28s
/ depcheck (push) Successful in 2m48s
/ build-and-deploy-to-vercel (push) Successful in 2m51s
/ playwright (push) Successful in 4m3s
/ surge (push) Successful in 2m31s

This commit is contained in:
mini2024
2025-03-23 22:10:38 +08:00
parent e66dc097f7
commit e42241ddc5
13 changed files with 621 additions and 77 deletions

7
src/shadcn/lib/utils.ts Normal file
View File

@ -0,0 +1,7 @@
import type { ClassValue } from 'clsx';
import { clsx } from 'clsx';
import { twMerge } from 'tailwind-merge';
export function cn(...inputs: ClassValue[]) {
return twMerge(clsx(inputs));
}