On Wednesday, 25 May 2016 at 07:35:22 UTC, Johannes Pfau wrote:
One nice feature in SASS is color manipulation: You can easily lighten/darken colors and use constants for colors to easily generate different color schemes.

My cssexpand program does this too... and I actually find it isn't as useful in practice than you'd think anyway, since designers tend to just pick out their color palettes and don't like it when your code uses a whole bunch of variations on their choices.

Their palettes tend to be like ten colors (including shades of grey) and they don't like you going outside that in my experience. At that point, you might as well just write them (you can organize a css file to put them all basically in one place) or use a simple variable replacement system instead of all the color functions.

Reply via email to