When I started building the Skyline design system, I had one clear goal: create something that bridges the gap between designers and developers. Too many design systems exist in silos — beautiful in Figma but disconnected from the codebase, or technically sound but visually uninspired.

1. Start with Design Tokens

Design tokens are the foundation. Before building a single component, define your colors, typography, spacing, and elevation as atomic tokens. This creates a single source of truth that both Figma and code can reference.

yaml
colors:
  primary: "#1976D2"
  accent: "#1E88E5"
  neutral-border: "#E8EAED"
  ink: "#1A1A1A"
"Tokens give exact values. Prose tells agents why those values exist and how to apply them." — Google's DESIGN.md spec

2. Accessibility Is Not Optional

One of the biggest lessons: WCAG compliance should be baked into your tokens from day one. My original accent color #1E88E5 had only 3.7:1 contrast ratio with white text — failing AA standards. The fix: use #1976D2 (4.6:1) for all text-bearing surfaces, and reserve the brighter accent for decorative elements.

Contrast Ratios That Matter

  • WCAG AA normal text: 4.5:1 minimum
  • WCAG AA large text: 3.0:1 minimum
  • WCAG AAA: 7.1:1 for enhanced accessibility

3. Component Architecture

Build components bottom-up: atoms → molecules → organisms. Variants are sibling keys with related names, not nested objects — this matches how Figma component variants work.

yaml
button-primary:
  backgroundColor: "{colors.primary}"
  textColor: "#FFFFFF"
button-primary-hover:
  backgroundColor: "#1565C0"

4. The Grid Is Everything

Skyline's identity comes from its 1px border grid layout. Instead of shadows, the design uses borders to create visual hierarchy — a "ticket-like" aesthetic that's clean and information-dense.

5. The Authoring Workflow

  1. Extract tokens from your visual design (Figma → DESIGN.md)
  2. Run lint checks: structure, references, WCAG contrast
  3. Export to Tailwind CSS and W3C DTCG JSON
  4. Import tokens back into Figma via Tokens Studio
  5. Build components in both Figma and code simultaneously
bash
npx -y @google/design.md lint DESIGN.md
npx -y @google/design.md export --format dtcg DESIGN.md > tokens.json

Conclusion

A good design system is not a style guide — it's a contract. Start with tokens. Validate accessibility. Build bottom-up. Document the why, not just the what.