Files
diagram-design/references/type-layers.md
T
Cathryn Lavery ba3062c5ba Repaint to jet-black + atomic-tangerine skin, add consultant-special 2×2
Why: the default skin was too warm/neutral and the pyramid + venn never
quite read the way they should. Also prepping for public sharing, so the
example diagrams needed to drop the littlemight-specific copy.

Changes:
- New five-color palette: jet-black ink, atomic-tangerine accent,
  white-smoke paper, blue-slate muted, silver hairlines. Replaces
  warm-stone + rust across every variant + dark-mode tokens.
- Default background is clean paper; dot grid + framed container are
  now opt-in variants (uncomment in template to enable).
- New consultant-special quadrant variant (example-quadrant-consultant.html)
  — 2×2 scenario matrix with named cells, double-ended axes, one focal
  quadrant; house skin, not a separate visual language.
- Pyramid redrawn as a true triangular silhouette with shared edges on
  one slope (stacked polygons on a single triangle outline, no kinks).
- Venn redesigned: dark-fill triple-intersection with white text,
  circle labels moved inside non-overlap lobes, pair-overlap labels
  removed, legend dropped.
- Example content genericized (content site / product timeline /
  content platform instead of littlemight-branded copy).
- Screenshots regenerated at 2× DPI; added quadrant-consultant.png
  (14th diagram in the gallery).
- README: hero-first opener, preserved Why-I-built-it section, UTM
  tags on littlemight + bestself links, palette description updated.
2026-04-22 11:14:08 -05:00

1.5 KiB
Raw Blame History

Layer Stack

Best for: OSI model, CSS cascade, context hierarchy, tech stack, abstraction layers, memory hierarchy.

Layout conventions

  • Horizontal bands stacked vertically. Each layer is a full-width rectangle (same x, same width). 4–6 layers total.
  • Layer height 56–72px, width typically 800–880px inside a 1000px viewBox.
  • Each row contains (left→right):
    1. Index tag on the far left (L3, 07, APPLICATION) — Geist Mono 8–9px eyebrow.
    2. Layer name slightly right of center-left — Geist 14–16px 600.
    3. Sublabel / note on the far right — Geist Mono 9–10px muted.
  • Border between layers: 1px hairline rgba(45,49,66,0.12). Outer silhouette 1px ink or muted.
  • Fills: either alternating subtle shades (paper / paper-2) OR all paper with hairline dividers. Pick one and hold it.
  • Direction indicator on the LEFT margin (outside the stack): small up/down arrow + Geist Mono label (abstraction ↑, packets ↓).
  • Coral on one focal layer (stroke + subtle tint fill) — the bottleneck, the pay-rent layer, the one under discussion.

Anti-patterns

  • Layers that aren't actually hierarchical (use swimlane or architecture).
  • Skipped numbering (missing L4 between L3 and L5 without explanation).
  • Every layer a different color — hierarchy invisible.
  • Inconsistent layer heights without reason.

Examples

  • assets/example-layers.html — minimal light
  • assets/example-layers-dark.html — minimal dark
  • assets/example-layers-full.html — full editorial