Reputation: 91
I'm using SASS and I have partial file for variables: _variables.scss. Above some group of variables, I'm using a comments. For ex.
/* Colors */
$primary_red: #c02323;
$dark_red: #84000f;
$blue_bg: #007eb6;
When using partials, the code is ignored in the css file, but the comments are showing:
Is there any way how to prevent them to show?
Upvotes: 6
Views: 2243
Reputation: 11
I use //------colors------//. Probably overkill, but I like to have my comments not blend in so much so I can see them.
Upvotes: -1
Reputation: 2677
If you use inline comments, they won't show up in your compiled file.
For example:
// Colors
Upvotes: 9