Eventually (i.e. sometime before 1.5 is released) Sass constants will be able to explicitly declare strings using "x-small" or the like. I'll bump that up on the priority list so stuff like this will be workable.
I think I'll also define everything but the + operator on strings to do concatenation using that character, so stuff like this is easier to manage. For instance, x - small will evaluate to the string "x-small" and foo % bar will evaluate to "foo%bar". - Nathan s.ross wrote: > I'm trying to collect all my font sizes at the top of my Sass file. > This breaks: > > !small_font_size = x-small > > Keen error trace, BTW. > > I understand that Sass is having trouble disambiguating the hyphen > from an operator. How can I help Sass understand that I mean x > <hyphen> small? > > Thanks, > > Steve --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
