'use strict';

require('../constants/index.cjs');
var color = require('../constants/color.cjs');

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

exports.isPresetColor = isPresetColor;
exports.isPresetStatusColor = isPresetStatusColor;
//# sourceMappingURL=color.cjs.map
