// Nature — measured design system as an Astryx theme. // Decoded live from the real page by Mozaika: colors by role, type scale, radius, // motion timings and real hover/press states — measured, not guessed. // Decoded with Mozaika — full system + other formats: mozaika.design/decode/nature.org // Usage: … (Astryx needs React 19; // import '@astryxdesign/core/astryx.css'; build for SSR: npx astryx theme build ) import {defineTheme} from '@astryxdesign/core/theme'; export const natureTheme = defineTheme({ name: 'nature-measured', color: {accent: '#007931', neutralStyle: 'cool'}, typography: { scale: {base: 18, ratio: 1.3}, body: {family: 'Whitney', fallbacks: 'Inter, sans-serif', url: 'https://fonts.googleapis.com/css2?family=Inter:wght@300..800&display=swap'}, heading: {family: 'Chronicle Text G2', fallbacks: 'Newsreader, sans-serif', url: 'https://fonts.googleapis.com/css2?family=Newsreader:wght@300..800&display=swap', weight: 700}, }, radius: {base: 4, multiplier: 1}, motion: {fast: 200, medium: 500, easing: 'ease'}, tokens: { // measured page colors, pinned explicitly (scale-generated values drift on // near-neutral accents — SPIKE finding); single-scheme brands keep one value. '--color-accent': '#007931', '--color-background-body': '#FFFFFF', '--color-background-surface': '#F1F1F1', '--color-text-primary': '#1A1A1A', '--text-heading-1-size': '40px', '--text-heading-1-weight': '700', '--text-heading-2-size': '34px', '--text-heading-2-weight': '325', '--text-heading-3-size': '30px', '--text-heading-3-weight': '400', }, components: { button: { base: {borderRadius: '2px', fontWeight: '600'}, hover: {backgroundColor: '#1A1A1A'}, // measured :hover, driven live }, }, });