import{a0 as c,a1 as d,e as i,q as l,ac as u,s as p,c as b,am as r,o as m}from"./B3fabVUf.js";const f={base:"px-1.5 py-0.5 text-sm font-mono font-medium rounded-md inline-block",variants:{color:{primary:"border border-primary/25 bg-primary/10 text-primary",secondary:"border border-secondary/25 bg-secondary/10 text-secondary",success:"border border-success/25 bg-success/10 text-success",info:"border border-info/25 bg-info/10 text-info",warning:"border border-warning/25 bg-warning/10 text-warning",error:"border border-error/25 bg-error/10 text-error",neutral:"border border-muted text-highlighted bg-muted"}},defaultVariants:{color:"neutral"}},x={__name:"ProseCode",props:{lang:{type:String,required:!1},color:{type:null,required:!1},class:{type:null,required:!1},ui:{type:Object,required:!1}},setup(o){const e=o,s=c(),t=d("prose.code",e),a=b(()=>r({extend:r(f),...s.ui?.prose?.code||{}}));return(n,g)=>(m(),i("code",{class:u(a.value({class:[p(t)?.base,(e.class||"").split(",").join(" ")],color:e.color}))},[l(n.$slots,"default")],2))}};export{x as default};
