import{makeGlobalSize as e,getGlobalColorClass as t,getCustomRadius as r,getRadiusCSSFromGlobal as o,makeStyle as l,getSingleColorVariable as i,makeStyleResponsive as d,filterTruthyStyles as n}from"@gem-sdk/core";let a=e=>{let t={...d("ta",e?.textAlign)};return n(t)},g=a=>{let{backgroundColor:g,roundedTag:s,borderTag:c,textColor:m}=a??{},p=e(a?.size),u=t("border",c?.color),b=t("text",m),x={...d("jc",a?.textContentAlign),...p.padding,...l({bs:c?.border,bw:c?.width,bc:""===u?c?.color:void 0,c:""===b?m:void 0,bgc:i(g)}),...["small","medium","large"].includes(s?.radiusType||"")&&o("normal",s?.radiusType),...r("normal",s)};return n(x)},s=t=>{let r=e(t?.size);return{...r.width,...r.height}};export{s as getContainerStyle,a as getRootClass,g as getWrapperTextStyle};
