thoughtbot/bourbon — Issue #35: Make fallback color on linear-gradient more flexible
Author: voxpelli
Created: 2011-11-09 09:45:04+00:00
State: open

I'm looking at maybe using bourbon to standardize some of the SASS mixins and functions that I've currently been writing myself. Looking at the linear-gradient mixin it's much more flexible than my own mixin with one exception - in my own mixin I don't specify a fallback color but leaves that up to the includer to decide. In my use sometimes it's the start color that should be the fallback, sometimes the stop color and sometimes a color from the middle of the gradient. I find it kind of limiting to be forced to always use the start color as a fallback.

It would be nice if one could either define a fallback color oneself or if one could opt out from it so that one can define it oneself.

What do you think?