News for hackers. Stuff that matters.
Re:MUI – Lightweight Web/Email CSS Framework by nailer on Tuesday March 03, 2015 @06:46AM (#9137187)
> 'mui-btn mui-btn-default mui-btn-flat mui-btn-lg'

This would be better implemented via mixins. Eg, the a element has the class 'download-button', which has all the additional visual elements mixed in via sass/less/stylus. There's a small overhead in file size, but it allows you to keep all the visual settings in a single place (the stylesheet) rather than two (the stylesheet and the HTML).

Re:MUI – Lightweight Web/Email CSS Framework by andres on Tuesday March 03, 2015 @06:48AM (#9137195)
You can use mixins from the source SASS files to do most of this. I was thinking about formalizing it and including it in the documentation but I wanted to get some feedback first.

https://github.com/amorey/mui/blob/master/src/sass/mui/_butt...

Re:MUI – Lightweight Web/Email CSS Framework by nailer on Tuesday March 03, 2015 @07:14AM (#9137265)
Excellent - since a lot of us work primarily in sass these days that would be quite useful.
Re:MUI – Lightweight Web/Email CSS Framework by graffitici on Tuesday March 03, 2015 @10:23AM (#9138075)
As someone who's been meaning to learn LESS or SASS, good to see this. SASS might be the way to go then..!