Canvas and type
The canvas every slide template is built on: a 16:9 frame composed at 1920 by 1080 that scales to fit, its footer, the 8-column grid everything sits on, the tones, the pitch's pieces and the type scale.
Preview
Nothing on it but the standard footer, in the bottom margin: the wordmark on the first line, the client on the third, the deck ending on the seventh and the page on the last. Turn the grid off to see it bare.
Footers
A deck picks one footer template for all its slides with footer in its info ({ footer: 'page' }); a cover or a full-bleed image drops it on its own slide.
standard
The wordmark on the first line, the client on the third, the deck ending on the seventh and the page on the last. The default, when a deck names no footer.
page
The page alone, on the last line.
none
Nothing: the bottom margin stays empty. The pitch's.
Grid
8 columns and 6 rows inside the pitch's 120 margin, with no gutters, so everything starts on a line. A slide lays out the same as a thumbnail and full screen.
| Part | Token | Slide pixels | Note |
|---|---|---|---|
| Canvas | --slide-px | 1920 × 1080 | Scales to its frame; spacing utilities inside it are in slide pixels. |
| Columns | --slide-columns | 8, each 210 | Everything starts on a column line. |
| Rows | --slide-rows | 6, each 140 | slide-grid-rows places content on them. |
| Margin | --slide-margin | 120 · p-30 | The pitch's margin, all round. Only fine print goes in the bottom one: a footnote, and the footer under it. |
| Gutter | --slide-gutter | 0 | No gutters: text that shares a row with its neighbour stops short of the next line with pr-10. |
| Footer | slide-footer | 32 above the foot | In the bottom margin, on the columns, where the pitch sets its sources: the footer template the deck picks. |
Tones
Paper and Cüte ink, then the pitch's colour fields, sampled from its slides. Each sets the ground, the ink, the accent (the numbered circles, a stressed word) and the wave, and rescopes the theme's roles to them, so muted text and hairlines read on every ground.
Pieces
The pitch's signature details, as pieces any slide can use. Each is sized in em, so it takes the size of the type it sits in.
Type scale
Cüte Sans throughout, in slide pixels: the display sizes in the pitch's heavy capitals, the headings in its sentence-case titles. They are the f-slide-* typesets, read here from frontend.config.json like the site's, and drawn at the scale a slide this wide would draw them.
f-slide-display-xlDisplay · 208 · font-extraboldf-slide-display-lgDisplay · 168 · font-extraboldf-slide-display-mdDisplay · 128 · font-extraboldf-slide-display-smDisplay · 96 · font-extraboldf-slide-display-wallDisplay · 371.43 · font-lightf-slide-h0Heading · 120 · font-semiboldf-slide-h1Heading · 104 · font-semiboldf-slide-h2Heading · 88 · font-semiboldf-slide-leadHeading · 72 · font-semiboldf-slide-h3Heading · 64 · font-semiboldf-slide-h4Heading · 56 · font-semiboldf-slide-h5Heading · 40 · font-semiboldf-slide-h6Heading · 32 · font-semiboldf-slide-p-xlText · 38 · font-normalf-slide-p-lgText · 32 · font-normalf-slide-p-mdText · 26 · font-normalf-slide-p-baseText · 22 · font-normalf-slide-p-smText · 18 · font-normalf-slide-p-xsLabel · 16 · font-mediumf-slide-p-2xsLabel · 14 · font-mediumf-slide-p-3xsLabel · 12 · font-semibold
Usage
import { Slide } from "@repo/ui-web/components/slides/slide";import { SlideWave } from "@repo/ui-web/components/slides/slide-wave";// Inside the margin, on the lines. No gutters: text that shares a row// with its neighbour stops short of the next line with pr-10. A typeset// comes with the wrap it can't carry: text-balance, or text-pretty for h0// and the text sizes.<Slide deck={deck} page={page} tone="green"> <div className="slide-grid slide-grid-rows flex-1 p-30"> <h2 className="f-slide-display-md text-balance col-span-6 row-span-2 pr-10"> A headline </h2> <p className="f-slide-p-base text-pretty col-span-2 col-start-7"> A note with a <SlideWave>stressed</SlideWave> phrase </p> </div></Slide>