News for hackers. Stuff that matters.
Re:JSON stylesheets - screw CSS frameworks, use JavaScript -... by JimBastard on Monday December 21, 2009 @06:12PM (#1008844)
as the article states, "CSS frameworks (haml, sass, less) are meant for server-side templating and we need client-side templating."

this is intended for client-side templating and dynamically assigning CSS classes and properties at run-time.

:-)

Re:JSON stylesheets - screw CSS frameworks, use JavaScript -... by tptacek on Monday December 21, 2009 @06:15PM (#1008851)
That reasoning is kind of circular, isn't it? Why do you need client-side stylesheet dynamism?
Re:JSON stylesheets - screw CSS frameworks, use JavaScript -... by axod on Monday December 21, 2009 @07:14PM (#1008989)
So you can allow styles to update without a page reload?

For example, on Mibbit, you can skin your client how you like. You just open a prefs screen and mess with colors, fonts, backgrounds, etc.

Using css for that would be ridiculous. Hence client side styling via js.