Is it possible to utilize a SASS map in order to generate individual variables for each key-value pair?
For instance, I aim to achieve the following:
$heading: (
1: 5rem,
2: 4.5rem,
3: 4rem,
4: 3.5rem,
5: 3rem,
6: 2.5rem );
and transform it into this:
$heading-1: 5rem;
$heading-2: 4.5rem;
$heading-3: 4rem;
$heading-4: 3.5rem;
$heading-5: 3rem;
$heading-6: 2.5rem;
While I was able to use the map for generating class names for each variation, my goal is to create the variables themselves instead of the class names.