diff --git a/README.md b/README.md index 25d7b955ec034f1d230179d44c27188d82e9a49d..08268fb2b5c53f1f4870fafb595f119b98e1ac86 100644 --- a/README.md +++ b/README.md @@ -20,6 +20,22 @@ p { } ``` +## Quick Start + +### Install + +This package can be installed with: + +* [npm](https://www.npmjs.com/package/system-font-css): `npm install --save system-font-css` + +### Load + +When installed with npm, system-font.css will create both a SCSS and LESS partial for easy importing: + +```scss +@import 'system-font'; +``` + ## OSX **OSX** has used three system typefaces. Since **El Capitan** it has used **San Fransisco**. In **Yosemite** it used **Helvetica Neue**. From **Mavericks** back to **Kodiak** it used **Lucida Grande**. diff --git a/package.json b/package.json index 770c28baca30051531b438c788485e1883eb39ca..dc9f7f99c9b14bea7d5eba834d69c81dcecaa3bf 100644 --- a/package.json +++ b/package.json @@ -22,5 +22,7 @@ "dependencies": {}, "devDependencies": {}, "main": "system-font.css", - "scripts": {} + "scripts": { + "install": "cp system-font.css _system-font.scss ; cp system-font.css system-font.less" + } } \ No newline at end of file