// Community Nextjs Template — 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/community-nextjs-template.vercel.app // 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 communitynextjstemplateTheme = defineTheme({ name: 'community-nextjs-template-measured', color: {accent: '#615FFF', neutralStyle: 'cool'}, typography: { scale: {base: 16, ratio: 1.3}, body: {family: 'Inter', fallbacks: '-apple-system, BlinkMacSystemFont, sans-serif', url: 'https://fonts.googleapis.com/css2?family=Inter:wght@300..800&display=swap'}, heading: {family: 'Inter', fallbacks: '-apple-system, BlinkMacSystemFont, sans-serif', url: 'https://fonts.googleapis.com/css2?family=Inter:wght@300..800&display=swap', weight: 700}, }, radius: {base: 3, multiplier: 1}, motion: {fast: 150, medium: 300, easing: 'cubic-bezier(0.4, 0, 0.2, 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': '#615FFF', '--color-background-body': '#E2E8F0', '--color-background-surface': '#D5DBE4', '--color-text-primary': '#0F172B', '--text-heading-1-size': '48px', '--text-heading-1-weight': '700', }, components: { button: { base: {borderRadius: '3.35544e+07px', fontWeight: '500'}, hover: {backgroundColor: 'lab(38.4009 52.6132 -92.3857)'}, // measured :hover, driven live }, }, });