Video brand kit in one page
One page of fonts, colours and logo rules that Claude reads before every job, with a font check.
See it work
3Results go into the kit
a-video-brand-kit-in-one-file.md
Everything on this page, as a Markdown file.
Copy these
Check the kit's fonts and colours before you trust themPython
# kit_check.py: does each brand font have the characters your posts use, and which colour pairs can carry words?
# Needs: pip install fonttools
import sys, itertools
from fontTools.ttLib import TTFont
FONTS = ["EBGaramond-SemiBold.ttf", "Inter-Bold.ttf", "ArialBold.ttf"]
NEED = {"rupee": "₹", "devanagari": "क", "degree": "°", "times": "×"}
COLOURS = {"amber": "#8f4f1c", "walnut": "#2a2420", "cream": "#f3ede2", "tile green": "#a8b8a0", "white": "#ffffff"}
for f in FONTS:
font = TTFont(f)
cmap = font.getBestCmap()
tags = {r.FeatureTag for r in font["GSUB"].table.FeatureList.FeatureRecord} if "GSUB" in font else set()
widths = {font["hmtx"][cmap[ord(d)]][0] for d in "0123456789"}
have = [k for k, ch in NEED.items() if ord(ch) in cmap]
miss = [k for k, ch in NEED.items() if ord(ch) not in cmap]
print(f"{f}: has {', '.join(have) or 'none'}; MISSING {', '.join(miss) or 'nothing'}; digits {'all one width' if len(widths) == 1 else 'tnum feature' if 'tnum' in tags else 'uneven, numbers will jitter'}")
def lum(h):
c = [int(h[i:i + 2], 16) / 255 for i in (1, 3, 5)]
c = [x / 12.92 if x <= 0.04045 else ((x + 0.055) / 1.055) ** 2.4 for x in c]
return 0.2126 * c[0] + 0.7152 * c[1] + 0.0722 * c[2]
for (a, ha), (b, hb) in itertools.combinations(COLOURS.items(), 2):
hi, lo = sorted([lum(ha), lum(hb)], reverse=True)
r = (hi + 0.05) / (lo + 0.05)
verdict = "any text" if r >= 4.5 else "large text only" if r >= 3 else "never for words"
print(f"{a} and {b}: {r:.2f}:1, {verdict}")Put your own font files and hex codes in the three lists at the top, then run it to see missing characters and which colour pairs can carry words.
# Video brand kit: [BRAND NAME] Owner: [NAME]. Last changed: [DATE]. Read with edit-spec.md. One line for people: [HOW THE BRAND SHOULD FEEL, IN ONE SENTENCE] Each rule lives in one file. Caption size and position, loudness and exports are in edit-spec.md. Type, colour, logo, motion and graphics areas are here. How Claude reads it: in Claude Code, save as brand-kit.md and add the line @brand-kit.md to CLAUDE.md. In the Claude app, add it to the Project's files. ## Type | Use | Font file | Weight | Licence | |---|---|---|---| | Wordmark, titles, callouts | [FONT FILE] | [WEIGHT] | [LICENCE NAME AND WHERE YOU READ IT] | | Captions, lower thirds, numbers | [FONT FILE] | [WEIGHT] | [LICENCE NAME AND WHERE YOU READ IT] | | [SECOND SCRIPT, SUCH AS HINDI] | [FONT FILE] | [WEIGHT] | [LICENCE NAME AND WHERE YOU READ IT] | - Numbers that change on screen: [TABULAR FIGURES, AND HOW TO SWITCH THEM ON] - Characters checked: [RUPEE, DEVANAGARI, OTHERS], on [DATE] - Paid ads covered by the font licence: [YES, NO, OR ADD-ON NEEDED] ## Colour | Name | Hex | Job | |---|---|---| | [NAME] | [HEX CODE] | [WHAT IT IS USED FOR] | | [NAME] | [HEX CODE] | [WHAT IT IS USED FOR] | | [NAME] | [HEX CODE] | [WHAT IT IS USED FOR] | Pairs that may carry words (WCAG ratio): [PAIRS AT 4.5 OR MORE] Large words only: [PAIRS FROM 3 TO 4.5] Never for words: [PAIRS UNDER 3] Exports carry BT.709 tags. A brand colour measured on the export within CIEDE2000 2 of its hex is a match. ## Caption look (size and position are in edit-spec.md) - [FONT], [TEXT COLOUR] on [BOX OR OUTLINE AND ITS COLOUR] - Word by word: [HOW THE SPOKEN WORD IS MARKED] ## Lower thirds and callouts - Name: [FONT, SIZE, COLOURS]. Role: [FONT, SIZE, COLOURS] - Callout: [FONT, SIZE, COLOURS, POSITION] - In over [FRAMES] frames, out over [FRAMES]. Each holds at least 0.5 s plus 0.3 s a word. ## Logo sting - [LOGO FILE], [SIZE AS A SHARE OF FRAME WIDTH], [POSITION] - [HOW IT ENTERS, HOLDS AND LEAVES, IN FRAMES] - Sound: [NONE, OR THE LICENSED SOUND AND ITS SOURCE] ## Graphics-safe areas - 9:16 at 1080 x 1920: inside [BOX IN PIXELS, AND WHERE IT COMES FROM, WITH DATE] - 16:9 at 1920 x 1080: inside x 96 to 1824, y 54 to 1026, EBU R 95 graphics safe. ## Words on screen - [BRAND NAME AND PRODUCT WORDS, EXACTLY AS WRITTEN] - Prices: [CURRENCY SIGNS AND NUMBER GROUPING FOR EACH MARKET] ## Never - [THINGS NO EDIT MAY DO TO THE LOGO, COLOURS OR TYPE]
Fill it from your brand guide and keep it to one page.
How to use
- Download the template above and fill it from your brand guide, keeping it to one page.
- Replace every word in [CAPITALS] with your brand's fonts, hex codes and licence details.
- Run the check script above after pip install fonttools, with your font files and hex codes in its three lists.
- Copy what it prints into the kit, noting the characters each font lacks and which colour pairs may carry words.
- In Claude Code, save the kit as brand-kit.md and add the line @brand-kit.md to CLAUDE.md. In the Claude app, add it to the Project's files.
Tips
- Check every font for the rupee sign and any Devanagari you need, because a missing character shows as an empty box or is quietly swapped for another font.
- Read a commercial font's licence before a post is boosted, since some foundries charge extra for paid ad placements.
- Keep caption size, position, loudness and exports in your edit spec and the look in the kit, so each rule lives in one file only.