Problem with less compiler

Jun 20, 2011 at 3:12 PM

When I try to use the following less syntax with Chirpy 2.0 

@baseGray: #ddd;

.gradientbackground(@topcolor: darken(@baseGray,20%), @bottomcolor:#eee)
    behavior: url(;
    background:  linear-gradient(@topcolor, @bottomcolor); /*future CSS3 browsers*/
    background:  -moz-linear-gradient(@topcolor, @bottomcolor); /*gecko*/
    background:  -webkit-gradient(linear, center bottom,
				center top, from(@bottomcolor),to(@topcolor)); /*webkit*/
    -pie-background: linear-gradient(@topcolor, @bottomcolor); /*PIE*/

what I'm getting is

.highlight {
  behavior: url(;
  background: linear-gradient(darken(#dddddd, 20%), #eeeeee);
  /*future CSS3 browsers*/

  background: -moz-linear-gradient(darken(#dddddd, 20%), #eeeeee);

  background: -webkit-gradient(linear, center bottom, center top, from(#eeeeee), to(darken(#dddddd, 20%)));

  -pie-background: linear-gradient(darken(#dddddd, 20%), #eeeeee);

This is my first project using less and I'm really loving it.  So I'm assuming I'm doing something wrong, but I cannot see what it is.

Jun 24, 2011 at 11:13 PM
Edited Jun 24, 2011 at 11:16 PM

Documentation (mixins) :