// Kraken 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/kraken.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 krakenmobileTheme = defineTheme({ name: 'kraken-mobile-measured', color: {accent: '#7132F5', neutralStyle: 'cool'}, typography: { scale: {base: 20, ratio: 1.3}, body: {family: 'Kraken-Product', fallbacks: 'Newsreader, sans-serif', url: 'https://fonts.googleapis.com/css2?family=Newsreader:wght@300..800&display=swap'}, heading: {family: 'Kraken-Brand', fallbacks: 'Newsreader, sans-serif', url: 'https://fonts.googleapis.com/css2?family=Newsreader:wght@300..800&display=swap', weight: 400}, }, radius: {base: 12, multiplier: 1}, motion: {fast: 75, 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': '#7132F5', '--color-background-body': '#F6F5F9', '--color-background-surface': '#E7E6EA', '--color-text-primary': '#000000', '--text-heading-1-size': '58px', '--text-heading-1-weight': '400', '--text-heading-2-size': '48px', '--text-heading-2-weight': '400', '--text-heading-3-size': '36px', '--text-heading-3-weight': '400', }, components: { button: { base: {borderRadius: '12px', fontWeight: '500'}, hover: {backgroundColor: '#5B1ECF'}, // measured :hover, driven live }, }, });