I want to make a function/mixin that will make a color darker if it is already dark but lighter when it is light (normalize/extremeize?)
Is it possible to do this by
This feature was added since v1.6.0:
@property: color; .widget { @{property}: #0ee; background-@{property}: #999; }
Compiles to:
.widget { color: #0ee; background-color: #999; }
See http://lesscss.org/features/#variables-feature-properties