// Messenger 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/messenger.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 messengermobileTheme = defineTheme({ name: 'messenger-mobile-measured', color: {accent: '#0866FF', neutralStyle: 'cool'}, typography: { scale: {base: 15, ratio: 1.3}, body: {family: 'SFProText-Regular', fallbacks: 'Newsreader, sans-serif', url: 'https://fonts.googleapis.com/css2?family=Newsreader:wght@300..800&display=swap'}, heading: {family: 'Facebook Sans', fallbacks: 'Newsreader, sans-serif', url: 'https://fonts.googleapis.com/css2?family=Newsreader:wght@300..800&display=swap', weight: 600}, }, radius: {base: 12, multiplier: 1}, motion: {fast: 200, medium: 400, easing: 'cubic-bezier(0.08, 0.52, 0.52, 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': '#0866FF', '--color-background-body': '#FFFFFF', '--color-background-surface': '#F1F1F1', '--color-text-primary': '#1C1E21', '--text-heading-1-size': '80px', '--text-heading-1-weight': '600', '--text-heading-2-size': '21px', '--text-heading-2-weight': '600', '--text-heading-3-size': '19px', '--text-heading-3-weight': '500', }, components: { button: { base: {borderRadius: '24px', fontWeight: '600'}, hover: {backgroundColor: '#003AB9'}, // measured :hover, driven live }, }, });