@mixin compiling with Compass

I'm having troubles with Compass compiling two of my mixin functions.

I do have 4 SASS list variables which list a set of 12 Variables each; each variable contains only one value.

In both of my mixin functions I do loop each value/variable of the list to create a set of classes with different attribute's values depending on the name of the class.

So the problem I'm having is that I'm calling the mixin for two kind of containers which means that it creates these sets twice (a whole awful lot of CSS code), eg:

color : $textcolor;

doesn't get compiled (literally it doesn't appear in to be in the CSS either), the weird thing is that if I use the original variable assigned to the alias of the @each loop, the compass compiler picks it up successfully.

Is it this happening because some issues in the SASS compiler or for any other reason?

链接地址: http://www.djcxy.com/p/88382.html

上一篇: 我怎样才能使用一个不:首先

下一篇: @mixin与Compass编译