// Biome — 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/biomejs.dev // 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 biomeTheme = defineTheme({ name: 'biome-measured', color: {accent: '#0065DA', neutralStyle: 'cool'}, typography: { scale: {base: 16, ratio: 1.3}, body: {family: 'Arial', fallbacks: '-apple-system, BlinkMacSystemFont, sans-serif'}, heading: {family: 'Arial', fallbacks: '-apple-system, BlinkMacSystemFont, sans-serif', weight: 600}, }, radius: {base: 3, multiplier: 1}, motion: {fast: 100, medium: 200, 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': '#0065DA', '--color-background-body': ['#FFFFFF', '#17181C'], '--color-background-surface': '#F2F3F3', '--color-text-primary': ['#353841', '#C0C2C7'], '--text-heading-1-size': '64px', '--text-heading-1-weight': '600', '--text-heading-2-size': '40px', '--text-heading-2-weight': '400', '--text-heading-3-size': '24px', '--text-heading-3-weight': '600', }, components: { button: { base: {borderRadius: '4.8px', fontWeight: '400'}, }, }, });