Skip to content

Commit 2a9f63c

Browse files
Merge pull request #20 from hasan-almujtaba/feat/add-tailwind-plugin
feat: add tailwind plugins
2 parents 99286d5 + 9f9d6ca commit 2a9f63c

File tree

6 files changed

+71
-3
lines changed

6 files changed

+71
-3
lines changed

.vscode/extensions.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@
77
"streetsidesoftware.code-spell-checker",
88
"bungcip.better-toml",
99
"bradlc.vscode-tailwindcss",
10-
"wayou.vscode-todo-highlight"
10+
"wayou.vscode-todo-highlight",
11+
"csstools.postcss",
12+
"vue.vscode-typescript-vue-plugin",
13+
"vivaxy.vscode-conventional-commits"
1114
]
1215
}

.vscode/settings.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,6 @@
1515
"backgroundColor": "#e74c3c",
1616
"color": "#fff"
1717
}
18-
]
18+
],
19+
"css.lint.unknownAtRules": "ignore"
1920
}

package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@
2626
"devDependencies": {
2727
"@hasan-almujtaba/eslint-config": "^0.0.1",
2828
"@iconify/json": "^2.1.140",
29+
"@tailwindcss/forms": "^0.5.3",
30+
"@tailwindcss/line-clamp": "^0.4.2",
31+
"@tailwindcss/typography": "^0.5.8",
2932
"@testing-library/jest-dom": "^5.16.5",
3033
"@types/node": "^18.11.9",
3134
"@vitejs/plugin-vue": "^3.2.0",

pnpm-lock.yaml

Lines changed: 56 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

postcss.config.cjs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
module.exports = {
22
plugins: {
3+
'tailwindcss/nesting': {},
34
tailwindcss: {},
45
autoprefixer: {},
56
},

tailwind.config.cjs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,9 @@ module.exports = {
88
padding: '2rem',
99
},
1010
},
11-
plugins: [],
11+
plugins: [
12+
require('@tailwindcss/typography'),
13+
require('@tailwindcss/forms'),
14+
require('@tailwindcss/line-clamp'),
15+
],
1216
}

0 commit comments

Comments
 (0)