# Flux 2.3.0 — deck contract For building Kaptio slide decks. This file is complete: the premise, the rules that differ from product UI, the pacing, and the markup for every layout. This is NOT the product contract. If you are building an interface, stop and read https://flux.kaptio.com/llms.txt instead. The two disagree deliberately — a slide relaxes rules that a dashboard cannot, and applying deck rules to product UI is a defect. Reference: https://flux.kaptio.com/patterns/decks/ Example deck: https://flux.kaptio.com/decks/example/ PREMISE ======= A slide is not a small web page. It is read in seconds, from the back of a room, while somebody talks over it. The rules that keep a dense operational interface legible — one ground, restrained colour, a bounded type scale, no decoration — are the same rules that make a deck boring, because they are tuned for a surface nobody is looking up at. So the deck layer relaxes the rules that only make sense at desk distance, and holds every rule that carries the brand. What loosens is scale, ground, asymmetry and bleed. What never loosens is tokens, Lexend at two weights, JetBrains Mono as the second voice, and contrast. SETUP ===== A deck is a standalone HTML document. Two stylesheets, one script, one wrapper, one section per slide. Never load flux-deck.css into product UI: it derives the root font size from the viewport so the canvas scales as one piece, and that must not reach an app.