Skip to content

Commit e3e8e69

Browse files
Revert Update to tailwind v4
1 parent 0421b06 commit e3e8e69

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

84 files changed

+959
-744
lines changed

.storybook/preview.ts

Lines changed: 35 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,39 @@
1-
import type { Preview } from "@storybook/react"
2-
import { themes } from "@storybook/theming"
1+
import type { Preview } from "@storybook/react";
2+
import { themes } from "@storybook/theming";
33

4-
import "../src/index.css"
4+
import "../src/globals.css";
55

66
const preview: Preview = {
7-
parameters: {
8-
controls: {
9-
matchers: {
10-
color: /(background|color)$/i,
11-
date: /Date$/i,
12-
},
13-
},
14-
docs: {
15-
theme: window.matchMedia("(prefers-color-scheme: dark)").matches
16-
? themes.dark
17-
: themes.light,
18-
},
19-
backgrounds: {
20-
default: "white",
21-
values: [
22-
{
23-
name: "white",
24-
value: "#ffffff",
25-
},
26-
{
27-
name: "gray 950",
28-
value: "#030712",
29-
},
30-
{
31-
name: "gray 900",
32-
value: "#111827",
33-
},
34-
],
35-
},
36-
},
37-
}
7+
parameters: {
8+
controls: {
9+
matchers: {
10+
color: /(background|color)$/i,
11+
date: /Date$/i,
12+
},
13+
},
14+
docs: {
15+
theme: window.matchMedia("(prefers-color-scheme: dark)").matches
16+
? themes.dark
17+
: themes.light,
18+
},
19+
backgrounds: {
20+
default: "white",
21+
values: [
22+
{
23+
name: "white",
24+
value: "#ffffff",
25+
},
26+
{
27+
name: "gray 950",
28+
value: "#030712",
29+
},
30+
{
31+
name: "gray 900",
32+
value: "#111827",
33+
},
34+
],
35+
},
36+
},
37+
};
3838

39-
export default preview
39+
export default preview;

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,21 +58,21 @@
5858
"@storybook/blocks": "^8.6.11",
5959
"@storybook/react": "^8.6.11",
6060
"@storybook/react-vite": "^8.6.11",
61+
"@tailwindcss/postcss": "^4.1.3",
6162
"@types/node": "^22.13.14",
6263
"@types/react": "^18.3.20",
6364
"@types/react-dom": "^18.3.5",
6465
"@typescript-eslint/eslint-plugin": "^8.28.0",
6566
"@typescript-eslint/parser": "^8.28.0",
6667
"@vitejs/plugin-react": "^4.3.4",
67-
"autoprefixer": "^10.4.21",
6868
"eslint": "^8.57.1",
6969
"eslint-plugin-react-hooks": "^4.6.2",
7070
"eslint-plugin-react-refresh": "^0.4.19",
7171
"eslint-plugin-storybook": "^0.11.6",
7272
"postcss": "^8.5.3",
7373
"prettier": "3.3.3",
7474
"storybook": "^8.6.11",
75-
"tailwindcss": "^3.4.17",
75+
"tailwindcss": "^4.1.3",
7676
"typescript": "^5.8.2",
7777
"vite": "^5.4.15",
7878
"vite-tsconfig-paths": "^5.1.4",

0 commit comments

Comments
 (0)