chromaui / storybook-addon-pseudo-states

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

Fix issue with pseudo classes #82

Open SalimBensiali opened 1 year ago

SalimBensiali commented 1 year ago

Follow up of #45

SalimBensiali commented 1 year ago

Hi @ghengeveld would love your review of this fix. It is another case of the same issue described and fixed in #45

SalimBensiali commented 1 year ago

Or maybe @shilman ?

imagoiq commented 11 months ago

Could you add as well ::-moz-range-thumb? Should we think differently about all those prefixed properties?

ghengeveld commented 11 months ago

I think we shouldn't apply pseudo style overrides to any pseudo classes that are applied to pseudo elements (::), because there will never be a classname applied to pseudo elements (e.g. ::after.pseudo-hover is never valid).