Skip to content

Commit 23ac6ff

Browse files
committed
Add Tailwind CSS and related plugins for enhanced styling capabilities
1 parent 77c9c76 commit 23ac6ff

File tree

3 files changed

+8
-0
lines changed

3 files changed

+8
-0
lines changed

package.json

+3
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
"@mui/icons-material": "^6.4.6",
1818
"@mui/joy": "^5.0.0-beta.51",
1919
"@mui/material": "^6.4.6",
20+
"@tailwindcss/vite": "^4.0.9",
2021
"@tanstack/react-query": "^5.66.9",
2122
"i18next": "^24.2.2",
2223
"i18next-chained-backend": "^4.6.2",
@@ -33,6 +34,7 @@
3334
"rehype-raw": "^7.0.0",
3435
"remark-gfm": "^4.0.1",
3536
"shade-generator": "^1.2.7",
37+
"tailwindcss": "^4.0.9",
3638
"vite-plugin-checker": "^0.9.0",
3739
"zustand": "^5.0.3"
3840
},
@@ -47,6 +49,7 @@
4749
"eslint": "^9.21.0",
4850
"eslint-plugin-react-hooks": "^5.1.0",
4951
"eslint-plugin-react-refresh": "^0.4.19",
52+
"tailwindcss-motion": "^1.1.0",
5053
"typescript": "^5.7.3",
5154
"vite": "^6.2.0",
5255
"vite-plugin-pwa": "^0.21.1"

src/index.css

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
@import "tailwindcss";
2+
@plugin "tailwindcss-motion";
3+
14
:root {
25
background-color: #242424;
36
}

vite.config.ts

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import tailwindcss from "@tailwindcss/vite";
12
import react from "@vitejs/plugin-react";
23
import { defineConfig } from "vite";
34
import checker from "vite-plugin-checker";
@@ -10,6 +11,7 @@ export default defineConfig({
1011
checker({
1112
typescript: true,
1213
}),
14+
tailwindcss(),
1315
VitePWA({
1416
// you can generate the icons using: https://favicon.io/favicon-converter/
1517
// and the maskable icon using: https://progressier.com/maskable-icons-editor

0 commit comments

Comments
 (0)