0.5.2 • Published 5 years ago

scss-resets v0.5.2

Weekly downloads
609
License
MIT
Repository
gitlab
Last release
5 years ago

scss-resets

Choice of css resets. The following are available

Install

npm install scss-resets --save-dev

OR

yarn add scss-resets --dev

Using with gulp-sass

var gulp = require("gulp");
var sass = require("gulp-sass");

gulp.task("sass", function() {
  gulp
    .src("path/to/app.scss")
    .pipe(
      sass({
        includePaths: require("scss-resets").includePaths
      })
    )
    .pipe(gulp.dest("path/to/output.css"));
});

Using with webpack

module.exports = {
  module: {
    rules: [
      {
        use: [
          {
            loader: "sass-loader",
            options: {
              includePaths: require("scss-resets").includePaths
            }
          }
        ]
      }
    ]
  }
};

Using in scss

After creating your gulp task, you can import any of the resets like so:

@import 'meyer-reset';
@import 'modern-reset';
@import 'normalize';
@import 'sanitize';
@import 'sanitize-forms';
@import 'sanitize-typography';
@import 'reboot';
0.5.2

5 years ago

0.5.1

5 years ago

0.5.0

5 years ago

0.4.0

5 years ago

0.3.0

5 years ago

0.2.2

5 years ago

0.2.0

5 years ago

0.0.8

5 years ago

0.0.7

5 years ago

0.0.5

5 years ago

0.0.3

5 years ago

0.0.2

5 years ago