Page 1 of 1

Working with variables for color in CSS

Posted: Mon Jan 29, 2007 10:04 am
by RonnyK
Is there a possibility to work with a set of colors and have these only addressed once in css. If I change the color of my pages at this time I have to do a find-replace throughout the css. I'd rather define some colors on top and re-use the declaration on different places in CSS, instead of replacing multiple occurances.

Ronny

Re: Working with variables for color in CSS

Posted: Mon Jan 29, 2007 3:07 pm
by Dr.CSS
You can find all color calls in the CSS's and then put them in one CSS called Color then make diff. ones for diff. styles and attach them to various templates according to color scheme you desire...