import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";

var genStepsCustomIconStyle = function genStepsCustomIconStyle(token) {
  var _$concat2, _ref;

  var componentCls = token.componentCls,
      stepsIconCustomTop = token.stepsIconCustomTop,
      stepsIconCustomSize = token.stepsIconCustomSize,
      stepsIconCustomFontSize = token.stepsIconCustomFontSize,
      processIconColor = token.processIconColor;
  return _ref = {}, _defineProperty(_ref, "".concat(componentCls, "-item-custom"), (_$concat2 = {}, _defineProperty(_$concat2, "> ".concat(componentCls, "-item-container > ").concat(componentCls, "-item-icon"), _defineProperty({
    height: 'auto',
    background: 'none',
    border: 0
  }, "> ".concat(componentCls, "-icon"), {
    top: stepsIconCustomTop,
    width: stepsIconCustomSize,
    height: stepsIconCustomSize,
    fontSize: stepsIconCustomFontSize,
    lineHeight: "".concat(stepsIconCustomSize, "px")
  })), _defineProperty(_$concat2, "&".concat(componentCls, "-item-process"), _defineProperty({}, "".concat(componentCls, "-item-icon > ").concat(componentCls, "-icon"), {
    color: processIconColor
  })), _$concat2)), _defineProperty(_ref, "&:not(".concat(componentCls, "-vertical)"), _defineProperty({}, "".concat(componentCls, "-item-custom"), _defineProperty({}, "".concat(componentCls, "-item-icon"), {
    width: 'auto',
    background: 'none'
  }))), _ref;
};

export default genStepsCustomIconStyle;