Actually CSS is using space for multiple arguments, like in ... border: 2 dottted blue
On Sun, Aug 24, 2008 at 12:30 AM, Chris Eppstein <[EMAIL PROTECTED]>wrote: > > > [1] I use git://github.com/chriseppstein/haml.git fork at the moment > > for Sass Basehttp://gitorious.org/projects/sass-base > > You needn't use my fork anymore. All my changes are in nex3's master > branch at this time. > > Re: the syntax of mixin arguments. I think the idea of making them > more CSS-like is a good one. How would you handle multiple arguments? > Your examples only show a single argument. Would they be space > delimited instead of comma delimited like CSS? > > Chris > > On Aug 23, 10:01 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > > Hi! > > > > I think Sass mixins with variables rocks! [1] > > > > I haven't investigate Sass engine much yet myself, however does it > > make > > scene to support new syntax for mixins where we use ':' instead of > > '=' (or along with): > > > > Right now: > > > > .content > > +column(300px) > > .sidebar > > +column(300px) > > > > But it would be cool if it is like: > > > > .content > > +column: 300px > > .sidebar > > +column: 200px > > > > This way I can make mixins, what feel similar than CSS shortcuts like > > background, border etc. Ah, I know that some love different syntax > > where ':' is > > in front of like :column 200px. However for them, perhaps > > simple +column 200px would be ok. > > > > What do you think? > > > > Cheers, > > Priit > > > > [1] I use git://github.com/chriseppstein/haml.git fork at the moment > > for Sass Basehttp://gitorious.org/projects/sass-base > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
