2019-04-17 15:58:15 +02:00
|
|
|
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; };
|
|
|
|
|
|
|
|
/* eslint-disable no-multi-spaces */
|
|
|
|
var THEME_DEFAULTS = {
|
|
|
|
primary: '#1976D2',
|
|
|
|
secondary: '#424242',
|
|
|
|
accent: '#82B1FF',
|
|
|
|
error: '#FF5252',
|
|
|
|
info: '#2196F3',
|
|
|
|
success: '#4CAF50',
|
|
|
|
warning: '#FB8C00' // orange.darken1
|
|
|
|
};
|
|
|
|
export default function theme() {
|
|
|
|
var theme = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
|
|
|
|
|
|
if (theme === false) return false;
|
|
|
|
return _extends({}, THEME_DEFAULTS, theme);
|
|
|
|
}
|
2019-06-04 14:29:48 +02:00
|
|
|
//# sourceMappingURL=theme.js.map
|