SC5 / sc5-styleguide

Styleguide generator is a handy little tool that helps you generate good looking styleguides from stylesheets using KSS notation
http://styleguide.sc5.io/
MIT License
1.26k stars 171 forks source link

Line comments in default CSS results in parse error #1109

Open middric opened 6 years ago

middric commented 6 years ago

Default styles seem to be parsed as CSS instead of SASS. These files have a css extension but contain sass syntax. As a result the line comments are failing during parsing. Seems this was introduced in 2.0.2 as 2.0.1 works fine.

Probably same issue as #1108.

Console output

Parsing error: Please check validity of the block starting from line #2793

2791 | }
2793*| // Button should still have background color when sub-menu item is hovered
2794 |     .sg.sg-top-nav-menu li:hover > a {
2795 |   color: var(--active-nav-button-text-color);

Syntax: css
Gonzales PE version: 4.0.3