feat: refactor setup tailwind and css

This commit is contained in:
Firman Ramdhani
2026-02-27 13:34:59 +07:00
parent 8bfa66111a
commit 8181bd61ec
8 changed files with 28 additions and 59 deletions
+11 -5
View File
@@ -2,8 +2,10 @@
"name": "@repo/ui",
"version": "0.0.0",
"exports": {
".": "./src/index.ts",
"./global.css": "./src/globals.css"
"./theme.css": "./src/theme.css",
"./components/*": "./src/components/*.tsx",
"./hooks/*": "./src/hooks/*.ts",
"./utils/*": "./src/utils/*.ts"
},
"license": "MIT",
"scripts": {
@@ -11,12 +13,13 @@
"test": "vitest run",
"test:watch": "vitest --watch"
},
"peerDependencies": {
"react": "^19.2.3",
"react-dom": "^19.2.3"
},
"dependencies": {
"@repo/utils": "workspace:*",
"@tailwindcss/vite": "^4.1.18",
"dayjs": "^1.11.19",
"react": "^19.2.3",
"react-dom": "^19.2.3",
"tailwind-merge": "^3.4.0",
"tailwind-variants": "^3.2.2",
"tailwindcss": "^4.1.18"
@@ -24,10 +27,13 @@
"devDependencies": {
"@repo/eslint-config": "workspace:*",
"@repo/typescript-config": "workspace:*",
"@tailwindcss/vite": "^4.1.18",
"@types/react": "^19.2.7",
"@types/react-dom": "^19.2.3",
"@vitejs/plugin-react": "^5.1.2",
"eslint": "^8.57.1",
"react": "^19.2.3",
"react-dom": "^19.2.3",
"typescript": "5.5.4",
"vite": "^5.1.4",
"vitest": "^4.0.17"
-4
View File
@@ -1,4 +0,0 @@
export * from './system-pages/coming-soon';
export * from './system-pages/forbidden';
export * from './system-pages/maintenance';
export * from './system-pages/not-found';
-2
View File
@@ -1,2 +0,0 @@
// UI Components
export * from './components';
@@ -1,6 +1,3 @@
@import 'tailwindcss';
@source "../src";
/* =========================================
THEME VARIABLES (CENTRALIZED)
========================================= */