You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Why do you have to redeclare the whole SASS Map? #23542
I assume you're referring to the maps added in #23260. The whole point is that you shouldn't have to redeclare the whole map, so if that's what's happening to you, can you share your code and what sass version you're using, and we'll try and figure out what's going on.
The color variable names aren't defined because Sass parses top down. The color variables are defined in the bootstrap import, either copy all the color variables above $theme-colors or just set:
No, I'm saying we fixed this issue since our beta in our v4-dev branch. Pull the latest and try that with your Sass compiler. If it doesn't work still, see if there's a difference in the Sass compilers and we can go from there.
Activity
bardiharborow commentedon Aug 18, 2017
I assume you're referring to the maps added in #23260. The whole point is that you shouldn't have to redeclare the whole map, so if that's what's happening to you, can you share your code and what sass version you're using, and we'll try and figure out what's going on.
pat270 commentedon Aug 18, 2017
The color variable names aren't defined because Sass parses top down. The color variables are defined in the bootstrap import, either copy all the color variables above
$theme-colorsor just set:mdo commentedon Aug 18, 2017
Demo I provided shows the map merging in action: https://codepen.io/emdeoh/pen/qXxYEO. Could be a Sass version issue?
mdo commentedon Aug 20, 2017
Closing since this was resolved in our codebase.
mdo commentedon Aug 21, 2017
No, I'm saying we fixed this issue since our beta in our
v4-devbranch. Pull the latest and try that with your Sass compiler. If it doesn't work still, see if there's a difference in the Sass compilers and we can go from there.