SPB Git

Repository Public License Research preview

visual-design-system.md 10.9 KB

# Visual design system

The rules every ATLAS IA slide and figure follows. Implemented in brand/, latex/ and checked, where a rule is objective, by tools/validate_accessibility.py and tools/validate_latex.py.

# 1. Canvas and grid

  • Format: 16:9, 160 mm × 90 mm (Beamer aspectratio=169).
  • Margins: 9 mm left and right (\AtlasMargin). Text block: 142 mm wide.
  • Vertical zones: kicker + title + accent rule (top 20 mm) · content (about 60 mm) · footer (bottom 8 mm).
  • Figures are drawn in millimetres ([x=1mm, y=1mm]) at most 142 mm × 52 mm so that a caption fits below.

# 2. Colour: meaning first

Colours are semantic. A figure never uses a raw colour name; it uses the meaning.

Semantic name Meaning Dark (projection) Print (handout)
atlasBg canvas #0B1426 midnight navy #FFFFFF
atlasFg primary text #F5F1E6 ivory #0B1426
atlasPanel panel fill #16233F #EEF2F8
atlasCodeBg code and terminal fill #060B16 near-black #E4EAF3
atlasRule structure lines, neutral outlines #34476E #8A97AD
atlasMuted secondary text, notes, captions #AEB9CC #4A566B
atlasFlow information flow; the object under study #4C9AFF vivid blue #1756C2
atlasValid validated output, success #2FCBAA teal #0B7A63
atlasUncertain uncertainty, decision, question #FFB938 amber #8F5A00
atlasHazard error or hazard, trust boundary #FF7466 coral #C2301F

Rules:

  1. One meaning per colour, across all 24 sessions. Blue arrows carry information; teal marks what has been checked; amber marks what is uncertain or must be decided; coral marks what is wrong or dangerous.
  2. Never colour alone. Every coloured signal is doubled by a word, a symbol or a shape: boxes carry a text label ("Définition", "Attention", "À retenir"); verdicts use ✓/✗ marks plus the word; decisions are diamonds; trust boundaries are dashed coral lines; course levels are dot counts.
  3. No gradients, no drop shadows, no transparency effects beyond flat tints: figures stay portable vector art.
  4. Measured contrast (WCAG 2.x), both modes: primary text ≥ 7:1; secondary text and accents ≥ 4.5:1. Current values are in reports/accessibility.json.

Print mode is selected by the class option print (used by make handouts); the same sources produce both.

# 3. Typography

Role Macro Size on the 160 mm page Equivalent on a 13.33 in slide
Section and title-slide display — 21 pt ≈ 44 pt
Frame title \AtlasSizeTitle 16 pt ≈ 34 pt
Lead sentence \AtlasSizeLead 13 pt ≈ 28 pt
Body \AtlasSizeBody 11 pt ≈ 23 pt
Tables, secondary text \AtlasSizeSmall 9.5 pt ≈ 20 pt
Figure labels \AtlasSizeLabel 8.5 pt ≈ 18 pt
Captions, kicker, footer, figure notes \AtlasSizeTiny 7.2 pt ≈ 15 pt

Beamer pages are small, so point sizes look low: multiply by 2.117 to compare with presentation software. Body text therefore exceeds the 20 pt minimum of CLAUDE.md §4. Sizes below body are reserved for labelled details (tables, figure labels, captions, code). The absolute floor is 6 pt (≈ 13 pt), used only in the course map tiles; validators reject anything smaller, and \tiny/\scriptsize are forbidden in decks.

  • Fonts: Fira Sans (text), Fira Mono (code), Fira Math (formulas), loaded by file name from TeX Live; fallback Latin Modern. See assets/fonts-manifest.md.
  • Alignment: ragged right everywhere. Justified text in narrow columns creates rivers.
  • Hyphenation: disabled in titles and figure labels.
  • French typography: babel (french) inserts the proper spaces before : ; ! ? and inside « ». Type guillemets directly; do not add manual thin spaces.
  • Never shrink text to make content fit. Split the slide.

# 4. Frame anatomy

text
S01 • Section name                                   kicker: module ID + section (7.2 pt, muted)
Frame title                                          16 pt bold, never hyphenated
▬▬▬                                                   accent rule (atlasFlow)
content …
Simon-Pierre Boucher · UQO        ATLAS IA        S01 • 7/38      discreet footer attribution + module ID
████████░░░░░░░░░░░░░░░░░░░░░░░░                      progress bar

Structural frames: \AtlasTitleSlide (course, module ID, session title, instructor and affiliation prominently), \AtlasSection, \AtlasRoadmap, \AtlasReferences, \AtlasClosingSlide (instructor and affiliation again).

# 5. Components

Component Use Signal
AtlasDefinition{term} one definition blue rule + "Définition"
AtlasConcept{label} neutral panel, worked statement grey rule + free label
AtlasWarning{label} pitfall, limit, fictional example coral rule + "Attention"
AtlasTakeaway the sentence to remember teal rule + "À retenir"
AtlasQuiz{label} question to the audience amber rule + "Question"
AtlasDemo{label} guided demonstration blue rule + "Démonstration"
\AtlasCompare[c1][c2]{…}{…}{…}{…} two panels of equal height
\AtlasTriple{…}×6 three neutral panels of equal height
AtlasCode{language}{label}, AtlasTerminal{label} code; real terminal output frames must be [fragile]
\AtlasDiagram[skip]{ID}{file}{caption} a figure with its visible caption and ID
\AtlasLead, \AtlasKey, \AtlasSource, \AtlasTerm, \AtlasEn, \AtlasYes/No/Caution lead sentence, key term, source line, bilingual term, status marks

