Does anyone have an example of building a CSS sheet from an extension?
I’d like a template helper to add CSS rules. In other words, I want
<%= my_helper "foo" %>
to emit HTML like <div id=“foo”> in-place, but also add a style rule for #foo to a CSS file.
I’m sure I can muddle through writing my own extension that adds a CSS asset, but I’m also sure I’ll have a lot of fun getting the ordering of hooks right.