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

Broken background-image paths #1129

Open cyruscollier opened 6 years ago

cyruscollier commented 6 years ago

Our asset build structure has images in a separate directory from css, so it's css/main.css and images/*. Because of that, our CSS background images all have relative urls ../images/*. The generated styleguide.css path is hardcoded inside appRoot with no way to control the path, so it assumed that all images are within the same directory for every project. I suppose I could use a gulp filter to rewrite image paths on the CSS, but it seems like would be cleaner to provide a config option like stylesheetPath that could be used for all the generated stylesheets.