Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Allow transparent fallback color for linear and radial-gradient mixins

  • Loading branch information...
commit b4099827a44413e5faafedf9a687d4b24dc945e5 1 parent b00d334
Phil LaPier authored
View
2  app/assets/stylesheets/css3/_linear-gradient.scss
@@ -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;
}
View
2  app/assets/stylesheets/css3/_radial-gradient.scss
@@ -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;
}
Please sign in to comment.
Something went wrong with that request. Please try again.