hlship / cascade

Simple, fast, easy web applications in idiomatic Clojure.
http://github.com/hlship/cascade
158 stars 7 forks source link

CSS aggregation #15

Closed hlship closed 15 years ago

hlship commented 15 years ago

As with JavaScript aggregation, a declarative mechanism to include CSS style sheets is needed, that would add elements to the final document before streaming.

hlship commented 15 years ago

I suspect that, in theory, you could combine multiple stylesheets into a single stylesheet if you were very URL aware (since if the stylesheets were in different folders, you'd have to correct relative URLs). This would require writing a CSS parser .. which could also, perhaps, optimize the CSS by removing whitespace, etc.

hlship commented 15 years ago

Add support for import-stylesheet function.

Closed by 2395002bf7e9813bcbe994cf97647248340397eb.