Skip to content

Commit

Permalink
feat: add sheet preset
Browse files Browse the repository at this point in the history
  • Loading branch information
streamich committed Mar 24, 2018
1 parent e22d255 commit 1d67594
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions preset/sheet.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
'use strict';

var create = require('../index').create;
var addonStable = require('../addon/stable').addon;
var addonNesting = require('../addon/nesting').addon;
var addonAtoms = require('../addon/atoms').addon;
var addonKeyframes = require('../addon/keyframes').addon;
var addonRule = require('../addon/rule').addon;
var addonSheet = require('../addon/sheet').addon;

exports.preset = function (config) {
var nano = create(config);

addonStable(nano);
addonNesting(nano);
addonAtoms(nano);
addonKeyframes(nano);
addonRule(nano);
addonSheet(nano);

return nano;
};
File renamed without changes.

0 comments on commit 1d67594

Please sign in to comment.