svengau / tailwindcss-hero-patterns

A simple tailwind plugin to display Hero Patterns by @steveschoger.
95 stars 6 forks source link

Bug fix for sveltekit/typescript users. #5

Closed Derek-Devs closed 1 year ago

Derek-Devs commented 1 year ago

Replaced method call to 'color.toString().replace("#", "%23")' on line 38 of index.js. Resolved the error: [postcss] color.replace is not a function

(This will allow the plugin to play nice with Typescript/Sveltekit, and should not effect other technologies using this plugin.)

Derek-Devs commented 1 year ago

Hello,

Just checking on when this may be published. I used a tarball to make this fix work on my site but it may hold up development if another dev uses this plugin with a similar tech stack.

svengau commented 1 year ago

Hey @Derek-Devs, sorry for the delay, I've just published v0.0.2