Skip to content

Commit 5ccba57

Browse files
committed
refactor: Update Tailwind CSS integration and clean up configuration files
1 parent 52ff71c commit 5ccba57

File tree

4 files changed

+6
-5
lines changed

4 files changed

+6
-5
lines changed

packages/web/app/globals.css

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
/* All @import statements must come first - CSS specification requirement */
2-
@import "tailwindcss";
2+
@tailwind base;
3+
@tailwind components;
4+
@tailwind utilities;
35

46
@import './styles/base.css';
57
@import './styles/layout.css';

packages/web/package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
"typeorm": "0.3.25",
5454
"ws": "^8.14.2",
5555
"zod": "^3.25.67",
56-
"@tailwindcss/postcss": "4.1.11"
56+
"tailwindcss": "^3.4.17"
5757
},
5858
"devDependencies": {
5959
"@types/node": "^20.10.6",
@@ -68,7 +68,6 @@
6868
"postcss": "^8.5.6",
6969
"recharts": "^2.10.3",
7070
"rimraf": "^5.0.5",
71-
"tailwindcss": "^3.4.17",
7271
"typescript": "^5.3.3"
7372
},
7473
"keywords": [

packages/web/postcss.config.mjs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
const config = {
22
plugins: {
3-
'@tailwindcss/postcss': {},
3+
tailwindcss: {},
4+
autoprefixer: {},
45
},
56
};
67

packages/web/tailwind.config.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,4 +87,3 @@ module.exports = {
8787
},
8888
plugins: [require("tailwindcss-animate"), require('@tailwindcss/typography')],
8989
}
90-

0 commit comments

Comments
 (0)