scss-base
scss-base
is a selection of styles that provide a clean default look for SCSS projects. The fonts used are Droid Sans and Droid Sans Mono.
This also uses Normalize.css to normalize styling across browsers. scss-base
also includes the standard box-sizing: border-box;
reset.
Even with that, scss-base
is less than 3KB zipped (~10KB minified).
Demo
You can see a demo page with all the styles provided by scss-base
at https://kiswa.github.io/scss-base
Usage
Simply run npm i scss-base -D
to include scss-base
in your project and save it in your package.json
.
Import scss-base
in your SCSS to use the provided styles.
//@import 'your-override-variables'; ;
If you use Gulp and gulp-sass
, your SCSS task looks something like this:
var sass = scss_base = 'node_modules/scss-base/src'; gulp
Customization
scss-base
has a few variables to set the colors and fonts it uses. If you override these before including scss-base
in your SCSS, the output changes to match your choices. The following variables are set by scss-base
:
;;;; ;; ;; ;; ; ;;; ;