1
0
mirror of https://github.com/yldio/copilot.git synced 2024-11-11 05:40:11 +02:00

adding baseunit objects to constants

This commit is contained in:
Alex Windett 2017-01-12 14:48:01 +00:00
parent 8513d8c904
commit 3ecedf94d6
2 changed files with 12 additions and 1 deletions

View File

@ -0,0 +1,9 @@
const baseunit = {
xs: 3,
s: 6,
m: 12,
l: 18,
xl: 24
};
module.exports = baseunit;

View File

@ -6,6 +6,7 @@ const boxes = require('./boxes');
const typography = require('./typography');
const sizes = require('./sizes');
const breakpoints = require('./breakpoints');
const baseunit = require('./baseunits');
const tables = {
bg: 'transparent',
@ -22,7 +23,8 @@ const constants = traverse({
forms,
sizes,
tables,
typography
typography,
baseunit
}).map(function(x) {
return isFunction(x) ? x(this.parent.node) : x;
});