Brand kit
Run this before making anything for a brand. vox-explainer refuses a "brand" scene with no kit, and image-gen refuses --brand with no kit.
Kits live in ~/.local/share/simcraft/brands/<slug>/, outside the public repo, because they hold other companies' fonts and logos. Use them only for work with or about that brand, and never commit or share the font files.
Steps
- Extract. Give the main site, plus the product or marketing page if it looks different. The second page often holds the real brand font (chatgpt.com uses system fonts, openai.com ships OpenAI Sans).
It reads the CSS design tokens (resolving nested ones), the computed styles of headings, body, buttons, code and cards, thenode ~/simcraft/skills/design/brand-kit/scripts/extract.mjs https://devin.ai ~/.local/share/simcraft/brands/devin [more urls]@font-facefiles (downloaded locally), the logo, the favicon, and the colours that cover the screen by area. - Propose:
python3 ~/simcraft/skills/design/brand-kit/scripts/propose.py <brand_dir> --name "Devin"writesbrand.json. - Board:
python3 ~/simcraft/skills/design/brand-kit/scripts/board.py <brand_dir>writesboard.png. It shows the palette, the real fonts, the logo, the site, and two sample explainer frames in the brand's look. Look at it next to the site screenshot and fixbrand.jsonby hand where it's off:- accent: the one colour the brand is known for. If the brand is monochrome (like ChatGPT), the accent is black, and that's correct.
- vox.field_a / field_b: the two background fields. Usually the brand's surface plus either its ink or its accent.
- fonts.display: the face, weight and case of their headlines.
- image_style: one sentence describing how their illustrations look. Write it from their site, not from the template.
- Note anything else in
notes, such as "never use the logo on blue" or "emoji-free". Then re-run the board, and show it to the user before using the kit.
- Check official guidelines if the brand publishes them (search "<brand> brand guidelines" or "press kit"). Official colours and logo files beat what the website happens to use.
Using a kit
- vox-explainer: add
"brand": "devin"to the scene. Colours, fonts, edges (clean or torn), grain and highlight all switch over. Background names becomea,b,paperandaccent. - image-gen: add
--brand devin. The kit's image style and palette are added to every prompt. - For anything else (stickers, thumbnails, slides), read
brand.jsonand use its colours, font files and shapes.
What the kit holds
colors (surface, paper, ink, muted, accent, on_accent, extras), fonts (display, body, mono, and serif if any, each with its family, weight, case, tracking and local files), shape (button and card radius, texture), logo, icon, vox (the explainer theme), image_style and notes.
How each choice is made, and what testing on Devin and ChatGPT showed: reference.md.