What is the correct way to mix a LESS variable in a class within LESS itself. I've tried it like this:
.btn-@juicer-popup-button-color();
and
.btn-@{juicer-popup-button-color}();
Both options don't seem to work... the outcome should be something like .btn-red(); Where red is stored in the variable @juicer-popup-button-color.
For example:
@juicer-button-color: red;
.juicer-button {
font-weight: bold;
.btn();
.btn-lg();
.btn-@juicer-button-color(); //this one
text-decoration: underline !important;
font-style: italic;
}
and the outcome should be
.juicer-button {
font-weight: bold;
.btn();
.btn-lg();
.btn-red(); //this one
text-decoration: underline !important;
font-style: italic;
}