I have _variables.scss which is structured like this following BEM naming conventions.
$slot-width: 100px;
$slot-height: 10px;
$slot-title-width: 80px;
$slot-title-height: 10px;
I'm repeating variable names $slot-. Is there a way to do something like:
$slot {
&-width: 100px;
&-height: 10px;
&-title {
&-width: 80px;
&-height: 10px;
}
}
And it compiles to the above?