(More) Modular Sass
This RFC proposes a new completely modular approach to Rivet’s Sass (SCSS) code base with a goal of making it easer for developers to include only the components and styles that they need for their site or application.
A lot of the concepts in this RFC are very much inspired by the way the Github Primer team has structured their codebase.
In the 1.x.x versions of Rivet the same Sass source files that we build Rivet with have always been included in the npm package and downloads. While it has always been possible for developers to use Rivet’s Sass source files we (the Rivet team):
- Haven’t done the best job of documenting how the Sass files are structured
- Haven’t made it easy for those who do you Sass in their tool chain to use only the components and styles they need to import
In this RFC we’ll outline a plan for restructuring the Sass code base to make it easier for developers to use how they want/need to with their own build tools.
Read more in the full RFC text.