I take that back. The

!header_color = #FFFF88

th
  :background_color !header_color

at least allows compilation. However, if I  use !header_color
anywhere, the resultant
CSS is

th {
   background-color: !header_color; }


Oh, well. Nice try.


On Aug 16, 11:36 am, Polar <[EMAIL PROTECTED]> wrote:
> I think I found my problem. The documentation is mis-leading. You
> cannot do
>
> !header_color = lightblue
>
> you need to do
>
> !header_color = #FFFF88
>
> sigh, :(
>
> -Polar
>
> On Aug 16, 10:57 am, Polar <[EMAIL PROTECTED]> wrote:
>
> > I have a problem. It seems if I define a constant in Sass, it doesn't
> > work.
>
> > !header_color = lightblue
>
> > just doesn't work and says something about a evaluating nil object.
>
> > I used both 1.7 and 1.8.


--~--~---------~--~----~------------~-------~--~----~
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