There's a problem I'm having -- I've got a main sass file, called
"application.sass" where I have two imports, like this:
-----
@import config
@import generic-elements
-----
in the "config.sass" I initialize a couple of variables, such as:
-----
!links_color = blue
-----
then, in the "generic-elements.sass", I call this variable:
-----
a
&:link
:color = !links_color
-----
everything works fine in the generated (full) css file,
"application.css", but all the "component-only" files are also
converted to .css and, for example, the "generic-elements.css" has an
error message:
-----
/*
Sass::SyntaxError: Undefined constant: "!links_color".
[...]
-----
SASS is trying to convert these "component-only" .sass files as if
they were independent -- how can I prevent this from happening?
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---