Re:I can style a whole app with only four hex values and SASS.
by arocks on Thursday May 03, 2012 @03:19AM
(#3922757)
I think SASS is great for reusing pages or styles within or across projects. If a website has color-coded areas, say like The Guardian[1], then using color variables as the OP mentioned would make it extremely trivial to reuse.
The math behind layouts can also be set using variables reducing a lot of headaches while the client wants 'the left column could be a bit wider'.
I agree that it requires a lot more coding discipline than plain 'ol CSS. So much to the extent that one would be tempted to abandon it. But like all good layers of abstractions, it reduces a lot of effort in the future.
The math behind layouts can also be set using variables reducing a lot of headaches while the client wants 'the left column could be a bit wider'.
I agree that it requires a lot more coding discipline than plain 'ol CSS. So much to the extent that one would be tempted to abandon it. But like all good layers of abstractions, it reduces a lot of effort in the future.
[1]: http://www.guardian.co.uk/