Documentation

Styles

The slide's stylesheet, what the reader accepts, and the :slide rule.

Everything visual lives in the stylesheet rather than in the markup, so dragging an element rewrites two numbers inside one rule and leaves the markup untouched.

:slide {  background: var(--color-background);} .headline {  left: 96px;  top: 220px;  width: 888px;  font-family: var(--font-serif);  font-size: 96px;  color: var(--color-primary);}

The :slide rule

:slide is the slide itself: its ground colour, its fill layers, its tilt and its effect stack. See Backgrounds and effects.

What the reader accepts

  • The properties the document model holds. A declaration it cannot hold is refused with its line number, never silently dropped.
  • var(--color-…), var(--font-…) and var(--space-…) resolve against the document's own design tokens.
  • font-family takes a type role or a generic family. A named font is refused, because a deck pinned to one stops following its own design system.