Documentation · English and Portuguese · Open source
Language: English

All docs Brand guide

Project

Herald brand guide (v1)

Herald is named after the town herald who read the news aloud in the square at dawn. The identity borrows from that and from the printed page: serif newspaper type, ink on paper, generous whitespace and one warm accent, the sun coming up.

The -dark files are drawn in paper colour for dark backgrounds, so they only show on this page in a dark theme.

Mark

Herald mark Herald mark, dark

A bracketed-serif H. Its crossbar is the horizon and the sun rises inside it. That is the whole idea, so there are no rays, glows or extra lines.

File Use
mark.svg Mark on light backgrounds (ink + sunrise)
mark-dark.svg Mark on dark backgrounds (paper + sunrise)
favicon.svg 16 to 32 px: browser tab, app and bot avatars. An ink tile with a simplified H drawn on the 16 px pixel grid.

Favicon Favicon at 16 px

Wordmark and lockup

Herald wordmark Herald lockup Herald lockup, dark
File Use
wordmark.svg The name alone, when the mark is already nearby
lockup.svg Mark + wordmark, the default sign-off (README, site header, email)
lockup-dark.svg The same on dark backgrounds

The wordmark is set in Source Serif 4 Display Semibold and converted to outlines, so it never depends on an installed font. In the lockup, the cap height of the wordmark is 80% of the mark's H and the caps are centred on it.

Social card

Herald social card

social-card.svg is 1280 × 640, the GitHub social preview size. The kicker, tagline and footer are Source Serif 4 Semibold (18 px caps tracked 2.2 px, and 20 px) and Source Serif 4 Display Regular (34 px); the headline is Display Semibold at 92 px. All type is converted to outlines. Keep its copy free of anything that goes stale, such as a list of languages or a source count, and point to herald.day, not the repository.

Export it to site/social-card.png (for example rsvg-convert -w 1280 social-card.svg -o ../../site/social-card.png, then pngquant and optipng; keep it under 300 KB). GitHub only accepts PNG/JPG uploads, so upload the same file in the repository settings as the social preview. The site's pages don't use it: each has its own Open Graph card.

Open Graph cards

Open Graph card of the English home page

Every page of herald.day, in every language, has its own 1200 × 630 card (the 1.91:1 Open Graph size that Facebook, LinkedIn and WhatsApp expect) in site/og/<lang>/<page>.png, for example site/og/pt/story.png. It follows the social card: the lockup; the page's kicker in Source Serif 4 Semibold caps (18 px, tracked 2.2 px); the page's h1 in Display Semibold, as large as fits on two lines (92 px down to 64 px, three lines only below that); one short line in Display Regular (34 px, at most two lines, clear of the sun); and the footer with herald.day. All type is outlined.

