I have a problem using mixins included in Bourbon. When this mixin uses the "compact" function of Bourbon, it just compile it into the css without using it. Here is a screenshot of the rendred CSS for a box-shadow :
http://i.stack.imgur.com/YF1JB.png
I use it on a non-static site, with the latest Sass version. I use Codekit to compile.
Thanks for help !
Ok so after diving a bit deeper here is how I fixed it.
This problem is probably being caused because of this commit: https://github.com/thoughtbot/bourbon/commit/ac07c990c0d0fe16f4c455490c9a9fdff7fe27af
The compact function has been rewritten in Ruby to better integrate with Rails. Initially I just copy pasted the 'stylesheet' folder from the repo. And thats when I started false sytax.
I fixed the error by reading the instructions :) - the instruction on how to install it in Rails and then it worked.
In your case, idk if they have a codekit implementation but I believe you can fix it by adding the following code:
(I got the code from the repo)
in a file name _function.scss inside your addons folder and reference it in _bourbon.scss. And that should fix your problem.