/* eslint-disable */
// Shared atoms used across the rphlimacosta website UI kit.
const Eyebrow = ({ children, tone = "default" }) => (
{children}
);
const Tag = ({ children, tone = "petrol" }) => (
{children}
);
const Btn = ({ children, variant = "primary", as = "button", href, onClick }) => {
const cls = `btn btn-${variant}`;
if (as === "a") {
return (
{children}
);
}
return (
);
};
// A small dithered square used as a decorative mark.
const DitherMark = ({ size = 64, tone = "petrol", style }) => {
const cls = tone === "amber" ? "dither dither-amber" : tone === "cream" ? "dither dither-cream" : "dither";
return (
);
};
// Carbon icon — loads from assets/icons/.svg.
const CarbonIcon = ({ name, size = 24, color = "currentColor" }) => (
);
Object.assign(window, { Eyebrow, Tag, Btn, DitherMark, CarbonIcon });