// Linear 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/linear.app // 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 linearmobileTheme = defineTheme({ name: 'linear-mobile-measured', color: {accent: '#E5E5E6', neutralStyle: 'cool'}, typography: { scale: {base: 15, ratio: 1.3}, body: {family: 'Inter Variable', fallbacks: '-apple-system, BlinkMacSystemFont, sans-serif', url: 'https://fonts.googleapis.com/css2?family=Inter+Variable:wght@300..800&display=swap'}, heading: {family: 'Inter Variable', fallbacks: '-apple-system, BlinkMacSystemFont, sans-serif', url: 'https://fonts.googleapis.com/css2?family=Inter+Variable:wght@300..800&display=swap', weight: 510}, }, radius: {base: 12, multiplier: 1}, motion: {fast: 100, medium: 160, easing: 'cubic-bezier(0.25, 0.46, 0.45, 0.94)'}, tokens: { // measured page colors, pinned explicitly (scale-generated values drift on // near-neutral accents — SPIKE finding); single-scheme brands keep one value. '--color-accent': '#E5E5E6', '--color-background-body': '#08090A', '--color-background-surface': '#161718', '--color-text-primary': '#F7F8F8', '--text-heading-1-size': '64px', '--text-heading-1-weight': '510', '--text-heading-2-size': '48px', '--text-heading-2-weight': '510', '--text-heading-3-size': '24px', '--text-heading-3-weight': '400', }, components: { button: { base: {borderRadius: '9999px', fontWeight: '510'}, hover: {backgroundColor: '#FFFFFF'}, // measured :hover, driven live }, }, });