Skip to content

A collection of common stylesheets from the internet exposed in JSON form for `to-css` and `insert-styles`

License

Notifications You must be signed in to change notification settings

chrisinajar/json-stylesheets

Repository files navigation

json-stylesheets Circle CI

A collection of common stylesheets from the internet exposed in JSON form for to-css and insert-styles

Install

npm install --save json-stylesheets

Usage

var normalizeCSS = require('json-stylesheets/normalize');
var toCss = require('to-css');
var insertStyles = require('insert-styles');

// ...

insertStyles(toCss(normalizeCSS));

... or you can use the convenience method exposed by the root of the library

var insertStylesheet = require('json-stylesheets');

insertStylesheet(require('json-stylesheets/normalize'));

Tests

npm run test

License

MIT

About

A collection of common stylesheets from the internet exposed in JSON form for `to-css` and `insert-styles`

Resources

License

Stars

Watchers

Forks

Packages

No packages published