indiana-university / rivet-docs

Website and documentation for Rivet, Indiana University’s design system for web application development
https://rivet.iu.edu/
BSD 3-Clause "New" or "Revised" License
7 stars 3 forks source link

Separate Rivet assets from rivet.iu.edu site assets #126

Closed zttodd closed 4 years ago

zttodd commented 5 years ago

Currently, the assets for rivet.iu.edu and the Rivet CSS assets are all minified into one file called style.css.

Rivet docs-specific styles: https://rivet.iu.edu/ Screen Shot 2019-08-02 at 3 46 39 PM

Styles from rivet-source (rivet.css, rivet.min.css): https://rivet.iu.edu/components/layout/typography/ Screen Shot 2019-08-02 at 3 48 45 PM

When all of the styles are compiled into one file it becomes difficult to quickly see which styles are specific to the docs, and which are a part of Rivet. To provide a better experience for someone who is checking out the site with their browser's developer tools, it would be helpful to separate these styles into different files, with the Rivet styles possibly being served through a CDN.