Every Area Has an Icon, a DDD Color and a Motion on Record
RULES.md
Every part of HAX that people are shown (a project area, backend, tool, schema, surface or site in the network) has one icon, one DDD color and one icon motion, and all three are on record in PRAW before it ships: the `%%@ node <id> icon=<set:name> color=<DDD color name> motion=<DDD motion name>` line in the ecosystem web that draws it (`ecosystem/web/hax-ecosystem.mmd` for an area, that area's sub-web for a part of it) and, for a site, its entry in `ecosystem/network.json`. That record is the only copy: anything that shows an area (a site, the network bar, a dashboard or Merlin entry, docs, social art, a poster) takes the icon, color and motion from it and never picks its own, and a change is made to the record first. The icon is in `@haxtheweb/simple-icon` or `@haxtheweb/hax-iconset`, drawn in one ink on the 24 grid, and is HAX's own mark: never another project's logo, mascot or wordmark. The color is a DDD named color with a black or white glyph, whichever contrasts more. The motion is one of the nine DDD icon motions (`pop`, `wiggle`, `tilt`, `beat`, `lift`, `spin`, `nudge`, `strike`, `glow`; the scale motion is `beat`, `pulse` is the attention ring), which plays once on hover or keyboard focus, never moves under `prefers-reduced-motion: reduce` and never carries meaning alone. Style guide, when to use each motion and how to add one: `ecosystem/README.md`, "Area icons, colors and motion" (<https://github.com/haxtheweb/praw/blob/main/ecosystem/README.md#area-icons-colors-and-motion>). In PRAW RULES.md (scope: design-system). Enforced by Rule checks, Parse check. praw's Ecosystem web integrity job (ecosystem/test/integrity-check.py) fails the pull request when an area on the main web has no icon (or image), DDD color or motion on its %%@ node line, or when a network property's tile differs from its network.json record (the record wins); the parse check rejects a color or motion that isn't a DDD name. network.json records each site's icon motion and its glyph motions, which are DDD's (DDDMotionGlyphNames).
Connects to
- Design System Standards includes this
- Rule checks enforces this
- Parse check enforces this