import{makeStyleResponsive as e,getStyleBgColor as t,removeNullUndefined as l,makeStyle as r,getSingleColorVariable as o,getGlobalColorStateStyle as p,getGlobalColorCSSProp as a}from"@gem-sdk/core";import{makeStyleStateConditionActive as i}from"./helpers.js";let g=e=>({"--gap-desktop":`${e?.desktop}`,"--gap-tablet":`${e?.tablet??e?.desktop}`,"--gap-mobile":`${e?.mobile??e?.tablet??e?.desktop}`}),m=e=>{let{breadcrumbItemIndex:t,lengthOfBreadcrumb:a,appendTypoStyle:g,fontWeight:m,labelColor:s}=e,b=t+1===a;return{...b?{}:p("c",s),...r({c:o(b&&s?.active||s?.normal)}),...l(i("weight",m,b)),...g,...b?l(i("weight",m,b)):{}}},s=(e,t)=>{let l=e?.desktop??0,r=e?.tablet??l,o=e?.mobile??r;return{"--height-desktop":`${l}px`,"--height-tablet":`${r}px`,"--height-mobile":`${o}px`,"--c":a(t)}},b=(l,r)=>{let{background:o,align:p}=r??{};return{...l,...t(o??{}),...e("jc",p)}};export{s as generateBreadcrumbChildIconStyles,m as getBreadcrumbChildItemStyles,b as getBreadcrumbStyles,g as getSpacingStyles};
