$font-weights: (
"regular": 400,
"medium": 500,
"bold": 700
);
//now if we want to apply it we have to use 'map-get' function
body {
font-weight: map-get($font-weights, "medium");
}
.some-class{
font-weight: map-get($font-weights, "bold")
}