Skip to content

Commit cbab8c9

Browse files
committed
chore(visualizer): add tailwindcss
1 parent 12c8da7 commit cbab8c9

File tree

4 files changed

+20
-0
lines changed

4 files changed

+20
-0
lines changed

packages/json-table-schema-visualizer/package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,11 @@
2121
"@storybook/react": "^8.0.4",
2222
"@storybook/react-vite": "^8.0.4",
2323
"@storybook/test": "^8.0.4",
24+
"autoprefixer": "^10.4.19",
25+
"postcss": "^8.4.38",
2426
"prop-types": "^15.8.1",
2527
"storybook": "^8.0.4",
28+
"tailwindcss": "^3.4.3",
2629
"typescript": "^5.4.3",
2730
"vite": "^5.2.6"
2831
},
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
module.exports = {
2+
plugins: {
3+
tailwindcss: {},
4+
autoprefixer: {},
5+
},
6+
};
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
@tailwind base;
2+
@tailwind utilities;
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
/** @type {import('tailwindcss').Config} */
2+
module.exports = {
3+
content: ["./index.html", "./src/**/*.{js,ts,jsx,tsx}"],
4+
theme: {
5+
extend: {},
6+
},
7+
plugins: [],
8+
darkMode: "selector",
9+
};

0 commit comments

Comments
 (0)