Repository Public
1# Design system23Source of truth: `brand/tokens.json` and `src/app/globals.css` (kept identical by `tests/brand.test.ts`).45## Brand67- **Name** ATLAS IA. **Headline** « Comprendre l'IA. Construire avec l'IA. »8- **Mark** (`brand/atlas-mark.svg`, light variant `atlas-mark-light.svg`, React `src/components/ui/Logo.tsx`): an « A » read as a three-node graph on a globe outline — the same idea as the course's TikZ logo, redrawn as SVG primitives. Nodes: teal (apex), blue (left), amber (right); blue crossbar.9- **Wordmark** (`brand/atlas-wordmark.svg`): mark + « ATLAS IA », Fira Sans SemiBold, tracking 0.16em, « IA » in blue. The SVG keeps live text; convert to outlines before print use.10- **Icons**: `src/app/icon.svg` (favicon), `src/app/apple-icon.png`, `public/icon-192.png`, `public/icon-512.png` — regenerate with `pnpm brand:build`. Social card: `src/app/opengraph-image.tsx`, rendered at build time with the self-hosted font.11- No UQO logo, no third-party artwork, no stock imagery.1213## Colour1415Navy foundation, ivory text, and four semantic accents shared with the course's slides. Colour never carries meaning alone: every state also has a label, an icon or a shape.1617| Token | Light | Dark | Meaning |18|---|---|---|---|19| `bg` / `surface` / `panel` | `#fbfaf6` / `#ffffff` / `#f1f3f8` | `#0b1426` / `#101b32` / `#16233f` | page, cards, quiet fills |20| `fg` / `muted` / `faint` | `#0b1426` / `#45526a` / `#5d6a82` | `#f5f1e6` / `#b4bfd1` / `#93a0b8` | text hierarchy |21| `blue` | `#1756c2` | `#6aabff` | information flow, active element, links |22| `teal` | `#0b7a63` | `#2fcbaa` | validated, success |23| `amber` | `#8f5a00` | `#ffb938` | uncertain, « À venir », caution |24| `coral` | `#c2301f` | `#ff8375` | error, hazard, trust boundary |25| `violet` | `#5b3fc4` | `#b3a0ff` | unpublished preview, instructions |2627Each accent has a `*-soft` background. All text/background pairs used are checked by axe on every route in both themes (see `TESTING.md`).2829## Type3031- **Display** — Fraunces Variable (optical size axis), headings and large numerals. `.display`, `.h-page`, `.h-section`.32- **Text** — Fira Sans 400/500/600 (the course's slide font).33- **Mono** — Fira Mono: code, timestamps, session numbers, eyebrows.34- Body 16 px minimum, line-height 1.6, reading measure 68ch (`.prose`). French typography: typographic apostrophes in interface copy and in displayed titles (`typo()`), non-breaking thin spaces left to the browser.35- Fonts come from `@fontsource*` npm packages (SIL OFL 1.1) and are bundled by the build: nothing is fetched from a font service.3637## Layout and components3839- `.shell` (76rem) and `.shell-narrow` (46rem) containers; 2.5rem « graph paper » grid (`.grid-paper`) behind page headers.40- Components (CSS classes in `globals.css`, React in `src/components/ui`): `btn` (+ `primary`, `accent`, `ghost`, `quiet`, `danger`, `sm`), `card`, `chip` (+ tones), `field`, `eyebrow`, `prose`, `PageHeader`, `Section`, `Callout`, `EmptyState`, `StateBadge`, `Level` (dots + label), `Tabs` (WAI-ARIA), `Icon` (original 24 px line set), `Markdown`.41- Diagram vocabulary: `.dg-node*`, `.dg-edge*`, `.dg-boundary` (dashed coral = trust boundary), and the kit in `src/components/diagrams/kit.tsx` (`Flow`, `Stepper`, `Slider`, `Choice`, `Toggle`, `Verdict`, `TextEquivalent`).4243## Themes and motion4445- Theme: system preference by default; the toggle cycles automatic → light → dark and stores the choice locally. An inline script applies it before first paint; without JavaScript, a CSS media query follows the system.46- `prefers-reduced-motion: reduce` cuts every transition and animation (tested). The only animations are hover lifts, the buffering spinner and smooth scrolling; nothing needs motion to be understood.47- Print: session pages print as a summary (chrome hidden, `.no-print`).4849## Responsive states5051Captured by `pnpm screenshots` at 375, 834 and 1440 px, light and dark, for every major screen in both modes: `docs/screenshots/production/` and `docs/screenshots/apercu/` (generated, not committed). A horizontal-overflow test runs at 375 px on every route.52