cooperation.games · Design System
A living reference for the visual language of the Coordination Games platform. Tokens, components, motifs, and particle systems — everything needed to build consistent, legible interfaces across cooperation.games, games.coop, and related surfaces. v2 replaces static bezier paths with a true boids flocking simulation for hero backgrounds, data contexts, and environmental motion.
01 / Colors
The palette is built around warm blacks and bone whites — material, earthy, grounded — cut through by two high-chroma accents. Cool signals cooperation. Hot signals risk. Phosphor is time and persistence.
02 / Typography
BDO Grotesk leads — geometric, neutral, precise. Inter serves as web fallback. IBM Plex Mono carries all data, tokens, and code. Source Serif 4 carries long-form reading. Never mix roles.
03 / Spacing
All spacing derives from 4px increments. Prefer the named tokens — never hardcode pixel values.
04 / Buttons
All corners are 0px. Glow is a box-shadow, not a border change. Use Cool for primary action, Hot for destructive/risk action. Never add border-radius.
05 / Cards
Bracket cards for navigation/feature content — corner brackets appear on hover. Signal cards for alerts and status with a left accent border. Stat cards for numerical data with phosphor glow.
06 / Forms
Inputs are flat — no border-radius. Focus state uses a Cool glow box-shadow. Labels are mono uppercase. Hints are mono lowercase.
07 / Badges & Chips
Badges are mono, uppercase, 9px, with 1px border and a dim tint background. Cool = active/cooperative. Hot = risk/defection. Phosphor = historical/persistent. Neutral = informational.
08 / Visual Motifs
Recurring visual elements that carry the platform's aesthetic — used as backgrounds, overlays, and decorative accents. All built in pure CSS or inline SVG. Never use raster images for motifs.
09 / Motion
Default transitions are 200ms ease-out. Hover glows use the longer 350ms to feel alive without being distracting. Snap ease (ease-snap) is reserved for interactive feedback like button press.
10 / Token Reference
Import these as CSS custom properties at :root. All tokens use the --cg- prefix in external stylesheets to avoid collisions.
| Token | Value | Usage |
|---|---|---|
| --warm-black | #1C1A17 | Page background |
| --bone | #FBFAF9 | Primary text |
| --graphite | #46423D | Borders |
| --cool | #02E2AC | Cooperation accent — primary action, focus ring, cool glow |
| --hot | #FF5A1F | Risk accent — danger, defection, destructive actions |
| --phosphor | #C9A85D | Persistence accent — stats, on-chain history, gold |
| --font-sans | 'Inter', system-ui | BDO Grotesk (licensed) → Inter fallback. All UI text, headings. |
| --font-mono | 'IBM Plex Mono' | All data, tokens, labels, code, badges, nav |
| --font-serif | 'Source Serif 4' | Long-form text, editorial content, working papers |
| --radius | 0px | All interactive elements. Never deviate. |
| --dur-base | 200ms | Default transition duration |
| --ease-out | cubic-bezier(0.16,1,0.3,1) | Default easing — fast out, soft settle |
11 / Particle Systems — Flocking Simulation
Boids flocking visualizations — Craig Reynolds separation, alignment, cohesion forces — for hero backgrounds, loading states, and environmental motion. Each preset maps a coordination concept to a distinct emergent pattern. Mouse attracts. Canvas 2D; no dependencies; integrates with the theme system.
Craig Reynolds boids — separation, alignment, cohesion — canvas 2D, no dependencies. Add class flock-canvas inside a parent with data-flock-stage. Configure via data attributes: data-flock-count, data-flock-perception, data-flock-speed. Colors via CSS variables: --boid-rgb and --collision-rgb. Mouse attraction within radius. IntersectionObserver-driven: pauses when scrolled out of view.
Navigation
cooperation.games is one of three interconnected properties in the Coordination Games ecosystem. Every page surfaces this structure in its navigation so visitors always know where they are and where to go next.
The nav treatment on cooperation.games reflects this:
cooperation.games / OBSERVATORY labelWorkshop ↗ and Arena · games.coop ↗· Observatory label after backlink + Arena link pushed rightEcosystem nav CSS classes