Skip to content

Commit b8b6eab

Browse files
committed
Added TailwindCSS
1 parent d8ced49 commit b8b6eab

File tree

10 files changed

+311
-6
lines changed

10 files changed

+311
-6
lines changed

.vscode/css_custom_data.json

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
{
2+
"atDirectives": [
3+
{
4+
"name": "@tailwind",
5+
"description": "Use the @tailwind directive to insert Tailwind’s `base`, `components`, `utilities`, and `screens` styles into your CSS.",
6+
"references": [
7+
{
8+
"name": "Tailwind’s “Functions & Directives” documentation",
9+
"url": "https://tailwindcss.com/docs/functions-and-directives/#tailwind"
10+
}
11+
]
12+
},
13+
{
14+
"name": "@layer",
15+
"description": "Tailwind's directive which denotes which 'bucket' a set of custom styles belongs to",
16+
"references": [
17+
{
18+
"name": "Tailwind’s “Functions & Directives” documentation",
19+
"url": "https://tailwindcss.com/docs/functions-and-directives/#layer"
20+
}
21+
]
22+
},
23+
{
24+
"name": "@apply",
25+
"description": "Tailwind's directive used to inline any existing utility classes into your own custom CSS.",
26+
"references": [
27+
{
28+
"name": "Tailwind’s “Functions & Directives” documentation",
29+
"url": "https://tailwindcss.com/docs/functions-and-directives/#apply"
30+
}
31+
]
32+
}
33+
]
34+
}

.vscode/settings.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
{
2+
"css.validate": false,
3+
"css.customData": [".vscode/css_custom_data.json"],
24
"eslint.validate": [
35
"javascript",
46
"javascriptreact",

package.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
"@types/jest": "^26.0.20",
3030
"@typescript-eslint/eslint-plugin": "^4.12.0",
3131
"@typescript-eslint/parser": "^4.12.0",
32+
"autoprefixer": "^10.2.1",
3233
"babel-loader": "^8.2.2",
3334
"babel-preset-solid": "^0.23.8",
3435
"clean-webpack-plugin": "^3.0.0",
@@ -51,8 +52,11 @@
5152
"jest": "^26.6.3",
5253
"mini-css-extract-plugin": "^1.3.3",
5354
"open-cli": "^6.0.1",
55+
"postcss": "^8.2.4",
56+
"postcss-loader": "^4.1.0",
5457
"prettier": "^2.2.1",
5558
"style-loader": "^2.0.0",
59+
"tailwindcss": "^2.0.2",
5660
"terser-webpack-plugin": "^5.1.1",
5761
"ts-jest": "^26.4.4",
5862
"ts-node": "^9.1.1",

0 commit comments

Comments
 (0)