import{composeTypographyStyle as r,composeMemo as t,removeNullUndefined as e,makeStyle as p,getGlobalColorCSSProp as l}from"@gem-sdk/core";let b=(r,t,e)=>({...t,...r?{...p({c:l(e),bc:l(e)})}:{}}),c=b=>{let{typo:c,layout:m,typographyPaginator:o,itemSpacing:x,buttonSizeNumber:i,buttonShape:g,normalColor:s}=b??{},u=r(c,o),y=t(()=>e({...u,...p({ml:x,mr:x,bc:l(s),c:l(s)})}),[x,s,c,o?.custom,o?.type]);if("simple"!=m&&(y={...y,...p({h:i+"px",w:i+"px",pr:"10px",pl:"10px"})},"circle"===g)){let r=i?i/2+"px":"1000px";y={...y,...p({bblr:r,bbrr:r,btlr:r,btrr:r})}}return y};export{c as getCustomStyle,b as getPaginatorStyle};
