import { jsx } from "react/jsx-runtime";
import "react";
import { cn } from "../../../lib/utils.js";
import { typographyColorVariants } from "../../../lib/variants.js";
function Code({ color, className, children, ...props }) {
  return /* @__PURE__ */ jsx(
    "code",
    {
      "data-slot": "code",
      className: cn(
        "font-mono text-sm bg-muted px-1.5 py-0.5 rounded",
        typographyColorVariants({ color }),
        className
      ),
      ...props,
      children
    }
  );
}
export {
  Code
};
//# sourceMappingURL=code.js.map
