feat(lib/merge-clsx): create mergeClsx lib method that uses clsx and merges tailwind classes
Showing
lib/.gitkeep
deleted
100644 → 0
lib/merge-clsx.ts
0 → 100644
... | @@ -16,6 +16,7 @@ | ... | @@ -16,6 +16,7 @@ |
"@types/react": "^19.0.8", | "@types/react": "^19.0.8", | ||
"autoprefixer": "^10.4.20", | "autoprefixer": "^10.4.20", | ||
"classnames": "^2.5.1", | "classnames": "^2.5.1", | ||
"clsx": "^2.1.1", | |||
"color2k": "^2.0.3", | "color2k": "^2.0.3", | ||
"framer-motion": "^12.4.2", | "framer-motion": "^12.4.2", | ||
"next": "^15.1.7", | "next": "^15.1.7", | ||
... | @@ -23,6 +24,7 @@ | ... | @@ -23,6 +24,7 @@ |
"react": "^19.0.0", | "react": "^19.0.0", | ||
"react-dom": "^19.0.0", | "react-dom": "^19.0.0", | ||
"sharp": "^0.33.5", | "sharp": "^0.33.5", | ||
"tailwind-merge": "^2.6.0", | |||
"tailwindcss": "^3.4.1", | "tailwindcss": "^3.4.1", | ||
"typescript": "^5.7.3" | "typescript": "^5.7.3" | ||
}, | }, | ||
... | @@ -50,5 +52,6 @@ | ... | @@ -50,5 +52,6 @@ |
"storybook": "^8.5.4", | "storybook": "^8.5.4", | ||
"storybook-dark-mode": "^4.0.2", | "storybook-dark-mode": "^4.0.2", | ||
"webpack-bundle-analyzer": "^4.10.2" | "webpack-bundle-analyzer": "^4.10.2" | ||
} | }, | ||
"packageManager": "pnpm@10.4.1+sha512.c753b6c3ad7afa13af388fa6d808035a008e30ea9993f58c6663e2bc5ff21679aa834db094987129aa4d488b86df57f7b634981b2f827cdcacc698cc0cfb88af" | |||
} | } |
Please
register
or
sign in
to comment