Wes
unread,Nov 27, 2009, 3:11:54 PM11/27/09Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Haml
I just tried creating a file called variables.sass that would hold,
you guessed it, all my variables which I would then @import into each
of my sass files. So, say in variables.sass I just have:
!bluetext = #264765
and then in homepage.sass I have, for example:
@import variables.sass
p.blue
color = !bluetext
But, when I try to render out the css for homepage.sass, I get an
"undefined variable" error for the line that tries to use the
variable. Can I not put variables in an 'external' file like this? Or
am I just doing something wrong? :)
Cheers,
Wes