import{n as e,t}from"./compiler-runtime-BUESly0A.js";import{t as n}from"./clsx-CIqcJ5es.js";var r=t(),i=e(),a={rust:`bg-rust text-cream`,amber:`bg-amber text-cream`,moss:`bg-moss text-cream`,neutral:`bg-bg-card text-ink border border-hairline`};function o(e){let t=(0,r.c)(10),o,s,c;t[0]===e?(o=t[1],s=t[2],c=t[3]):({tone:c,className:o,...s}=e,t[0]=e,t[1]=o,t[2]=s,t[3]=c);let l=a[c===void 0?`neutral`:c],u;t[4]!==o||t[5]!==l?(u=n(`inline-flex items-center rounded-full px-2 py-1 font-mono text-xs leading-none`,l,o),t[4]=o,t[5]=l,t[6]=u):u=t[6];let d;return t[7]!==s||t[8]!==u?(d=(0,i.jsx)(`span`,{className:u,...s}),t[7]=s,t[8]=u,t[9]=d):d=t[9],d}export{o as t};