yamlcss/yaml — pull request #34 by MDMueller (2013-07-11 10:34:04+00:00)
Title: extension/bugfix for ym-linear-gradient

Sorry in advance, if this isn't the right way to suggest fixes/discuss problems. First time i try this in github :)

When trying to use the ym-linear-gradient-mixin in my project, i occured several problems:

background: linear-gradient($direction, $start-color,$end-color);
was compiled to
background: linear, to bottom, #FF00FF, #FFFF00;

I'm not sure what exactly caused the compilation problem, but when using the "unquote"-function together with Interpolation ( #{$...} ) fixed the problem.

Furthermore i added a fallback for older browsers (i.e. opera mini mobile browser) to avoid some undesired situations i occured (white color above white background as no gradient is applied).

Last but not least, I changed "background" to "background-image" to avoid complications between color-fallback and gradient.