cdotyone / mochaui

development tree for MochaUI
http://mochaui.org/demo/
Other
290 stars 83 forks source link

CSS refractoring #73

Open eerne opened 13 years ago

eerne commented 13 years ago

Currently each template has a copy of all CSS styles. To add a new template it is necessary to copy a whole set and modify. Changes have to be applied to all templates.

How about MUI had a default set of styles and templates would be added after the defaults? That way a template only has to add or overwrite styles and no duplicated styles would be necessary.

cdotyone commented 13 years ago

I understand the reasoning for this, but I am not that enthusiastic about this right now. The main reason is the two themes we have are basically color variations. I would like to have a couple more themes that actually adjust more than just color. That way we don't waist effort un something that can wait and maybe become mute once we have themes that are drastically different.

If we do any of this now, I think it will be for the controls only. Not for Desktop, Panel, and Window. The controls are fairly self contained, and I plan to keep them that way. Panel, Window, and Desktop may change drastically for vary different themes.

I have made some changes to how CSS works for controls, but I am not happy with where it is right now. I would want to save this for future release.