We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
_colors.scss:
$my-red: red; $my-green: green; $my-blue: blue;
_colors.lsg:
@colors colors.scss
Result should be the same as:
@colors { $my-red $my-green $my-blue }
@colors
@colors { $my-red $my-green $my-blue - }
//# Primary colors $my-red: red; $my-green: green; //# Secondary colors $my-blue: blue;
# Primary colors @colors { $my-red $my-green } # Secondary colors @colors { $my-blue - }
@color
@scss file.scss
The text was updated successfully, but these errors were encountered:
No branches or pull requests
1. Import from Sass file
_colors.scss:
_colors.lsg:
Result should be the same as:
2. Import from Sass file with same basename
_colors.scss:
_colors.lsg:
Result should be the same as:
3. Import from Sass file with empty lines
_colors.scss:
_colors.lsg:
Result should be the same as:
4. Import from Sass file with comments
_colors.scss:
_colors.lsg:
Result should be the same as:
Implementation details
@color
command gets an argument representing this file, it must also be imported to the SCSS stream (same as@scss file.scss
does).The text was updated successfully, but these errors were encountered: