sans-serif 1.0.0
CSS module for utilizing system fonts
Stats
296 | 1 | 1 |
---|---|---|
bytes | selectors | declarations |
Installation
npm
Withnpm install --save-dev sans-serif
With Git
git clone https://github.com/tachyons-css/sans-serif
Usage
PostCSS
Using withImport the css module
;
Then process the CSS using the tachyons-cli
$ npm i -g tachyons-cli$ tachyons-cli path/to/css-file.css > dist/t.css
Using the CSS
The built CSS is located in the css
directory. It contains an unminified and minified version.
You can either cut and paste that css or link to it directly in your html.
Development
The source CSS files can be found in the src
directory.
Running $ npm start
will process the source CSS and place the built CSS in the css
directory.
The CSS
/* SYSTEM FONTS *//* Reference: https://webkit.org/blog/3709/using-the-system-font-in-web-content/ https://en.wikipedia.org/wiki/Avenir_(typeface) https://www.google.com/design/spec/style/typography.html#typography-typeface */
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request
Authors
License
MIT