// Gitpod — 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/gitpod.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 gitpodTheme = defineTheme({ name: 'gitpod-measured', color: {accent: '#C41E3A', neutralStyle: 'cool'}, typography: { scale: {base: 16, ratio: 1.3}, body: {family: 'ABC Diatype', fallbacks: 'Space Grotesk, sans-serif', url: 'https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300..800&display=swap'}, heading: {family: 'Martina Plantijn', fallbacks: 'Newsreader, sans-serif', url: 'https://fonts.googleapis.com/css2?family=Newsreader:wght@300..800&display=swap', weight: 300}, }, radius: {base: 4, 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': '#C41E3A', '--color-background-body': '#FFFFFF', '--color-background-surface': '#F0F0F1', '--color-text-primary': '#0A0E19', '--text-heading-1-size': '64px', '--text-heading-1-weight': '300', '--text-heading-2-size': '56px', '--text-heading-2-weight': '300', '--text-heading-3-size': '52px', '--text-heading-3-weight': '300', }, components: { button: { base: {borderRadius: '8px', fontWeight: '400'}, hover: {backgroundColor: '#E8E8E8'}, // measured :hover, driven live }, }, });