kriszyp / xstyle

A declarative, reactive framework that extends CSS
http://kriszyp.github.com/xstyle
Other
96 stars 55 forks source link

Split xstyle into separate packages #43

Open dylans opened 9 years ago

dylans commented 9 years ago

We've received several requests to consider splitting xstyle up into a few smaller packages. The most common requests for separation are:

kriszyp commented 9 years ago

I have been doing some thinking about this, but I wasn't sure of the best way to go about this. Here is one way:

This seems like it could be a little painful for some of the dependent packages like dgrid, that would have to point to a new package, and would make older dgrid versions incompatible with the latest xstyle, unless I kept some redirect modules in place (particularly xstyle/css). I could make the xstyle package contain the basic CSS tools and the extensions could go somewhere else, but than the naming would be kind of nonsensical.

steveoh commented 9 years ago

This looks like a very cool idea. It fits how we only use the cassius part of the xstyle package currently.