SCSS Variables & Mixin Highlighting
See original GitHub issueThe highlighting doesn’t work for SCSS for the following sample:
<style lang="scss">
@import "scss/bootstrap/mixins/_buttons.scss";
$brand-primary: #3c763d !default;
$btn-primary-color: #fff !default;
$btn-primary-bg: $brand-primary !default;
$btn-primary-border: darken($btn-primary-bg, 5%) !default;
.btn-primary {
@include button-variant($btn-primary-color, $btn-primary-bg, $btn-primary-border);
}
</style>
All shows formatted when in a .scss file
Issue Analytics
- State:
- Created 7 years ago
- Comments:5 (4 by maintainers)
Top Results From Across the Web
mixin and @include - Sass
Mixins allow you to define styles that can be re-used throughout your stylesheet. They make it easy to avoid using non-semantic classes like...
Read more >Mixins in Sass - Telerik
Mixins in Sass are a feature that allows you to reuse styles across template rules. They were made to clear up the path...
Read more >SCSS Mixin for CSS Variables - CodePen
All of them offer things like variables and mixins to provide convenient abstractions. Learn more · Versions. None, Less, SCSS, Sass, Stylus, PostCSS....
Read more >Sass mixins - Free tutorial to learn HTML and CSS
The main purpose of a mixin is to make a set of properties reusable. Like Sass variables (where you define your values on...
Read more >5 Useful Sass Mixins - PSD2HTML Blog
Sass is a popular CSS preprocessor that provides the benefit of variables for web developers. In this post, we have reviewed five Sass...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Do you have
in your user setting?
NVM, this extension only works for vue file. scss file error should be reported to https://github.com/Microsoft/vscode. Meanwhile you can turn off scss validation by: