Permalink
Browse files

Fix the radial-gradient mixin fallback-color

  • Loading branch information...
Phil LaPier
Phil LaPier committed Nov 30, 2012
1 parent 5fd8b7d commit c9dfa517bd8a9cd8dc8e4501101f29142f3e0915
Showing with 3 additions and 1 deletion.
  1. +3 −1 app/assets/stylesheets/css3/_radial-gradient.scss
@@ -56,7 +56,9 @@
$full: compact($G1, $G2, $G3, $G4, $G5, $G6, $G7, $G8, $G9, $G10);
- $fallback-color: nth($G1, 1);
+ // Set $G1 as the default fallback color
+ $first-color: nth($full, 1);
+ $fallback-color: nth($first-color, 1);
@if (type-of($fallback) == color) or ($fallback == "transparent") {
$fallback-color: $fallback;

0 comments on commit c9dfa51

Please sign in to comment.