I want to do the variable overriding thing in LESS (solution) but I need to import a resource by reference and it does not work.
file one.less:
@color: #ffffff;
.foo { color: @color; }
file two.less:
// file two.less
.bar {
@import (reference) 'one.less';
}
@color: #000000;
The output:
.bar .foo {
color: #ffffff // <-- expected: "color: #000000"
}
I could not find anything about that in the internet.
Is it a bug (working with version 1.7.5)? Is it a leak in my head? Or is it simply not supported?