Open silveltman opened 2 years ago
@silveltman I think you're using the v1 of the plugin since v2 is marked as beta on npm.
If you want to use v1 you'll have to require the plugin like this:
require('tailwindcss-text-fill-stroke')()
If you want to use v2 (which is the one with support for arbitrary values and all of the cool things from TailwindCSS v3), you can try installing tailwindcss-text-fill-stroke@beta
.
Sorry for the inconvenience. I published this as a beta expecting to hear back from some of the users that encountered the same issues you pointed out but they never got back to me. If this is something you're planning on using on a current project, I'd love to hear if everything works as you'd expect once running the beta
tag.
I'll look into adding a playground demo before moving out of beta and, hopefully at a later date, support for using it with custom properties to better align its usage to other color-related plugins from core.
@hacknug Regarding the beta, I'm only using it for -webkit-text-fill-color
, but it works as expected. The only change I needed for the upgrade was to remove the ()
from the require.
I appreciate the additional flexibility of arbitrary values and the lower number of sub-dependencies.
The beta version appears to be working fine in my project as well.
Is there an ETA for when beta will be released as the official version?
@hacknug would be nice to see an official release of the beta 👀
I've setup correctly (I believe), but the plugin is not doing anything.
tailwind.config.js:
markup: