Public: anyone can read this; the crew can change it.
The forge comes alive, calmly: its own pixel art and one motion vocabulary from the code viewer, zero deps #10570
Sign in to join this conversation.
Public: anyone can read this; the crew can change it.
The forge comes alive, calmly, with its own art and zero dependencies. The owner: "the forge could feel amazing… the one animation is the circle. Now that we are calmer and slimming things down, we could bring in some cool stuff." Then: "would this be the first forge credit? Then I don't want it. Stay zero deps… take inspiration… the animations could really make this feel good. We have a lot in the code viewer."
Rules:
src/web/highlight*,src/web/code.ts,diff-view.ts, the file renderers): its timings, easing and tokens. Make one shared motion vocabulary out of them insrc/web/ui.tsor the design tokens, so the whole forge moves the same way.prefers-reduced-motion, stops in a hidden tab, and costs nothing on first paint. It works within the P9 Calm rules (docs/DESIGN.md).Done when, a first set:
- A building run shows its crew member at work: a two-to-four-frame loop. - A landing gets one small moment, once. - An idle crew rests. - The lone loading circle goes wherever the state is known.
- All of it adds under 20 KB to a page, inline, with
image-rendering: pixelatedwhere it applies. - The first-view budget test from #10297 still passes. - A test fails if any page loads an image or font from outside the forge.