Thanks, but I think I made a stupid mistake in my upgrade to Rails 3. The
generated application erb layout was still there (overriding my haml one),
doing stylesheet_link_tag :all, which caused that behaviour, as the files
were being compiled independently.

Sass rocks again ;)

2010/8/8 Nathan Weizenbaum <[email protected]>

> $ variables behave identically to ! variables. I think something else is
> going wrong... can you post the exact error message, as well as some minimal
> Sass files that cause the error?
>
>
> On Sat, Aug 7, 2010 at 12:43 PM, Jose <[email protected]>wrote:
>
>> I used to have this sass file structure:
>>
>> @import config
>> @import buttons
>> @import posts
>> ...
>>
>> At config.sass I defined some variables using ! notation. These
>> variables were used by the other files (buttons.sass, posts.sass,
>> etc). After updating Sass i have changed variables to use $ notation,
>> but variables are not reachable (i.e. they're undefined) from the
>> various files. Is this normal behaviour? Can I define globally scoped
>> variables in sass or am I doing something wrong? Thx!
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Haml" group.
>> To post to this group, send email to [email protected].
>> To unsubscribe from this group, send email to
>> [email protected] <haml%[email protected]>.
>> For more options, visit this group at
>> http://groups.google.com/group/haml?hl=en.
>>
>>
>  --
> You received this message because you are subscribed to the Google Groups
> "Haml" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected] <haml%[email protected]>.
> For more options, visit this group at
> http://groups.google.com/group/haml?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Haml" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to [email protected].
For more options, visit this group at http://groups.google.com/group/haml?hl=en.

Reply via email to