import e from"../_util/classNames.mjs";import{isPresetColor as i}from"../_util/colors.mjs";function l(a,r){const t=i(r),n=e({[`${a}-${r}`]:r&&t}),o={},s={};return r&&!t&&(o.background=r,s["--antd-arrow-background-color"]=r),{className:n,overlayStyle:o,arrowStyle:s}}export{l as parseColor};
