|
1234567891011121314151617181920212223242526 |
- 'use strict';
-
- Object.defineProperty(exports, "__esModule", {
- value: true
- });
-
- 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; };
-
- exports.default = theme;
- /* eslint-disable no-multi-spaces */
- var THEME_DEFAULTS = {
- primary: '#1976D2',
- secondary: '#424242',
- accent: '#82B1FF',
- error: '#FF5252',
- info: '#2196F3',
- success: '#4CAF50',
- warning: '#FB8C00' // orange.darken1
- };
- function theme() {
- var theme = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
-
- if (theme === false) return false;
- return _extends({}, THEME_DEFAULTS, theme);
- }
- //# sourceMappingURL=theme.js.map
|