// Threads 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/threads.net // 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 threadsmobileTheme = defineTheme({ name: 'threads-mobile-measured', color: {accent: '#000000', neutralStyle: 'cool'}, typography: { scale: {base: 15, ratio: 1.12}, body: {family: 'system-ui', fallbacks: '-apple-system, BlinkMacSystemFont, sans-serif'}, heading: {family: 'system-ui', fallbacks: '-apple-system, BlinkMacSystemFont, sans-serif', weight: 700}, }, radius: {base: 12, multiplier: 1}, motion: {fast: 150, medium: 300, 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': '#000000', '--color-background-body': ['#FAFAFA', '#0A0A0A'], '--color-background-surface': '#EBEBEB', '--color-text-primary': ['#000000', '#F3F5F7'], '--text-heading-1-size': '20px', '--text-heading-1-weight': '700', }, components: { button: { base: {borderRadius: '10px', fontWeight: '600'}, }, }, });