I have about 40 ‘themes’ that have each been copied and pasted from a ‘default’ theme and been modified uniquely. As time has gone on each of these themes has taken a shape of its own, some more, some less.
I need to be able to do an @import url(default.css); so that when I make changes to the default I do not need to cascade it down to all the themes.
Each theme and the default is about 2000 lines. I have tried to use a css optimizer but I couldn’t get it to work. (Perhaps I’m doing something wrong?) Right now I’m just using diff to do all the changes line by line and it painstaking and will take me weeks upon weeks.
How do I do this quickly? There has got to be a way.
Maybe a de-optimizer would do some good, but I don’t know of any. It would allow to have one and only one instruction per rule, like:
becoming
That would allow you to use diff way faster and finally to combine these with an optimizer …
Other than that:
But you’ll still have to check each template after having modified your default one: you can’t know for sure, now or later, how each template overrid or not instructions from default stylesheet.