furtive-typescale

0.0.4 • Public • Published

Furtive Typescale

A CSS module for a responsive typescale with rework. Used in furtive.css.

Installation

It's recommended to use rework-npm:

npm install --save furtive-typescale
var rework = require('rework'),
    reworkNPM = require('rework-npm');

var output = rework('@import "furtive-typescale";', { source: 'my-file.css' })
    .use(reworkNPM());

Usage

Required Rework Plugins

Variables to declare

:root {
  --font-size: 12px;
  --font-size--m: 15px;
  --font-size--l: 16px
}

Detailed documentation and examples can be found at furtive.co.

License

MIT

Acknowledgements

Typescale from http://type-scale.com/ by Jeremy Church.

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

Crafted with <3 by John Otander (@4lpine).

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i furtive-typescale

      Weekly Downloads

      423

      Version

      0.0.4

      License

      MIT

      Last publish

      Collaborators

      • johno