Ohm-Management - Projektarbeit B-ME
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

theme.js 841B

1234567891011121314151617181920212223242526
  1. 'use strict';
  2. Object.defineProperty(exports, "__esModule", {
  3. value: true
  4. });
  5. 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; };
  6. exports.default = theme;
  7. /* eslint-disable no-multi-spaces */
  8. var THEME_DEFAULTS = {
  9. primary: '#1976D2',
  10. secondary: '#424242',
  11. accent: '#82B1FF',
  12. error: '#FF5252',
  13. info: '#2196F3',
  14. success: '#4CAF50',
  15. warning: '#FB8C00' // orange.darken1
  16. };
  17. function theme() {
  18. var theme = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
  19. if (theme === false) return false;
  20. return _extends({}, THEME_DEFAULTS, theme);
  21. }
  22. //# sourceMappingURL=theme.js.map