nex3/sass — Issue #302: Transparent as a color for non-prefixed gradients
Author: GeneLocklin
Created: 2012-03-01 16:46:45+00:00
State: open

Sass isn't accepting transparent as a color value for non-prefixed gradients.

Example:

/* This Works */
background: -webkit-linear-gradient( left, transparent 0%, rgba(0,0,0,.01) 10%, rgba(0,0,0,.01) 90%, transparent 100% );

/* This Triggers the Error:
Expected a color. Got: transparent */
background: linear-gradient( left, transparent 0%, rgba(0,0,0,.01) 10%, rgba(0,0,0,.01) 90%, transparent 100% ) ;

Transparent works fine in every other test I could think of.

Version: Sass 3.2.0.alpha.63 (Bleeding Edge)