Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Allow transparent fallback color for linear and radial-gradient mixins
  • Loading branch information
Phil LaPier committed Feb 17, 2012
1 parent b00d334 commit b409982
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/assets/stylesheets/css3/_linear-gradient.scss
Expand Up @@ -20,7 +20,7 @@
$fallback-color: nth($G1, 1);

// If $fallback is a color use that color as the fallback color
@if type-of($fallback) == color {
@if (type-of($fallback) == color) or ($fallback == "transparent") {
$fallback-color: $fallback;
}

Expand Down
2 changes: 1 addition & 1 deletion app/assets/stylesheets/css3/_radial-gradient.scss
Expand Up @@ -13,7 +13,7 @@
$fallback-color: nth($G1, 1);

// If $fallback is a color use that color as the fallback color
@if type-of($fallback) == color {
@if (type-of($fallback) == color) or ($fallback == "transparent") {
$fallback-color: $fallback;
}

Expand Down

0 comments on commit b409982

Please sign in to comment.