Upgrade to Tailwind CSS v4

This commit is contained in:
2026-04-18 15:53:20 -04:00
parent ed64a283f8
commit d35737ac92
11 changed files with 347 additions and 837 deletions
+1 -1
View File
@@ -2,6 +2,6 @@
"success": true, "success": true,
"clones": [], "clones": [],
"duplicatedLines": 0, "duplicatedLines": 0,
"totalLines": 684, "totalLines": 681,
"percentage": 0 "percentage": 0
} }
+1 -1
View File
@@ -1,3 +1,3 @@
{ {
"timestamp": "2026-04-18T19:51:40.225Z" "timestamp": "2026-04-18T19:53:09.821Z"
} }
+1 -1
View File
@@ -1,3 +1,3 @@
{ {
"timestamp": "2026-04-18T19:51:41.484Z" "timestamp": "2026-04-18T19:53:11.171Z"
} }
+1 -1
View File
@@ -1,3 +1,3 @@
{ {
"signature": "src/styles.css::📐 Cascade errors in 2 other file(s) — fix before finishing turn:\n<diagnostics file=\"src/App.tsx\">\n line 4, col 24 code=2307: Cannot find module './sections/Philosophy' or its corresponding type declarations.\n</diagnostics>\n<diagnostics file=\"src/sections/SkillsGallery.tsx\">\n line 1, col 41 code=2307: Cannot find module 'lucide-react' or its corresponding type declarations.\n</diagnostics>" "signature": "postcss.config.js|src/styles.css::📐 Cascade errors in 1 other file(s) — fix before finishing turn:\n<diagnostics file=\"src/styles.css\">\n line 1, col 2 code=lint/suspicious/noUnknownAtRules: Unexpected unknown at-rule: tailwind \n line 2, col 2 code=lint/suspicious/noUnknownAtRules: Unexpected unknown at-rule: tailwind \n line 3, col 2 code=lint/suspicious/noUnknownAtRules: Unexpected unknown at-rule: tailwind \n</diagnostics>"
} }
+1 -1
View File
@@ -1,3 +1,3 @@
{ {
"timestamp": "2026-04-18T19:12:28.804Z" "timestamp": "2026-04-18T19:53:03.908Z"
} }
+1 -1
View File
@@ -1,3 +1,3 @@
{ {
"timestamp": "2026-04-18T19:12:31.358Z" "timestamp": "2026-04-18T19:53:09.823Z"
} }
+1 -1
View File
@@ -2,5 +2,5 @@
"files": {}, "files": {},
"turnCycles": 0, "turnCycles": 0,
"maxCycles": 3, "maxCycles": 3,
"lastUpdated": "2026-04-18T19:51:41.484Z" "lastUpdated": "2026-04-18T19:53:11.171Z"
} }
+336 -824
View File
File diff suppressed because it is too large Load Diff
+2 -1
View File
@@ -19,6 +19,7 @@
"react-dom": "^19.2.5" "react-dom": "^19.2.5"
}, },
"devDependencies": { "devDependencies": {
"@tailwindcss/postcss": "^4.2.2",
"@types/react": "^19.2.14", "@types/react": "^19.2.14",
"@types/react-dom": "^19.2.3", "@types/react-dom": "^19.2.3",
"@vitejs/plugin-react": "^6.0.1", "@vitejs/plugin-react": "^6.0.1",
@@ -28,7 +29,7 @@
"lucide-react": "^1.8.0", "lucide-react": "^1.8.0",
"mammoth": "^1.12.0", "mammoth": "^1.12.0",
"postcss": "^8.5.10", "postcss": "^8.5.10",
"tailwindcss": "^3.4.19", "tailwindcss": "^4.2.2",
"tesseract.js": "^7.0.0", "tesseract.js": "^7.0.0",
"typescript": "^6.0.3", "typescript": "^6.0.3",
"vite": "^8.0.8" "vite": "^8.0.8"
+1 -2
View File
@@ -1,6 +1,5 @@
export default { export default {
plugins: { plugins: {
tailwindcss: {}, '@tailwindcss/postcss': {},
autoprefixer: {},
}, },
} }
+1 -3
View File
@@ -1,6 +1,4 @@
@tailwind base; @import "tailwindcss";
@tailwind components;
@tailwind utilities;
:root { :root {
color-scheme: light; color-scheme: light;