diff --git a/reset.less b/less/reset.less similarity index 98% rename from reset.less rename to less/reset.less index f77b011..6cbef23 100644 --- a/reset.less +++ b/less/reset.less @@ -1,5 +1,5 @@ /* http://meyerweb.com/eric/tools/css/reset/ - v3.0 | 20180413 + v4.0 | 20180602 License: none (public domain) */ diff --git a/package.json b/package.json index 7690959..281cfda 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "reset-css", - "version": "3.0.0", + "version": "4.0.0", "description": "An unmodified copy of Eric Meyer's CSS reset.", "homepage": "http://meyerweb.com/eric/tools/css/reset/", "author": "Eric Meyer", @@ -10,7 +10,7 @@ "main": "reset.css", "files": [ "reset.css", - "reset.less", - "_reset.scss" + "sass", + "less" ] } diff --git a/readme.md b/readme.md index b833b51..f54d4fb 100644 --- a/readme.md +++ b/readme.md @@ -7,7 +7,9 @@ An [unmodified\*](#changelog) copy of Eric Meyer's [CSS reset](https://meyerweb. With curl: ```command -$ curl -O "https://unpkg.com/reset-css@3.0.0/reset.css" +$ curl -O "https://unpkg.com/reset-css@4.0.0/reset.css" +$ curl -O "https://unpkg.com/reset-css@4.0.0/sass/_reset.sass" +$ curl -O "https://unpkg.com/reset-css@4.0.0/less/reset.less" ``` With [NPM](http://npmjs.com): @@ -33,41 +35,37 @@ $ bower install reset-css HTML: ```html - + ``` CSS: ```css -@import '/assets/reset-css/reset.css'; +@import '/path/to/reset-css/reset.css'; ``` -PostCSS and [postcss-import](https://github.com/postcss/postcss-import): +Via PostCSS and [postcss-import](https://github.com/postcss/postcss-import): ```css @import 'reset-css'; ``` -Webpack and [css-loader](https://github.com/webpack-contrib/css-loader): +Via Webpack and [css-loader](https://github.com/webpack-contrib/css-loader): ```js -import reset from 'reset-css'; +import 'reset-css'; ``` -Sass: +Via Sass: ```scss -@import '/assets/reset-css/_reset'; +@import '/path/to/reset-css/sass/reset'; ``` -Less: +Via Less: ```less -@import '/assets/reset-css/reset'; - -// or - -@import (inline) '/assets/reset-css/reset.css'; +@import '/path/to/reset-css/less/reset'; ``` ## \*Changelog diff --git a/reset.css b/reset.css index f77b011..6cbef23 100644 --- a/reset.css +++ b/reset.css @@ -1,5 +1,5 @@ /* http://meyerweb.com/eric/tools/css/reset/ - v3.0 | 20180413 + v4.0 | 20180602 License: none (public domain) */ diff --git a/_reset.scss b/sass/_reset.sass similarity index 98% rename from _reset.scss rename to sass/_reset.sass index f77b011..6cbef23 100644 --- a/_reset.scss +++ b/sass/_reset.sass @@ -1,5 +1,5 @@ /* http://meyerweb.com/eric/tools/css/reset/ - v3.0 | 20180413 + v4.0 | 20180602 License: none (public domain) */