Apply the brand to a piece
napkin_brand_applyRestyles a piece in the brand — the workspace's brand unless you name a kit. deck (a board id): every slide gets the brand's background, typefaces, and text colors; sizes are kept. interface (an interface id): rewrites its brand.css, so anything styled with var(--brand-*) updates. accent makes one of the kit's colors the piece's accent — use it when the piece is about one product or campaign that has its own color in the brand (read the kit's Colors section to see which). Docs need nothing — they read the brand when exported. Check a deck afterwards with napkin_slide_view.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| deck | No | Board id of a deck. | |
| kitId | No | A brand kit id from napkin_brand_list. Omit for the workspace's brand. | |
| accent | No | Name of one of the kit's colors to use as this piece's accent. | |
| interface | No | Interface id. | |
| workspace | No | Workspace slug. Personal tokens with no default workspace MUST pass this; tokens with a default can override per call. Ignored for workspace API keys. |