diff --git a/jobs/compose.mdx b/jobs/compose.mdx index f2f154c..0f30881 100644 --- a/jobs/compose.mdx +++ b/jobs/compose.mdx @@ -342,21 +342,27 @@ Every clip has `asset`, `start`, `length`, plus any of: Place between two clips on a track: `{ "type": "transition", "transition": , "duration": , "direction"?: }`. - - A dissolves directly into B. - A dips through black, then B fades up. - B slides in from an edge. Set `direction`: left, right, up, or down. - B grows in from the center. - Hard cut, no blend. - +| Transition | Effect | +| --- | --- | +| `crossfade` | A dissolves directly into B | +| `fade` | A dips through black, then B fades up | +| `slide` | B slides in from an edge (`direction`: left, right, up, down) | +| `zoom` | B grows in from the center | +| `none` | Hard cut, no blend | ### Text style Fields on a text asset's `style`: - - `font`, `size`, `weight` (100..1000), `color`, `align` (left, center, right) - `position` as `{ x, y }` percent strings - `stroke {color,width}`, `background`, `shadow {color,opacity,offsetX,offsetY}` - `animate {type, duration}`, where `type` is fade, slideUp, slideDown, slideLeft, or slideRight - +| Field | Notes | +| --- | --- | +| `font` | Font family name | +| `size` | Point size | +| `weight` | 100..1000 (default 400) | +| `color` | Hex fill | +| `align` | `left`, `center`, `right` | +| `position` | `{ x, y }` as percent strings | +| `stroke` | `{ color, width }` outline | +| `background` | Hex fill behind the text | +| `shadow` | `{ color, opacity, offsetX, offsetY }` | +| `animate` | `{ type, duration }` (type: fade, slideUp, slideDown, slideLeft, slideRight) |