// Hopper 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/hopper.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 hoppermobileTheme = defineTheme({ name: 'hopper-mobile-measured', color: {accent: '#002D11', neutralStyle: 'cool'}, typography: { scale: {base: 16, ratio: 1.26}, body: {family: 'Proxima Nova', fallbacks: 'Montserrat, sans-serif', url: 'https://fonts.googleapis.com/css2?family=Montserrat:wght@300..800&display=swap'}, heading: {family: 'Proxima Nova', fallbacks: 'Montserrat, sans-serif', url: 'https://fonts.googleapis.com/css2?family=Montserrat:wght@300..800&display=swap', weight: 800}, }, radius: {base: 12, multiplier: 1}, motion: {fast: 200, medium: 300, easing: 'cubic-bezier(0.77, 0, 0.18, 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': '#002D11', '--color-background-body': '#FFFFFF', '--color-background-surface': '#F0F0F0', '--color-text-primary': '#111111', '--text-heading-1-size': '32px', '--text-heading-1-weight': '800', '--text-heading-2-size': '24px', '--text-heading-2-weight': '700', '--text-heading-3-size': '22px', '--text-heading-3-weight': '700', }, components: { button: { base: {borderRadius: '8px', fontWeight: '700'}, hover: {backgroundColor: '#00290F'}, // measured :hover, driven live }, }, });