Skip to content

Commit

Permalink
initialization
Browse files Browse the repository at this point in the history
  • Loading branch information
pablonyx committed Oct 29, 2024
1 parent 1201ed5 commit 7cccb77
Show file tree
Hide file tree
Showing 5 changed files with 91 additions and 3 deletions.
20 changes: 20 additions & 0 deletions web/components.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"$schema": "https://ui.shadcn.com/schema.json",
"style": "default",
"rsc": true,
"tsx": true,
"tailwind": {
"config": "tailwind.config.js",
"css": "src/app/globals.css",
"baseColor": "neutral",
"cssVariables": false,
"prefix": ""
},
"aliases": {
"components": "@/components",
"utils": "@/lib/utils",
"ui": "@/components/ui",
"lib": "@/lib",
"hooks": "@/hooks"
}
}
62 changes: 59 additions & 3 deletions web/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,12 @@
"@types/react-dom": "18.0.11",
"@types/uuid": "^9.0.8",
"autoprefixer": "^10.4.14",
"class-variance-authority": "^0.7.0",
"clsx": "^2.1.1",
"formik": "^2.2.9",
"js-cookie": "^3.0.5",
"lodash": "^4.17.21",
"lucide-react": "^0.454.0",
"mdast-util-find-and-replace": "^3.0.1",
"next": "^14.2.3",
"npm": "^10.8.0",
Expand All @@ -49,7 +52,9 @@
"sharp": "^0.33.5",
"stripe": "^17.0.0",
"swr": "^2.1.5",
"tailwind-merge": "^2.5.4",
"tailwindcss": "^3.3.1",
"tailwindcss-animate": "^1.0.7",
"typescript": "5.0.3",
"uuid": "^9.0.1",
"yup": "^1.1.1"
Expand Down
1 change: 1 addition & 0 deletions web/src/app/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,7 @@
/* gray-50 */
--dark-tremor-content-inverted: #000000;
/* black */
--radius: 0.5rem;
}
}

Expand Down
6 changes: 6 additions & 0 deletions web/src/lib/utils.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import { clsx, type ClassValue } from "clsx";
import { twMerge } from "tailwind-merge";

export function cn(...inputs: ClassValue[]) {
return twMerge(clsx(inputs));
}

0 comments on commit 7cccb77

Please sign in to comment.