// Carrd — 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/carrd.co // 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 carrdTheme = defineTheme({ name: 'carrd-measured', color: {accent: '#33ADA9', 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: 700}, }, radius: {base: 6, multiplier: 1}, motion: {fast: 200, medium: 750, easing: 'ease-in-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': '#33ADA9', '--color-background-body': '#24252D', '--color-background-surface': '#303038', '--color-text-primary': '#ECECEE', '--text-heading-1-size': '56px', '--text-heading-1-weight': '700', '--text-heading-2-size': '34px', '--text-heading-2-weight': '700', '--text-heading-3-size': '24px', '--text-heading-3-weight': '700', }, components: { button: { base: {borderRadius: '6px', fontWeight: '700'}, hover: {backgroundColor: '#39C1BC'}, // measured :hover, driven live }, }, });