From a97733880854b8a69b85bce714c13e9f23f41347 Mon Sep 17 00:00:00 2001 From: Minh-Phuc Tran <25026967+phuctm97@users.noreply.github.com> Date: Wed, 27 Apr 2022 16:34:45 +0700 Subject: [PATCH] fix: use flatten-tailwindcss-theme v1 --- README.md | 11 +++-------- package.json | 2 +- yarn.lock | 8 ++++---- 3 files changed, 8 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index f16c555..d64388c 100644 --- a/README.md +++ b/README.md @@ -32,13 +32,8 @@ module.exports = { // ... plugins: [ require("tailwindcss-shadow-fill"), - // Other plugins. + // ...other plugins. ], - variants: { - extend: { - shadowFill: ["dark"], // Enable variants. - }, - }, }; ``` @@ -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] diff --git a/package.json b/package.json index 39c3f57..bccbe56 100644 --- a/package.json +++ b/package.json @@ -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" diff --git a/yarn.lock b/yarn.lock index c99d19e..505f80e 100644 --- a/yarn.lock +++ b/yarn.lock @@ -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"