In sass 3, the variable prefix has changed from ! to $ and = is now : in all cases.
Once you change those, you should be good to go. if not, please let us know the deprecation warning you're getting and we'll help you decipher it. chris On Fri, Aug 13, 2010 at 2:33 PM, Chris G <[email protected]> wrote: > Hi, > > I think I've been using a legacy method/parameter style for sass, but > I can't figure out, based on the site/docs, which way to turn. > > My current way: > > =linear_vertical_gradient(!topcolor, !bottomcolor) > background = -moz-linear-gradient(top, !topcolor, !bottomcolor) > background = -webkit-gradient(linear, left top, left bottom, from(! > topcolor), to(!bottomcolor)) > > -- then elsewhere -- > > .use-gradient > +linear_vertical_gradient(#32B3E7, #16A0DA) > > What should I replace that with, such that I get no more deprecation > warnings? A mixin? Everything I've tried has either failed to work > or stop deprecation warnings. I'm probably just a character or two > away... > > Thanks ever so much, > > Chris > > -- > 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] <haml%[email protected]>. > 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 [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.
