You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
every theming framework I know - bootstrap, foundation, tailwind - relies heavily on interchangeable classes to style UI elements.
since plone 6 uses Bootstrap 5, it would be very useful to be able to replace css classes for a theme on the fly using diazo.
diazo promises to keep you away from xsl, but all solutions I found are heavy xsl rules, copies of attribute contents, mind boggling stuff.
eg: if you have this:
<divclass="class-a CLASS-B">...</div>
and want that to become this:
<divclass="class-a CLASS-C">...</div>
maybe adding params to <drop>|<replace>|<merge>?
a better DX would be awesome!
The text was updated successfully, but these errors were encountered:
every theming framework I know - bootstrap, foundation, tailwind - relies heavily on interchangeable classes to style UI elements.
since plone 6 uses Bootstrap 5, it would be very useful to be able to replace css classes for a theme on the fly using diazo.
diazo promises to keep you away from xsl, but all solutions I found are heavy xsl rules, copies of attribute contents, mind boggling stuff.
eg: if you have this:
and want that to become this:
maybe adding params to
<drop>|<replace>|<merge>
?a better DX would be awesome!
The text was updated successfully, but these errors were encountered: