Created
February 1, 2021 16:36
-
-
Save justusromijn/d319f6be2dfba5bb7b1a38445640d6f9 to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@mixin some-mixin() { | |
@include button(); | |
text-decoration: none; | |
&--primary { | |
// color: red; | |
@extend %primary; | |
} | |
} | |
@mixin button() { | |
font-family: Arial; | |
} | |
.button { | |
@include some-mixin(); | |
} | |
%primary { | |
color: red; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.button { | |
font-family: Arial; | |
text-decoration: none; | |
} | |
.button--primary { | |
color: red; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"sass": { | |
"compiler": "dart-sass/1.26.11", | |
"extensions": {}, | |
"syntax": "SCSS", | |
"outputStyle": "expanded" | |
}, | |
"autoprefixer": false | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment