// Grok 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/grok.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 grokmobileTheme = defineTheme({ name: 'grok-mobile-measured', color: {accent: '#050505', neutralStyle: 'cool'}, typography: { scale: {base: 17, ratio: 1.26}, }, radius: {base: 12, multiplier: 1}, motion: {fast: 100, medium: 150, 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': '#050505', '--color-background-body': ['#050505', '#FCFCFC'], '--color-background-surface': '#EDEDED', '--color-text-primary': ['#FCFCFC', '#050505'], '--text-heading-1-size': '34px', }, components: { button: { base: {borderRadius: '9999px', fontWeight: '500'}, }, }, });