Don’t get it. Didn’t we learn in css to not use specifics like “darkgrey†or “leftnavigation†or “blueheaderâ€...? Now you add $darkgrey to your css file. If you want to change that to dark blue wouldn’t you need to replace all the $darkgrey with $darkblue? Or change $darkgrey = ‘#333333’ to ‘#000066’ but then it isn’t darkgrey anymore.
Wouldn’t it make more sense naming your constant $textcolor (or just $color) or something?
Vote up?
06/12/2006
Don’t get it. Didn’t we learn in css to not use specifics like “darkgrey†or “leftnavigation†or “blueheaderâ€...? Now you add $darkgrey to your css file. If you want to change that to dark blue wouldn’t you need to replace all the $darkgrey with $darkblue? Or change $darkgrey = ‘#333333’ to ‘#000066’ but then it isn’t darkgrey anymore.
Wouldn’t it make more sense naming your constant $textcolor (or just $color) or something?