// Gruns — 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/gruns.co // 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 grunsTheme = defineTheme({ name: 'gruns-measured', color: {accent: '#007E40', neutralStyle: 'cool'}, typography: { scale: {base: 16, ratio: 1.3}, body: {family: 'Work Sans', fallbacks: '-apple-system, BlinkMacSystemFont, sans-serif', url: 'https://fonts.googleapis.com/css2?family=Work+Sans:wght@300..800&display=swap'}, heading: {family: 'Work Sans', fallbacks: '-apple-system, BlinkMacSystemFont, sans-serif', url: 'https://fonts.googleapis.com/css2?family=Work+Sans:wght@300..800&display=swap', weight: 400}, }, radius: {base: 8, multiplier: 1}, motion: {fast: 150, medium: 300, easing: 'cubic-bezier(0.4, 0, 0.2, 1)'}, tokens: { // measured page colors, pinned explicitly (scale-generated values drift on // near-neutral accents — SPIKE finding); single-scheme brands keep one value. '--color-accent': '#007E40', '--color-background-body': '#FFFFFF', '--color-background-surface': '#EFEFEF', '--color-text-primary': '#000000', '--text-heading-1-size': '96px', '--text-heading-1-weight': '400', '--text-heading-2-size': '88px', '--text-heading-2-weight': '400', '--text-heading-3-size': '64px', '--text-heading-3-weight': '400', }, components: { button: { base: {borderRadius: '3.35544e+07px', fontWeight: '600'}, hover: {backgroundColor: '#00572C'}, // measured :hover, driven live }, }, });