You need to be in script context to access variables:

http://gist.github.com/320923

So change : to = and you'll be all set.

chris

On Wed, Mar 3, 2010 at 11:29 AM, derek <bigdspba...@gmail.com> wrote:

> For some reason color variables don't seem to be working.
>
> Here is my definition and usage. Not that the mixin and variable are
> not actually defined at the same time. This is only to demonstrate
> that mixins are working fine, but my variables aren't.
>
> http://gist.github.com/320880
>
> In the generated css file the value is the variable name. So it ends
> up looking like:
>
> p {
>  color: !general_text_color; }
>
> Other variables appear to be working fine (ones with numbers and
> units).
>
> --
> You received this message because you are subscribed to the Google Groups
> "Haml" group.
> To post to this group, send email to h...@googlegroups.com.
> To unsubscribe from this group, send email to
> haml+unsubscr...@googlegroups.com <haml%2bunsubscr...@googlegroups.com>.
> 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 h...@googlegroups.com.
To unsubscribe from this group, send email to haml+unsubscr...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/haml?hl=en.

Reply via email to