// Claude — 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/claude.ai // 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 claudeTheme = defineTheme({ name: 'claude-measured', color: {accent: '#0B0B0B', neutralStyle: 'cool'}, typography: { scale: {base: 13, ratio: 1.2}, body: {family: 'Anthropic Sans', fallbacks: 'Newsreader, sans-serif', url: 'https://fonts.googleapis.com/css2?family=Newsreader:wght@300..800&display=swap'}, heading: {family: 'Anthropic Serif', fallbacks: 'Newsreader, sans-serif', url: 'https://fonts.googleapis.com/css2?family=Newsreader:wght@300..800&display=swap'}, }, radius: {base: 7, multiplier: 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': '#0B0B0B', '--color-background-body': ['#FFFFFF', '#1A1A19'], '--color-background-surface': '#F0F0F0', '--color-text-primary': ['#0B0B0B', '#F0EFEC'], '--text-heading-1-size': '13px', }, components: { button: { base: {borderRadius: '8px', fontWeight: '400'}, }, }, });