I understand that it is highly subjective for every developer what feels elegant. If there is any good reason to group variables together the scss map is the right thing to use. But for the example you have posted I would still prefer the simpler font-size: $font-size-extra-small; over font-size: map_get($fontSizes, extraSmall); or font-size: fontsize('extraSmall');
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I understand that it is highly subjective for every developer what feels elegant. If there is any good reason to group variables together the scss map is the right thing to use. But for the example you have posted I would still prefer the simpler
font-size: $font-size-extra-small;
overfont-size: map_get($fontSizes, extraSmall);
orfont-size: fontsize('extraSmall');