Skip to content

Commit a977338

Browse files
committed
fix: use flatten-tailwindcss-theme v1
1 parent 7185dd7 commit a977338

File tree

3 files changed

+8
-13
lines changed

3 files changed

+8
-13
lines changed

README.md

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,8 @@ module.exports = {
3232
// ...
3333
plugins: [
3434
require("tailwindcss-shadow-fill"),
35-
// Other plugins.
35+
// ...other plugins.
3636
],
37-
variants: {
38-
extend: {
39-
shadowFill: ["dark"], // Enable variants.
40-
},
41-
},
4237
};
4338
```
4439

@@ -72,9 +67,9 @@ Style your components using `shadow-fill-{color}`, e.g. `shadow-fill-gray-100`,
7267

7368
- When a PR is merged or code is pushed to `master`, Github automatically builds and publishes a new release if there're relevant changes
7469

75-
---
70+
## Author
7671

77-
Made by [@phuctm97].
72+
- [Minh-Phuc Tran][@phuctm97]
7873

7974
<!-- Badges -->
8075

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"prepare": "husky install"
2525
},
2626
"dependencies": {
27-
"flatten-tailwindcss-theme": "^0.1.1"
27+
"flatten-tailwindcss-theme": "^1.0.0"
2828
},
2929
"peerDependencies": {
3030
"tailwindcss": ">=2.0.0"

yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1880,10 +1880,10 @@ flatted@^3.1.0:
18801880
resolved "https://registry.yarnpkg.com/flatted/-/flatted-3.2.5.tgz#76c8584f4fc843db64702a6bd04ab7a8bd666da3"
18811881
integrity sha512-WIWGi2L3DyTUvUrwRKgGi9TwxQMUEqPOPQBVi71R96jZXJdFskXEmf54BoZaS1kknGODoIGASGEzBUYdyMCBJg==
18821882

1883-
flatten-tailwindcss-theme@^0.1.1:
1884-
version "0.1.1"
1885-
resolved "https://registry.yarnpkg.com/flatten-tailwindcss-theme/-/flatten-tailwindcss-theme-0.1.1.tgz#c74a06aeb98e110b8f711ec26a973be74fc62a0b"
1886-
integrity sha512-H4VV6pXPVX+NZMy4Ddky+Ae3y8hRrDmYn1piauHx3nPWa/4YS6ufL2G4crxqisGawHGztSTJ5TjZkmiyTA035Q==
1883+
flatten-tailwindcss-theme@^1.0.0:
1884+
version "1.0.0"
1885+
resolved "https://registry.yarnpkg.com/flatten-tailwindcss-theme/-/flatten-tailwindcss-theme-1.0.0.tgz#e1ce77c4b4979fe432e799cc2dad469a7a664b86"
1886+
integrity sha512-7B795m0qzLF0yQYGkfGanO3NOisEI4EaVObnr3DBq7Qc8Ygq4yWGa0Gpx2rtb10NSgIcimUqu4Xaqh+0bkC87w==
18871887

18881888
from2@^2.3.0:
18891889
version "2.3.0"

0 commit comments

Comments
 (0)