
Actually, that turned out to be pretty easy. Now up on Hackage as
shakespeare-2.0.3. Let me know if there are problems.
On Wed Jan 14 2015 at 8:44:34 AM Michael Snoyman
One answer is that Cassius is just a thin wrapper on top of Lucius. You can use a Lucius mixin with Cassius just fine. It's essentially an API oversight that there's no equivalent cassiusMixin function. I'll probably add one in the next few days, thanks for pointing it out.
On Wed Jan 14 2015 at 2:14:26 AM Antoni Boucher
wrote: Hello.
How can I create a CSS mixin with Cassius (from Yesod Haskell Web Framework) ?
For instance, this code:
transition val = [cassiusMixin| -webkit-transition: #{val} -moz-transition: #{val} -ms-transition: #{val} -o-transition: #{val} transition: #{val} |]
does not work because cassiusMixin does not exist.
Is there a way to create a mixin with cassius?
If not, is cassius a limited version of lucius?
Thanks. _______________________________________________ web-devel mailing list web-devel@haskell.org http://www.haskell.org/mailman/listinfo/web-devel