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

Separated rivet-source CSS from style.css #138

Closed zttodd closed 5 years ago

zttodd commented 5 years ago

In this PR:

Separating style.css into two files still adds up to roughly the same base file size before cache: ~190k. This update is mainly useful for inspecting CSS in the browser's developer tools, because the Docs-specific styles are in style.css and rivet-source CSS is in rivet.css.

The individual Rivet imports within the style.scss file seem a little untidy and is definitely duplicating CSS, so I'm open to discussion on this and/or whether this update is worth including some components twice. Could be something to work toward refactoring in future versions.

See issue #126 for more details.

zttodd commented 5 years ago

This will be considered when developing the next version of Rivet.