cloudhead/less.js — Issue #617: Dynamic mixin calling
Author: Anahkiasen
Created: 2012-02-03 09:32:23+00:00
State: open

Not much to say, I just think it would be a good idea if in LESS you could do the following :

.blue { color: blue }
.red { color: red }

.color(@color) { .@{color} }
div { .color(red) }

Resulting in

div { color: red }