Can less define the use of multiple variables

in the A.less file, another B.lesson is introduced, and in B, something like this is defined:

@import "./B.less";
.common(green);
.common(red);

.common(@color) {
    .common{
        color: @color;
    }
    

this is generally the way to set font colors, but what if I want to match the corresponding color configuration in A based on @ color?
wants to pass the value of @ color to the variable defined in A to use the corresponding color. I tried @ {{color}}-font-color, without success. How to write it

May.14,2021
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1bf5000-31f4b.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1bf5000-31f4b.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?