'use strict';

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.Palette = exports.Color = undefined;

var _Default = require('./Default');

var _Default2 = _interopRequireDefault(_Default);

var _Complement = require('./Complement');

var _Complement2 = _interopRequireDefault(_Complement);

var _Grayscale = require('./Grayscale');

var _Grayscale2 = _interopRequireDefault(_Grayscale);

var _Invert = require('./Invert');

var _Invert2 = _interopRequireDefault(_Invert);

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

var Color = function Color(color, theme) {
  switch (theme) {
    case 'default':
      return _Default2.default[color];
    case 'complement':
      return _Complement2.default[color];
    case 'grayscale':
      return _Grayscale2.default[color];
    case 'invert':
      return _Invert2.default[color];

    default:
      return _Default2.default[color];
  }
};

var Palette = function Palette(theme) {
  switch (theme) {
    case 'default':
      return _Default2.default;
    case 'complement':
      return _Complement2.default;
    case 'grayscale':
      return _Grayscale2.default;
    case 'invert':
      return _Invert2.default;
    default:
      return _Default2.default;
  }
};

exports.Color = Color;
exports.Palette = Palette;