Skip to content

Commit

Permalink
chore: Update dev dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnAlbin committed Nov 10, 2023
1 parent 4040090 commit 8aa8a15
Show file tree
Hide file tree
Showing 28 changed files with 4,344 additions and 4,991 deletions.
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
v20
9 changes: 0 additions & 9 deletions .travis.yml

This file was deleted.

12 changes: 4 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,17 +60,15 @@ __Approach 1:__ Download and use normalize-scss as a starting point for your own

__Approach 2:__ Install and include normalize-scss untouched and then build upon it, overriding the defaults later in your Sass when necessary. Just import normalize-scss like any normal Sass module by:
1. Set variables to override the default normalize-scss variables.
2. (Optionally) add an additional `[path to]/normalize-scss/sass` import path for your Sass compiler, e.g. [node-sass' `includePaths`](https://github.com/sass/node-sass#includepaths) option or [Ruby Sass' `--load-path`](http://sass-lang.com/documentation/file.SASS_REFERENCE.html#import) option.
3. Import with `@import "normalize";` or with `@import "[path to]/normalize-scss/sass/normalize";` (if you skipped step 2.)
2. (Optionally) add an additional `node_modules/normalize-scss/sass` import path for your application's Sass compiler or loader, e.g. PostCSS or webpack's sass-loader.
3. Import with `@import "normalize";` or with `@import "node_modules/normalize-scss/sass/normalize";` (if you skipped step 2.)
4. Output the CSS rules with `@include normalize();`

Alternatively, you can import normalize-scss immediately into your main Sass file without needing to use the `normalize()` mixin by:

1. (Optionally) set variables to override the default normalize-scss variables.
2. (Optionally) add an additional `[path to]/normalize-scss/sass` import path for your Sass compiler, e.g. [node-sass' `includePaths`](https://github.com/sass/node-sass#includepaths) option or [Ruby Sass' `--load-path`](http://sass-lang.com/documentation/file.SASS_REFERENCE.html#import) option.
3. Import with `@import "normalize/import-now";` or with `@import "[path to]/normalize-scss/sass/normalize/import-now";` (if you skipped step 2.)

Note: if you use [wiredep](https://github.com/taptapship/wiredep), normalize-scss's bower.json points at the normalize/import-now Sass partial. If you don't wish to immediately output the CSS, you will need to override the Sass partial that wiredep grabs from normalize-scss.
2. (Optionally) add an additional `node_modules/normalize-scss/sass` import path for your application's Sass compiler or loader, e.g. PostCSS or webpack's sass-loader.
3. Import with `@import "normalize/import-now";` or with `@import "node_modules/normalize-scss/sass/normalize/import-now";` (if you skipped step 2.)

## Browser support

Expand Down Expand Up @@ -154,5 +152,3 @@ For the record, there are several other Sass ports as well. Including:
* https://github.com/hail2u/normalize.scss
* https://github.com/kristerkari/normalize.scss
* https://github.com/krisbulman/normalize-libsass

[![Build Status](https://travis-ci.org/JohnAlbin/normalize-scss.png?branch=master)](https://travis-ci.org/JohnAlbin/normalize-scss)
Loading

0 comments on commit 8aa8a15

Please sign in to comment.