import{r as e}from"./markdown-Biq8ujIZ.js";import{n as t}from"./createLucideIcon-dIT_VeEb.js";var n=e(),r={error:`border-red-500/30 bg-red-500/10 text-red-600 dark:text-red-400`,success:`border-accent-500/30 bg-accent-500/10 text-accent-600 dark:text-accent-400`,info:`border-brand-500/30 bg-brand-500/10 text-brand-700 dark:text-brand-300`};function i({tone:e=`info`,children:i}){return i?(0,n.jsx)(`div`,{className:t(`rounded-xl border px-4 py-3 text-sm`,r[e]),role:`alert`,children:i}):null}export{i as t};