/* eslint-disable no-undef */ const C = { cream: '#DCD7C9', raised: '#EDE9E1', border: '#C8C3B8', muted: '#B0AA9E', deep: '#2C3930', mid: '#3F4F44', light: '#5C7065', earth: '#A27B5C', earthLight: '#C49A7A', earthFaint: '#A27B5C20', up: '#2D7A4F', stable: '#8B6914', down: '#A63228', }; const Eyebrow = ({ children, style }) => (
{children}
); const Card = ({ children, style, borderTop }) => (
{children}
); const Button = ({ children, onClick, variant = 'primary', style }) => { const styles = { primary: { background: C.deep, color: C.cream }, cta: { background: C.earth, color: C.cream }, ghost: { background: 'transparent', color: C.deep, border: `1px solid ${C.border}` }, }[variant]; return ( ); }; const Field = ({ label, children }) => ( ); const Select = ({ value, onChange, options }) => ( ); const Pill = ({ active, onClick, children }) => ( ); const Mono = ({ children, size = 18, color = C.deep, weight = 500, style }) => ( {children} ); const Display = ({ children, size = 28, weight = 500, color = C.deep, style }) => ( {children} ); Object.assign(window, { C, Eyebrow, Card, Button, Field, Select, Pill, Mono, Display });