// Apple Music 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/music.apple.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 applemusicmobileTheme = defineTheme({ name: 'apple-music-mobile-measured', color: {accent: '#D60017', neutralStyle: 'cool'}, typography: { scale: {base: 12, ratio: 1.3}, body: {family: '-apple-system', fallbacks: '-apple-system, BlinkMacSystemFont, sans-serif'}, heading: {family: '-apple-system', fallbacks: '-apple-system, BlinkMacSystemFont, sans-serif', weight: 700}, }, radius: {base: 12, multiplier: 1}, motion: {fast: 100, medium: 250, easing: 'ease-in'}, tokens: { // measured page colors, pinned explicitly (scale-generated values drift on // near-neutral accents — SPIKE finding); single-scheme brands keep one value. '--color-accent': '#D60017', '--color-background-body': ['#FFFFFF', '#1F1F1F'], '--color-background-surface': '#EFEFEF', '--color-text-primary': '#000000', '--text-heading-1-size': '34px', '--text-heading-1-weight': '700', '--text-heading-2-size': '18px', '--text-heading-2-weight': '600', '--text-heading-3-size': '17px', '--text-heading-3-weight': '700', }, components: { button: { base: {borderRadius: '9999px', fontWeight: '400'}, }, }, });