Skip to content

Instantly share code, notes, and snippets.

@christianhaller3000
Created January 26, 2022 09:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save christianhaller3000/ca8abb056b6d62f0d920a193cb81fa7c to your computer and use it in GitHub Desktop.
Save christianhaller3000/ca8abb056b6d62f0d920a193cb81fa7c to your computer and use it in GitHub Desktop.
sassmeister
/*
change the sass compiler from dart-sass to libsass,
retrigger compiling and
see the missing selector in the right window
*/
%placeholder {
&[disabled],
&:hover[disabled]{
color: red;
}
}
.p {
@extend %placeholder;
}
/*
expected:
.p[disabled], .p:hover[disabled] {
color: red;
}
actual with dart-sass
[disabled].p {
color: red;
}
*/
{
"sass": {
"compiler": "dart-sass/1.32.12",
"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