// Flowus — 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/flowus.cn // 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 flowusTheme = defineTheme({ name: 'flowus-measured', color: {accent: '#FFFFFF', neutralStyle: 'cool'}, typography: { scale: {base: 12, ratio: 1.3}, body: {family: 'Ping Fang SC', fallbacks: 'Newsreader, sans-serif', url: 'https://fonts.googleapis.com/css2?family=Newsreader:wght@300..800&display=swap'}, heading: {family: 'Ping Fang SC', fallbacks: 'Newsreader, sans-serif', url: 'https://fonts.googleapis.com/css2?family=Newsreader:wght@300..800&display=swap', weight: 600}, }, radius: {base: 6, multiplier: 1}, motion: {fast: 20, medium: 100, easing: 'ease-out'}, tokens: { // measured page colors, pinned explicitly (scale-generated values drift on // near-neutral accents — SPIKE finding); single-scheme brands keep one value. '--color-accent': '#FFFFFF', '--color-background-body': ['#FFFFFF', '#191919'], '--color-background-surface': '#F3F2F2', '--color-text-primary': ['#37352F', '#D4D4D4'], '--text-heading-1-size': '40px', '--text-heading-1-weight': '600', '--text-heading-2-size': '18px', '--text-heading-2-weight': '600', }, components: { button: { base: {borderRadius: '6px', fontWeight: '500'}, hover: {backgroundColor: 'rgba(0, 0, 0, 0.03)'}, // measured :hover, driven live }, }, });