On Wednesday 01 February 2012 16:30 Evert Pot wrote: > On Feb 1, 2012, at 4:27 PM, Arthur Schiwon (Blizzz) wrote: > > On Wednesday 01 February 2012 16:05:50 Thomas Tanghus wrote: > >> On Wednesday 01 February 2012 15:18 Frank Karlitschek wrote: > >>> Theming: > >> Now the colors in /core/css/styles.css are hardcoded and I've had to copy > >> some of them to the app stylesheet. It would be much easier just to > >> change > >> one file with color/border/etc definitions and use e.g. > >> "var(mainbackgroundcolor)". > >> > >> [1] http://disruptive-innovations.com/zoo/cssvariables/ > > > > Agree, it makes sense to define colors in a basic theme file and use the > > variable. Although not everyone seem to love varialbes in CSS, it would > > make things simpler. Not only theming itself, but also specific styles in > > apps may look good in different themes. > > http://lesscss.org/ / http://leafo.net/lessphp/ > > Perhaps? Once you try it, you don't wanna go back..
I do like the look of that, but I'm also afraid it would unnecessarily add to the complexity. BTW: I can't imagine any reasons not to love variables in CSS? -- Med venlig hilsen / Best Regards Thomas Tanghus _______________________________________________ Owncloud mailing list [email protected] https://mail.kde.org/mailman/listinfo/owncloud
