zurb / foundation-sites-6

[ARCHIVED] Version 6.0 of Foundation for Sites (Public Beta).
MIT License
14 stars 4 forks source link

callout-style() mixin in SASS breaks #358

Open jovpet opened 7 years ago

jovpet commented 7 years ago

I'm building semantic styles using mixins in SCSS, and once I've tried to stylize callouts, I received an error in console:

Message:
    bower_components/foundation-sites/scss/components/_callout.scss
Error: argument `$color` of `scale-color($color, $red: false, $green: false, $blue: false, $hue: false, $saturation: false, $lightness: false, $alpha: false)` must be a color

       Backtrace:
        bower_components/foundation-sites/scss/components/_callout.scss:67, in function `scale-color`
        bower_components/foundation-sites/scss/components/_callout.scss:67, in mixin `callout-style`
        src/assets/scss/_home-callouts.scss:56
        on line 67 of bower_components/foundation-sites/scss/components/_callout.scss
>>   $background: scale-color($color, $lightness: $callout-background-fade);

i've called the mixin in my scss file via:

@include callout-style('#f73300');

My foundation version is 6.3.0