Viewing File: /usr/local/cpanel/base/frontend/jupiter/koality/_nuxt/DoM8CRcL.js

import{aq as n,o as d,e as c,ag as l,D as i,s as u,at as e}from"./EJiqiqZX.js";const p={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"}},g={__name:"ProseCode",props:{lang:{type:String,required:!1},color:{type:null,required:!1},class:{type:null,required:!1}},setup(o){const r=o,s=n(),t=u(()=>e({extend:e(p),...s.ui?.prose?.code||{}}));return(a,b)=>(d(),c("code",{class:i(t.value({class:(r.class||"").split(",").join(" "),color:r.color}))},[l(a.$slots,"default")],2))}};export{g as default};
Back to Directory File Manager