Use
body {
@from: lighten(@blue, 20%);
@to: @blue;
#gradient > .vertical(@from, @to);
}
Not sure about the lighten(@blue, 20%) in the mixin..
Op zaterdag 12 mei 2012 15:04:25 UTC+2 schreef Randomblue het volgende:
>
> I am trying to customize bootstrap so that the main body background is a
> smooth gradient. As I understand, I need to use the gradient mixins. I have
> tried setting
>
> @bodyBackground
>
> to
>
> @Gradient > .vertical(lighten(@blue, 20%); @blue);
>
> (as inspired by this bug report:
> https://github.com/leafo/lessphp/issues/131).
>
> How can I use mixins to customize bootstrap parameters like
> @bodyBackground?
>