Completely updated React, fixed #11, (hopefully)

This commit is contained in:
2018-03-04 19:11:49 -05:00
parent 6e0afd6e2a
commit 34e5f5139a
13674 changed files with 333464 additions and 473223 deletions

View File

@@ -1,15 +1,16 @@
var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
import _extends from 'babel-runtime/helpers/extends';
export default function createMixins(breakpoints, spacing, mixins) {
return _extends({
gutters: styles => {
styles.paddingLeft = spacing.unit * 2;
styles.paddingRight = spacing.unit * 2;
styles[breakpoints.up('sm')] = {
paddingLeft: spacing.unit * 3,
paddingRight: spacing.unit * 3
};
return styles;
return _extends({
paddingLeft: spacing.unit * 2,
paddingRight: spacing.unit * 2
}, styles, {
[breakpoints.up('sm')]: _extends({
paddingLeft: spacing.unit * 3,
paddingRight: spacing.unit * 3
}, styles[breakpoints.up('sm')])
});
},
toolbar: {
minHeight: 56,