// Grubhub Mobile — 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/grubhub.com // 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 grubhubmobileTheme = defineTheme({ name: 'grubhub-mobile-measured', color: {accent: '#262626', neutralStyle: 'cool'}, typography: { scale: {base: 24, ratio: 1.21}, body: {family: 'Bagoss Standard', fallbacks: 'Newsreader, sans-serif', url: 'https://fonts.googleapis.com/css2?family=Newsreader:wght@300..800&display=swap'}, heading: {family: 'bagoss-bold', fallbacks: 'Newsreader, sans-serif', url: 'https://fonts.googleapis.com/css2?family=Newsreader:wght@300..800&display=swap', weight: 700}, }, radius: {base: 12, multiplier: 1}, motion: {fast: 100, medium: 200, 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': '#262626', '--color-background-body': '#FBFBFC', '--color-background-surface': '#EDEDEE', '--color-text-primary': '#1A1A19', '--text-heading-1-size': '42px', '--text-heading-1-weight': '700', }, components: { button: { base: {borderRadius: '42px', fontWeight: '400'}, hover: {backgroundColor: '#3628C6'}, // measured :hover, driven live }, }, });