Prefix configuable

This commit is contained in:
2020-12-27 16:00:24 +01:00
parent 96d47dc56a
commit 8b4ba286d9
5 changed files with 216 additions and 183 deletions

View File

@@ -1,19 +1,19 @@
@mixin RV-FullWidthContent__Container {
width: 100%;
width: 100%;
}
@mixin RV-FullWidthContent__Item {
width: 100%;
@include RV-ContentCrop;
width: 100%;
@include RV-ContentCrop;
}
@mixin RV-FullWidthContent {
&__Container {
@mixin RV-FullWidthContent($-prefix: '&') {
#{$-prefix}__Container {
@include RV-FullWidthContent__Container;
}
&__Item {
@include RV-FullWidthContent__Item;
#{$-prefix}__Item {
@include RV-FullWidthContent__Item;
}
}