Skip to content

Commit a42e5cd

Browse files
committed
.
1 parent 53219a8 commit a42e5cd

File tree

2 files changed

+22
-0
lines changed

2 files changed

+22
-0
lines changed

components.json

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"$schema": "https://ui.shadcn.com/schema.json",
3+
"style": "default",
4+
"rsc": true,
5+
"tsx": true,
6+
"tailwind": {
7+
"config": "tailwind.config.js",
8+
"css": "src/app/globals.css",
9+
"baseColor": "gray",
10+
"cssVariables": true
11+
},
12+
"aliases": {
13+
"utils": "@/lib/utils",
14+
"components": "@/components"
15+
}
16+
}

src/lib/utils.ts

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
import { type ClassValue, clsx } from "clsx"
2+
import { twMerge } from "tailwind-merge"
3+
4+
export function cn(...inputs: ClassValue[]) {
5+
return twMerge(clsx(inputs))
6+
}

0 commit comments

Comments
 (0)