scripts/og-cards.sh makes them all. It builds a throwaway image (librsvg, pngquant, optipng, fontTools, uharfbuzz and Source Serif 4 4.005 pinned by checksum), then runs scripts/og_cards.py, which reads each page's kicker and h1, sets the card, exports it under 150 KB and points the page's og:image, twitter:image, size and alt tags (and the home pages' JSON-LD image) at it. The alt is localized and reads the card's headline and line. The short line, the footer and the alt template live in one table at the top of og_cards.py, with nothing that goes stale.

Run it again whenever a page's kicker or h1 changes. A new page needs its line in LINES; a new language also needs FOOTER and ALT. The script stops before writing anything if a text is missing or does not fit. tests/test_pages_site.py checks that every page points at its own card, 1200 × 630 and under the size cap.

The reference docs share one card per language, site/og/en/docs.png for /docs/ and site/og/pt/docs.png for /pt/docs/, each made from its index page; scripts/build_docs.py points every guide at its language's card with the same alt.

Clear space and minimum size

  • Clear space: keep at least X free on every side of the mark or lockup, where X is the height of the sun (9 units on the mark's 64-unit grid, about 14% of the H's height). The SVG files already include part of it as padding. Keep no other text, logo or rule inside it.
  • Minimum size:
    • mark: 24 px tall. Below that, use favicon.svg, which is drawn for 16 and 32 px.
    • lockup: 120 px wide.
    • wordmark: 64 px wide.

Misuse

Don't:

  • recolour the sun, or use any colour that is not in the palette;
  • add gradients, shadows, glows, outlines, sparkles or rays;
  • stretch, skew, rotate or re-space the mark or the letters;
  • put the light mark on a dark or busy background (use the -dark file), or the mark on a photo;
  • rebuild the wordmark in another typeface, or retype it in live text;
  • move the sun outside the H, or separate the H from its sun;
  • add "AI-powered" or any other badge to the logo.

Palette

Source of truth: palette.json.

Name Hex Role
ink #1a1a1a Text and mark on light; dark background
paper #f6f1e7 Default background; text and mark on dark
sunrise #e2572b The one accent: the sun, rules, highlights, large text
ember #b8431c Accent for small text and links on paper
press #5c574f Secondary text on paper
fog #a39e94 Secondary text on ink

Contrast (WCAG 2.1). AA needs 4.5:1 for body text and 3:1 for large text (24 px+, or 18.66 px+ bold) and for graphics.

Foreground on paper on ink
ink 15.46 (AAA) n/a
paper n/a 15.46 (AAA)
sunrise 3.31 (large text and graphics only) 4.67 (AA)
ember 4.84 (AA) 3.20 (large only)
press 6.36 (AA) 2.43 (fail)
fog 2.37 (fail) 6.53 (AA)

So use sunrise for the mark, rules and big headlines on paper, and ember for small accent text and links on paper. On ink, sunrise is safe at any size.

Typography

Both families are open source under the SIL Open Font License. Reference them, don't vendor them.

Fallback stacks:

--font-serif: "Source Serif 4", Georgia, "Times New Roman", serif;
--font-sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

Headline and tagline

Each language was written on its own, not translated from the other. ★ marks the recommendation.

English

Headline Tagline
★ The news, before the coffee cools. Herald reads hundreds of sources so you can read one page.
Your morning, read aloud. Every story that matters, once, with its sources.
What happened while you slept. A daily briefing that keeps the facts and drops the noise.

Português (Brasil)

Headline Tagline
★ O que importa, antes do primeiro café. O Herald lê centenas de fontes para você ler uma página só.
Bom dia. Eis as notícias. Cada notícia uma vez, com a fonte do lado.
Sua manhã, anunciada. Fato primeiro, opinião nenhuma.

Español

Headline Tagline
★ Lo esencial, antes del primer café. Herald lee cientos de fuentes para que tú leas una sola página.
Las noticias, antes de que se enfríe el café. Cada noticia una vez, con sus fuentes al lado.
Lo que importa, antes del café. Una sola página cada mañana, con las fuentes a la vista.

Français

Headline Tagline
★ L’essentiel, avant que le café refroidisse. Herald lit des centaines de sources pour que vous n’ayez qu’une page à lire.
L’actualité, le temps d’un café. Chaque information une fois, sa source à côté.
Ce qui s’est passé pendant votre sommeil. Les faits du jour, sans le bruit.

Italiano

Headline Tagline
★ Le notizie, il tempo di un caffè. Herald legge centinaia di fonti, a te basta una pagina.
Quello che conta, prima del caffè. Ogni notizia una volta sola, con la sua fonte accanto.
Buongiorno. Ecco le notizie. Prima i fatti, il rumore resta fuori.

Deutsch

Headline Tagline
★ Das Wichtigste, bevor der Kaffee kalt wird. Herald liest Hunderte Quellen, damit Sie nur eine Seite lesen.
Die Welt am Morgen, auf einer Seite. Jede Meldung einmal, mit ihren Quellen.
Was geschah, während Sie schliefen. Ein tägliches Briefing: die Fakten, ohne das Rauschen.

Voice and tone

Herald speaks like a good morning editor: brief, factual, calm, a little warm.

Do Don't
Lead with the fact: who, what, how much. Open with hype ("huge", "game-changer", "you won't believe").
Use short sentences and plain words. Say "AI-powered", "revolutionary" or "unlock".
Name the source and link to it. State things the sources don't say, or guess at motives.
Write each language natively, with its own idioms. Translate word for word, or mix languages in one sentence.
Say "nothing important happened" when that is the case. Pad a slow day, add emoji, or use exclamation marks.

Applied in this repository

  • README header (README.md and every README.*.md): the lockup with light and dark variants.
  • GitHub social preview: social-card.svg, exported to site/social-card.png and uploaded by the maintainer.
  • Telegram bot avatar: use favicon.svg exported at 512 px.
  • Project site (site/): favicon.svg is the tab icon. favicon.ico (16, 32 and 48 px), favicon-32.png, icon-192.png and icon-512.png are favicon.svg exported at those sizes; apple-touch-icon.png (180 px) is the same drawing on a square tile at 80%, since iOS rounds the corners itself. og/<lang>/<page>.png are the Open Graph cards (see above).