chromaui / storybook-addon-pseudo-states

CSS pseudo-classes for Storybook
MIT License
88 stars 28 forks source link

Correctly replace pseudo states when multiple colons in classname #80

Open mitchellklijs opened 1 year ago

mitchellklijs commented 1 year ago

Fixes https://github.com/chromaui/storybook-addon-pseudo-states/issues/79

When replacing the pseudostates (like :hover) specifically look only at the end of the selector instead of the whole selector.

cjayyy commented 10 months ago

May I ask what is missing here for the fix to be deployed? As from other discussions this (unability to combine with TailwindCSS/emotion) is problem for many people. Can we somehow help to get the fix into the production? 🙏