Recently, I've been diving into SCSS and have been experimenting with applying styles using variables.
I've come across a situation where I want certain variables to contain multiple style properties, such as those related to fonts.
For instance, I'd like all 12px font sizes to be displayed in red.
To achieve this, I tried declaring a variable like this:
$font-12: (font-size: 12x, color: red)
However, it seems that I can't directly apply this variable like regular ones due to the inclusion of multiple styles. I'm curious if this is the correct approach for defining such variables and how they should be applied.
If not, what is the proper way to implement related styles using SCSS?
Appreciate any guidance or suggestions on this matter. Thank you!