liferay / clay

A web implementation of the Lexicon Experience Language
http://clayui.com
Other
208 stars 483 forks source link

LPD-33629 $modal-palette map should output pseudo classes for .close #5856

Closed pat270 closed 3 months ago

pat270 commented 3 months ago
- Added pseudo class and element keywords to filter for in the mixin `clay-map-to-css`

https://liferay.atlassian.net/browse/LPD-33629

Added a work around to make keys like hover, focus, disabled work when recursively generating selectors, but we should start encouraging using key names wrapped in quotes like '&:hover'.

ethib137 commented 3 months ago

Thanks @pat270 ! In order to encourage this usage and in general to encourage this way of extending Clay, could you create a ticket for updating our documentation related to this?

matuzalemsteles commented 3 months ago

I'll merge this to add to today's release.