import '../theme/interface/index.mjs';
import { PresetColors } from '../theme/interface/presetColors.mjs';

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

export { PresetStatusColorTypes, isPresetColor, isPresetStatusColor };
//# sourceMappingURL=colors.mjs.map
