You will learn#
- what the starter holds;
- how to fill the quote and the author;
- how to recolour it.
The idea#
Quote card is a 1080 x 1080 project of 6 seconds: a paper-coloured background, a short accent bar, the quote in a serif font and the author in upper case, both fading up. Its template colours are paper (#F4EFE6, the background), ink (#1B1B1B, the quote) and accent (#B5452A, the bar and the author).
| Slot | Kind | What goes in it |
|---|---|---|
quote | text | the quote (default A quote worth sharing goes here.) |
author | text | who said it (default Author Name) |
Quick start#
cat > fill.json <<'EOF'
{ "quote": { "text": "Make it work, then make it small." }, "author": { "text": "A. Writer" } }
EOF
vukem-video template:new tpl_5n8b2v6c1x --name "Quote 01" --fill fill.jsontemplate with {"action": "new", "template_id": "tpl_5n8b2v6c1x", "name": "Quote 01", "fill": {"quote": {"text": "Make it work, then make it small."}, "author": {"text": "A. Writer"}}}.
To recolour the card, change the named colours of the new project with template.set_info: {"colors": {"paper": "#101820", "ink": "#FFFFFF"}}. Every item that uses $paper or $ink follows.
Common mistakes#
- Long quotes: the text wraps at a maximum width, and a quote that grows outside the safe area is reported as
L_SAFE_AREA. Shorten it or lower the size withtext.set. - Removing a colour that an item still uses as
$name: refused.