Skip to content

Commit 8b8fadc

Browse files
committed
chore: remove styled-components and install tailwind
- Also update @kleros/ui-components-library to latest version
1 parent bc5502a commit 8b8fadc

File tree

3 files changed

+2564
-412
lines changed

3 files changed

+2564
-412
lines changed

web/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,6 @@
5151
"@types/react": "^18.3.12",
5252
"@types/react-dom": "^18.3.1",
5353
"@types/react-modal": "^3.16.3",
54-
"@types/styled-components": "^5.1.34",
5554
"@typescript-eslint/eslint-plugin": "^5.62.0",
5655
"@typescript-eslint/parser": "^5.62.0",
5756
"@typescript-eslint/utils": "^5.62.0",
@@ -71,11 +70,12 @@
7170
"@cyntler/react-doc-viewer": "^1.17.0",
7271
"@kleros/curate-v2-templates": "workspace:^",
7372
"@kleros/kleros-app": "^2.0.2",
74-
"@kleros/ui-components-library": "^2.20.0",
73+
"@kleros/ui-components-library": "^3.6.0",
7574
"@reown/appkit": "^1.6.6",
7675
"@reown/appkit-adapter-wagmi": "^1.6.6",
7776
"@sentry/react": "^7.93.0",
7877
"@sentry/tracing": "^7.93.0",
78+
"@tailwindcss/vite": "^4.1.16",
7979
"@tanstack/react-query": "^5.66.0",
8080
"@web3modal/ethereum": "^2.7.1",
8181
"@web3modal/wagmi": "^5.1.6",
@@ -103,8 +103,8 @@
103103
"react-scripts": "^5.0.1",
104104
"react-toastify": "^9.1.3",
105105
"react-use": "^17.4.3",
106-
"styled-components": "^5.3.11",
107106
"subgraph-status": "^1.2.4",
107+
"tailwindcss": "^4.1.16",
108108
"viem": "^2.27.2",
109109
"wagmi": "^2.14.10",
110110
"zod": "^3.24.2"

web/vite.config.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ import { defineConfig } from "vite";
22
import { nodePolyfills } from "vite-plugin-node-polyfills";
33
import svgr from "vite-plugin-svgr";
44
import tsconfigPaths from "vite-tsconfig-paths";
5+
import tailwindcss from "@tailwindcss/vite";
56

67
export default defineConfig({
78
root: "src",
@@ -28,5 +29,6 @@ export default defineConfig({
2829
nodePolyfills({
2930
include: ["fs", "stream"],
3031
}),
32+
tailwindcss(),
3133
],
3234
});

0 commit comments

Comments
 (0)