Slide rhythm (CLAUDE.md §14): question → visual intuition → mechanism → worked example → failure mode → practice → takeaway. One primary teaching idea per slide. Vary compositions: full-width diagram, split comparison, table, numerical walkthrough, terminal/result pair.

# 6. Figure grammar

Strokes: hairline 0.5 pt (grids), regular 0.9 pt (shapes), emphasis 1.4 pt (the object under study, boundaries). Round caps and joins. Arrowheads: Stealth.

Concept Motif TikZ
LLM component, processing step rounded compute block atlas block, atlas block flow/valid/uncertain/hazard/strong
Token stream monospace chips in a row atlas token, atlas token ghost (not yet produced), \AtlasTokenRow
Context window bounded horizontal band with segments \AtlasContextBand, \AtlasBandSegment
Persistent storage cylinder atlas store, pic atlas db
Information flow solid blue arrow; dashed grey when optional atlas arrow, atlas arrow optional, atlas arrow valid/hazard/muted
Decision, stop condition, approval gate amber diamond atlas gate
Trust boundary thick dashed coral line atlas boundary
Region, scope, set thin rounded outline with a tag atlas region, atlas tag=<colour>
Ordered steps numbered circles atlas step
Text atlas heading, atlas label, atlas note
Quantities PGFPlots atlas axis, atlas probability bars, atlas bar flow/valid/…
Icons (14, original) document, storage, person, tool, gear, terminal, speech, spark, label, shield, check, cross, warning, logo pics atlas doc, atlas db, … — sheet: assets/original-icons/

Rules for every figure:

  1. One file per figure, named SXX-Fnn-slug.tex, with a header comment stating the idea it conveys. Shared figures: assets/shared-diagrams/ATLAS-Fnn-slug.tex.
  2. Declared in figures/manifest.yaml: purpose, design rationale, caption, source facts, validation of quantities, alt text.
  3. Every number shown comes from code or a documented hand calculation, and is covered by a test. Data files (*-donnees.tex) are generated.
  4. A figure communicates one insight that prose conveys poorly. No decoration, no clip art.
  5. Complex systems are shown as a sequence of views before the full diagram.
  6. Illustrative or schematic content is labelled as such in the caption.
  7. Third-party screenshots are forbidden by default; if indispensable, they need provenance, licence check, date, an explicit "capture d'écran de tiers" label and alt text.

# 7. Hero diagrams

CLAUDE.md §5 lists 26 mandatory hero diagrams. Status is tracked in each manifest through hero_diagram.

# Diagram Session Status
1 AI → ML → deep learning → generative AI → LLM taxonomy S01 (S01-F01) implemented
2 Tokenization and autoregressive generation S02 (S02-F01) implemented
3 Training vs inference pipeline S02 (S02-F02) implemented
4 Transformer attention, Q/K/V and causal mask, checked miniature S03 (S03-F01, S03-F02) implemented
5 Sampling distribution with temperature (computed) S02 (S02-F03) implemented
6 Prompt structure and instruction/data trust boundary S04 (S04-F01) implemented
7 Context window allocation, overflow and compaction S05 (S05-F01) implemented
8 Short-term context vs persistent memory vs external knowledge S06 (S06-F01; introduced in S01-F05) implemented
9 Embedding space and semantic retrieval (illustrative) S07 (S07-F01) implemented
10 RAG pipeline with retrieval, citation and failure points S07 (S07-F02) implemented
26 Course-wide knowledge map shared (ATLAS-F26) implemented
11 Multimodal input-processing flow S08 (S08-F01) implemented
12 Chatbot vs deterministic workflow vs agent S09 (S09-F01) implemented
13 Agent loop with tools, observations, approvals and termination S09 (S09-F02) implemented
14 Tool-call schema and response lifecycle S10 (S10-F01) implemented
15 API/MCP architecture with roles and trust boundaries S10 (S10-F02) implemented
16 Terminal → shell → process → filesystem S11 (S11-F01) implemented
17 Sandboxed vs host execution S11 (S11-F04) implemented
18 Orchestrator/subagent tree with parallelism and merge S12 (S12-F01) implemented
19 Multi-agent shared-state race condition and mitigation S12 (S12-F03) implemented
20 Claude Code project workflow S13 (S13-F01) implemented
21 Codex project workflow S15 (S15-F01) implemented
22 Git branching, diffs, review and CI loop S17 (S17-F01) implemented
23–25 see CLAUDE.md §5 S19–S23 with their sessions

The authoritative per-figure record is the hero_diagram field of each session's figures/manifest.yaml.

# 8. Review procedure

make preview renders every slide and contact sheets. A person inspects them for clipping, overflow, overlaps, font substitution, contrast and broken glyphs, fixes what is found, and records reviewer, date, method and remaining issues in sessions/SXX/qa/results.json. No deck is called reviewed without that record.

Files main
Menu

Theme