Build your own version of siimple
You can customize siimple and build your own version by editing the SASS/SCSS files placed in the
We use Make Utility for compiling the SCSS files and generate the final CSS file. Be sure that you have installed NPM and Make in your computer. Then, you must install all the dependencies by running the following command:
$ npm install
You can compile the SCSS files running the following command from the root directory:
$ make build
Compiled CSS files will be available in
./distfolder. This command will also generate the minified version of siimple.
You can import siimple as a dependency using a package manager, and then import the SASS mixins in your project by adding the following line in your main
You can also import individual SCSS styles:
@import "siimple/scss/elements/_btn.scss"; @import "siimple/scss/components/_alert.scss";
Remember that you should use the includePaths option of SASS to resolve the
Found a mistake or want to help improve this documentation? Suggest changes.