furtive-typescale
v0.0.4
Published
A CSS module for a responsive typescale with rework.
Downloads
1,510
Readme
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
- 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
Crafted with <3 by John Otander (@4lpine).