-
-
Notifications
You must be signed in to change notification settings - Fork 78.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sass issue using color function #23690
Comments
@craigpotter, which version of gulp-sass are you using? |
3.1.0 |
twbs#23690: fix color keys
In $colors: () !default;
$colors: map-merge((
blue: $blue,
indigo: $indigo,
purple: $purple,
pink: $pink,
red: $red,
orange: $orange,
yellow: $yellow,
green: $green,
teal: $teal,
cyan: $cyan,
white: $white,
gray: $gray-600,
gray-dark: $gray-800
), $colors); The problem here is that the type of the keys is But one key, Best option is to convert all keys to strings, so that you can always use the quoted notation. |
When looking at Bootstrap Sass Options, it gives the example
This doesn't work for me.
After debugging and putting lots of @debug statements in my own code and the BS4 _function.scss, I noticed that wrapping the color name in quotes stopped it working for me. It just returns null.
This version works for me.
Is any one else having this problem ?
The text was updated successfully, but these errors were encountered: