pattern-7-1/sass/vendors/README.md

8 lines
928 B
Markdown
Raw Normal View History

2019-02-26 10:16:32 +01:00
# Vendors
Most projects will have a `vendors/` folder containing all the CSS files from external libraries and frameworks Normalize, Bootstrap, jQueryUI, FancyCarouselSliderjQueryPowered, and so on. Putting those aside in the same folder is a good way to say “Hey, this is not from me, not my code, not my responsibility”.
If you have to override a section of any vendor, I recommend you have an 8th folder called `vendors-extensions/` in which you may have files named exactly after the vendors they overwrite. For instance, `vendors-extensions/_bootstrap.scss` is a file containing all CSS rules intended to re-declare some of Bootstraps default CSS. This is to avoid editing the vendor files themselves, which is generally not a good idea.
Reference: [Sass Guidelines](http://sass-guidelin.es/) > [Architecture](http://sass-guidelin.es/#architecture) > [Vendors folder](http://sass-guidelin.es/#vendors-folder)