Sass Namespacing use $root
Closed this issue · 1 comments
davidhellmann commented
.m-navCategories {
$root: &;
#{$root}__list {
list-style: none;
margin-bottom: 0;
font-size: fs('ms-2');
text-transform: uppercase;
}
#{$root}__item {
display: inline-block;
margin-right: s(4);
margin-bottom: s(2);
&:before {
display: none;
}
&.is-active #{$root}__link {
color: c('martini');
}
}
#{$root}__link {
display: inline-block;
&::before {
content: '#';
}
}
}
davidhellmann commented
Nope, do that not!