Add UI components (shadcn) and utility functions for improved styling and layout

This commit is contained in:
ecwu
2024-12-20 13:17:34 +08:00
parent 9c2c314ce9
commit 7ecdae8f1d
59 changed files with 10412 additions and 625 deletions

6
src/lib/utils.ts Normal file
View File

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