Skip to content

Commit

Permalink
fix: use flatten-tailwindcss-theme v1
Browse files Browse the repository at this point in the history
  • Loading branch information
phuctm97 committed Apr 27, 2022
1 parent 7185dd7 commit a977338
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 13 deletions.
11 changes: 3 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,8 @@ module.exports = {
// ...
plugins: [
require("tailwindcss-shadow-fill"),
// Other plugins.
// ...other plugins.
],
variants: {
extend: {
shadowFill: ["dark"], // Enable variants.
},
},
};
```

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

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

---
## Author

Made by [@phuctm97].
- [Minh-Phuc Tran][@phuctm97]

<!-- Badges -->

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"prepare": "husky install"
},
"dependencies": {
"flatten-tailwindcss-theme": "^0.1.1"
"flatten-tailwindcss-theme": "^1.0.0"
},
"peerDependencies": {
"tailwindcss": ">=2.0.0"
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1880,10 +1880,10 @@ flatted@^3.1.0:
resolved "https://registry.yarnpkg.com/flatted/-/flatted-3.2.5.tgz#76c8584f4fc843db64702a6bd04ab7a8bd666da3"
integrity sha512-WIWGi2L3DyTUvUrwRKgGi9TwxQMUEqPOPQBVi71R96jZXJdFskXEmf54BoZaS1kknGODoIGASGEzBUYdyMCBJg==

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

from2@^2.3.0:
version "2.3.0"
Expand Down

0 comments on commit a977338

Please sign in to comment.