Skip to content
This repository has been archived by the owner on Sep 10, 2019. It is now read-only.

callout-style() mixin in SASS breaks #358

Open
jovpet opened this issue Feb 2, 2017 · 0 comments
Open

callout-style() mixin in SASS breaks #358

jovpet opened this issue Feb 2, 2017 · 0 comments

Comments

@jovpet
Copy link

jovpet commented Feb 2, 2017

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

1 participant