Rails 3.1(beta1) + SASS + variables

Hello all,

in Rails 3.1, is it possible to define global SASS variables (and mixins) that are shared across all *.css.scss files?

I am able to define SASS variables, yet they seemed to be scoped only within each individual file …

On a side note – is there a way to pass variables from my Rails app to the SASS + JS (or CoffeeScript) files?

Thanks for your help.

Best,

Tomas

Maybe you’re looking for something along the lines of @import?

http://sass-lang.com/docs/yardoc/file.SASS_REFERENCE.html#import

regards,

Paulo Muggler

Yes, thank you!

T