'use strict';

require('../theme/interface/index.js');
var presetColors = require('../theme/interface/presetColors.js');

const inverseColors = presetColors.PresetColors.map((color) => `${color}-inverse`);
const PresetStatusColorTypes = [
  "success",
  "processing",
  "error",
  "default",
  "warning"
];
function isPresetColor(color, includeInverse = true) {
  if (includeInverse)
    return [...inverseColors, ...presetColors.PresetColors].includes(color);
  return presetColors.PresetColors.includes(color);
}
function isPresetStatusColor(color) {
  return PresetStatusColorTypes.includes(color);
}

exports.PresetStatusColorTypes = PresetStatusColorTypes;
exports.isPresetColor = isPresetColor;
exports.isPresetStatusColor = isPresetStatusColor;
//# sourceMappingURL=colors.js.map
