]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
removes callout tint color function
authorRafiBomb <rafi@zurb.com>
Sat, 12 Dec 2015 01:32:48 +0000 (17:32 -0800)
committerRafiBomb <rafi@zurb.com>
Sat, 12 Dec 2015 01:32:48 +0000 (17:32 -0800)
scss/components/_callout.scss

index 616292aed0e551ec018cfbac64d5a6c2ef25720e..62a2100b5b508467f5724d7aa8d9f5d9cb2fb95c 100644 (file)
@@ -61,23 +61,12 @@ $callout-link-tint: 30% !default;
   }
 }
 
-/// Generate quick styles for a callout using a single color as a baseline. If `$callout-link-tint` is enabled, links within colored panels will be a darker version of the background.
+/// Generate quick styles for a callout using a single color as a baseline.
 /// @param {Color} $color [$callout-background] - Color to use.
 @mixin callout-style($color: $callout-background) {
   $background: scale-color($color, $lightness: $callout-background-fade);
-  $link-color: scale-color($color, $lightness: -$callout-link-tint);
 
   background-color: $background;
-
-  @if $callout-link-tint and hue($background) > 0deg {
-    a {
-      color: $link-color;
-
-      &:hover {
-        color: darken($link-color, 15%);
-      }
-    }
-  }
 }
 
 @mixin callout-size($padding) {