# jackherd branding

Jack, a black-and-white Shih Tzu with a teal bandana, herding three lanes to three agent nodes. Every file here is a true vector or a PNG rendered from one: no embedded bitmaps, no `<text>`, no font files, no external references, transparent backgrounds.

## Variants

| File | Content | Use |
| ---- | ------- | --- |
| `jackherd-logo.svg` | Jack, lanes, nodes, wordmark | npm and GitHub README on light backgrounds, documentation |
| `jackherd-logo-dark.svg` | The same for dark backgrounds: `jack` in fur white, brighter teal, a fur-white sticker rim around Jack so the dark ears stand off the ground, lighter node rims, faint shadows | GitHub README in dark mode, dark documentation themes |
| `jackherd-logo-outline.svg` | The dark logo with ink letters and a light outline around Jack, the letters, the lanes and the nodes, no card; generated from `jackherd-logo-dark.svg` by `bun assets/branding/outline.ts` | The npm README, any page whose ground is unknown |
| `jackherd-logo-mark.svg` | Jack, lanes, nodes, no wordmark | Where the name is already written next to it |
| `jackherd-icon.svg` | App icon: Jack's head and bandana, lanes and nodes on a dark tile | Avatars, social previews, the herdr plugin, 128 px and up |
| `jackherd-icon-small.svg` | The icon simplified for 32-64 px: no `</>`, no ticks, thicker lanes, larger nodes | Favicons, tabs, small UI |

PNG exports, transparent outside the tile:

- `jackherd-logo-{1024,512}.png`, `jackherd-logo-dark-{1024,512}.png`, `jackherd-logo-mark-{1024,512}.png` (width in px)
- `jackherd-icon-{512,256,64}.png`
- `jackherd-icon-small-{64,32}.png`

Below 24 px even the small icon loses its lanes; use the head and bandana only, or no icon.

The six README feature icons in `assets/icons/` (one version each, mid-grey line work, readable on white and on black) are generated from `jackherd-logo.svg`: after a change, run `bun assets/icons/build.ts` from the package root.

A README that npm renders uses `jackherd-logo-outline.svg` and no `<picture>`: npm wraps every `<img>` in a link, so a `<source media="(prefers-color-scheme: dark)">` is never chosen, and npm has no dark theme of its own. Its light outline makes it read on white and on black. The paths below are relative to the package root; npm does not resolve relative image paths, so a README rendered there needs absolute URLs to the published files:

```html
<img alt="jackherd" src="assets/branding/jackherd-logo-outline.svg" width="340">
```

## Palette

| Name | Hex | Where |
| ---- | --- | ----- |
| Anthracite | `#212E34` | Outlines, `jack`, nodes, icon tile |
| Teal | `#03B5BD` | `herd`, bandana, lanes, ticks, node dots |
| Teal on dark | `#21BEC5` | `herd`, lanes, ticks and node dots in the dark logo |
| Icon grey | `#6F818A` | Line work of the feature icons (`assets/icons/*.svg`) |
| Node rim on dark | `#5B6B73` | Node rims in the dark logo |
| Dark grey | `#4A4E51` | Ears and body fur |
| Mid grey | `#9B9D9E` | Eye patches, fur strands |
| Light grey | `#C4CBCE` | Fur shading |
| White | `#FAF9F8` | Fur, `</>`, icon nodes; `jack` and Jack's sticker rim in the dark logo and the dark `bark` icon |
| Shadow | `#BCC5CA` | Ground shadows |

The README diagrams (`docs/`, generated by `docs/gen/common.py`) add a few colours of their own: amber `#E8A33D` (dark `#F0B455`) for a blocked lane, `#9A5A00` as amber text on white, `#03777D` as teal text on white, green `#2F9E44` (dark `#56C26A`) for a finished phase, and as card ground `#FAF9F8` light and `#151D22` dark, so each file stays readable on a page of the other theme.

## Typeface

The wordmark is set in **Lexend ExtraBold** (weight 800), converted to outlines; no font is embedded or loaded. Lexend is © The Lexend Project Authors, licensed under the SIL Open Font License 1.1, and published in the `googlefonts/lexend` repository. Of eight OFL candidates it matched the reference lettering most closely.

## License

The code of this package is MIT-licensed; the logo and Jack are not. All rights to the artwork in this directory are reserved: use it only to refer to jackherd, for example in a README, an article or a talk about it, not for another product or as part of another mark.

## Deviations from the reference design

- **Fur:** traced from the reference and reduced to the palette. Soft grey gradients (chin and chest shading) are flat areas, the finest strands are merged, and specks smaller than about 6 px² take the colour around them.
- **Face:** catchlights and the nose highlight are redrawn by hand, as is the right pupil in the icon.
- **Wordmark:** Lexend is close to, but not identical with, the reference lettering: the `j` ends in a flat cut, the `r` has a shorter arm, and the `e` is slightly more open.
- **Lanes, nodes, ticks, shadows, bandana `</>`:** redrawn as geometry on the measured positions; the lanes taper as in the reference.
- **Icon:** Jack is traced from the reference app icon itself. Lanes, nodes and ticks are redrawn, and the tile has a corner radius of 50/240. The shoulder below the left ear is one flat dark area with a rounded edge where the reference has a soft gradient, and specks are merged as in the logo.
- **Background:** the reference's off-white background is removed. Anti-aliased grey seams between white fur and outline are assigned to white or outline, so no light fringe shows on dark backgrounds.
