I want an easy way to create css files that contain different colors. Sass is actually doing the job quite well but There must be something I can do with javascript & jQuery ?
basically I want to create the same file in different colors.
**sample css file**
/* Variables */
$color1 = red;
$color2 = blue;
$color3 = white;
/* css code constants */
body {
background-color : $color3;
color : $color2;
}
h1 {
color: $color1;
}
Output
body {
background-color : white;
color : blue;
}
h1 {
color: red;
}
any idea?
LESS
http://lesscss.org/
works both server and client side.