You have to use = to tell Sass to use constants: !column_size = 80px !gutter_size = 25px
test :margin-right = !gutter_size :width = !column_size On Sun, May 31, 2009 at 7:19 AM, Jack Cheng <[email protected]> wrote: > > Here's what the top of my sass file looks like: > > !column_size = 80px > !gutter_size = 25px > > .test > :margin-right !gutter_size > :width !column_size > > > But the output in the css file appears like this: > > .test { margin-right: !gutter_size; width: !column_size; } > > > Mixins work fine. Any idea what the problem is? > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
