Skip to content

Commit 6358864

Browse files
committed
Update
1 parent f1d7e0d commit 6358864

4 files changed

Lines changed: 23 additions & 18 deletions

File tree

.github/docs-theme/src/input.css

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
@tailwind base;
2+
@tailwind components;
3+
@tailwind utilities;

docs/docs-theme/package.json

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
{
22
"name": "docs-theme",
33
"version": "1.0.0",
4-
"description": "",
5-
"license": "ISC",
6-
"author": "",
7-
"type": "commonjs",
8-
"main": "tailwind.config.js",
94
"scripts": {
10-
"test": "echo \"Error: no test specified\" && exit 1"
5+
"build": "tailwindcss -i src/input.css -o ../public/css/docs.css --minify"
6+
},
7+
"devDependencies": {
8+
"tailwindcss": "^3.4.3",
9+
"@tailwindcss/typography": "^0.5.13"
1110
}
12-
}
11+
}

docs/docs-theme/tailwind.config.js

Lines changed: 14 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,17 @@
11
module.exports = {
2-
content: [
3-
'../public/**/*.html',
4-
'../templates/**/*.twig'
5-
],
6-
theme: {
7-
extend: {
8-
colors: {
9-
'wp-blue': '#21759b',
10-
'wp-gray': '#f1f1f1'
11-
}
2+
content: [
3+
"../public/**/*.html",
4+
"../templates/**/*.twig"
5+
],
6+
theme: {
7+
extend: {
8+
colors: {
9+
'wp-blue': '#21759b',
10+
'wp-gray': '#f1f1f1'
1211
}
1312
}
14-
}
13+
},
14+
plugins: [
15+
require('@tailwindcss/typography')
16+
]
17+
}

docs/public/css/pf

Whitespace-only changes.

0 commit comments

Comments
 (0)