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

var genStatusStyle = function genStatusStyle(token) {
  var componentCls = token.componentCls,
      menuCls = token.menuCls,
      colorError = token.colorError,
      colorTextLightSolid = token.colorTextLightSolid;
  var itemCls = "".concat(menuCls, "-item");
  return _defineProperty({}, "".concat(componentCls, ", ").concat(componentCls, "-menu-submenu"), _defineProperty({}, "".concat(menuCls, " ").concat(itemCls), _defineProperty({}, "&".concat(itemCls, "-danger"), {
    color: colorError,
    '&:hover': {
      color: colorTextLightSolid,
      backgroundColor: colorError
    }
  })));
};

export default genStatusStyle;