You can do this:

background-image: url("#{!theme_images}/bg.gif")

Hunt & pecked on my iPhone... Sorry if it's brief!

On Apr 2, 2010, at 3:32 AM, Mislav Marohnić <mislav.maroh...@gmail.com> wrote:

Wrap static strings in quotes:
background-image= "url(" !theme_images "/bg.gif)"

I'm pretty sure this should work, although it's ugly.


On Fri, Apr 2, 2010 at 07:44, Brewster <brewster1...@gmail.com> wrote:
here is an example of what i am trying to accomplish, but im just
unsure of sass syntax (or if its even possible)

!theme_images = '../../images/themes/default'

body
 background-image= url(!theme_images/bg.gif)

basically i just want to pass variables inline with strings.

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


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

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