// Anytype — 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/anytype.io // 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 anytypeTheme = defineTheme({ name: 'anytype-measured', color: {accent: '#000000', neutralStyle: 'cool'}, typography: { scale: {base: 16, ratio: 1.3}, body: {family: 'Helvetica', fallbacks: '-apple-system, BlinkMacSystemFont, sans-serif'}, heading: {family: 'Helvetica', fallbacks: '-apple-system, BlinkMacSystemFont, sans-serif', weight: 400}, }, radius: {base: 6, multiplier: 1}, motion: {fast: 150, medium: 500, easing: 'ease'}, tokens: { // measured page colors, pinned explicitly (scale-generated values drift on // near-neutral accents — SPIKE finding); single-scheme brands keep one value. '--color-accent': '#000000', '--color-background-body': '#000000', '--color-background-surface': '#000000', '--color-text-primary': '#000000', '--text-heading-1-size': '96px', '--text-heading-1-weight': '400', '--text-heading-2-size': '88px', '--text-heading-2-weight': '300', '--text-heading-3-size': '48px', '--text-heading-3-weight': '500', }, components: { button: { base: {borderRadius: '6px', fontWeight: '500'}, hover: {backgroundColor: 'oklab(0 none none / 0.9)'}, // measured :hover, driven live }, }, });