Skip to content
Contributor documentation: how the project is built and released. Not needed to use the library.

Brand

The xtandard-links mark is the xtandard X — a chevron (>, a request passing through) crossed by a second stroke — where the upper-right stroke is a two-link chain. It sits on the family’s near-black rounded tile between faint < > brackets with orbit lines, like xtandard-flags (a flag) and xtandard-webhooks (a hook). It uses the family’s lime; the chain is what makes it links.

Everything lives in docs/assets/. The SVGs are the masters and are themselves generated from the geometry in scripts/brand/; the three rasters (social card, favicon ICO, Apple touch icon) are rendered from them. Rebuild after any change:

Terminal window
sh scripts/brand-assets.sh # masters + rasters + the copies in site/public and src/ui/public
sh scripts/brand-assets.sh --check # everything present, copies equal to docs/assets

It needs uv (fonttools + uharfbuzz for the wordmark outlines), rsvg-convert (librsvg) and magick (ImageMagick 7); oxipng is used when installed.

Every logo, symbol and lockup that appears on a page is an SVG (crisp at any size, light and dark variants) on a transparent background: the rounded tile appears only where an app-icon shape is expected (favicons, Apple touch icon, social card). Rasters exist only where a format requires one and nobody sees them as an on-page logo: the social card and the <head> icon fallbacks.

File What it is Use it for
logo.svg App icon: the mark on the near-black tile with brackets, orbit lines and a soft shadow The master for app-icon shapes only (Apple touch icon, avatars); never shown as a logo on a page
symbol.svg, symbol-light.svg The X + chain alone, transparent; bright lime for dark surfaces, deeper lime for light ones The admin UI / widget / React embed navbar (one per theme, inlined by BrandMark)
lockup-horizontal-dark.svg Symbol + wordmark, xtandard- in near-white Headers on dark backgrounds (README in GitHub dark mode, the docs site in dark mode)
lockup-horizontal-light.svg Symbol (deeper lime) + wordmark, xtandard- in ink Headers on light backgrounds (README in light mode, npm, the docs site)
lockup-stacked-{dark,light}.svg Symbol left, xtandard- over links Square-ish slots: slides, sidebars, stickers
monochrome-white.svg, monochrome-black.svg One-colour horizontal lockup Photos and busy backgrounds (white); one-colour print (black)
favicon.svg The tile + mark without orbit, brackets and shadow, with a bolder chain that survives 16 px Browser tabs (the primary icon)
favicon.ico (16/32/48), apple-touch-icon.png (180) Raster fallbacks of the favicon / icon <head> only: browsers without SVG favicons, iOS home screens
social.svg → social.png (1280×640) Social card: icon, wordmark, tagline, bun add line og:image/twitter:image (must be raster) and the GitHub social preview
  • README header: a <picture> choosing lockup-horizontal-dark.svg / -light.svg with prefers-color-scheme. The README ships to npm, which does not ship docs/, so the header uses absolute raw.githubusercontent.com URLs (served as image/svg+xml).
  • Docs site (site/): the horizontal light/dark lockups as the Starlight logo, the stacked light/dark lockups as the home hero (theme-aware, no tile), favicon.svg (+ favicon.ico and apple-touch-icon.png fallbacks) in the head, social.png as og:image/twitter:image.
  • Admin UI and analytics widget (src/ui/): symbol-light.svg / symbol.svg inlined in the navbar next to the title (unless the host passes logoUrl), the favicon set in index.html. The React embeds render the same inline SVG and no favicon.
  • Avatars and registries that only accept rasters (GitHub repository picture, GHCR): export one from logo.svg at the size they ask for (rsvg-convert -w 512 docs/assets/logo.svg -o logo.png); it is not kept in the repository.
Token Hex Role
xl-lime-hi #D2F55A Gradient start (top left) on dark
xl-lime #A6E22A Gradient middle; the brand colour in one word
xl-lime-deep #79BC12 Gradient end (bottom right) on dark
xl-lime-light-start #A9DE2C Symbol gradient start on light backgrounds
xl-lime-on-light #5E9E08 Symbol gradient end on light backgrounds
xl-word-on-light #79B713 → #4C8A06 links in light lockups
xl-word-on-dark #D2F55A → #8CD11C links in dark lockups
xl-tagline #C4EE5C Social-card tagline
xl-ink #0F1215 Tile and dark page background, xtandard- on light
xl-orbit #4E5459 Brackets, orbit lines and dots
xl-slate #8B939C Secondary text on ink (the social-card command)
xl-paper #FAFAFA xtandard- on dark

Lime is an artwork colour, not a text colour on white: for links and buttons on light surfaces use xl-lime-on-light (or darker); on dark surfaces xl-lime reads well. The UI keeps the siblings’ neutral palette and uses lime as its accent.

xtandard-links in Urbanist Black (900), tracking −1.2%, shaped with HarfBuzz and converted to paths (no font needed to render the SVGs). xtandard- is ink on light and paper on dark; links is always a lime gradient. The social card adds Urbanist SemiBold (600) for the tagline and JetBrains Mono Regular for the command. Both fonts are SIL Open Font License 1.1; the SVGs carry glyph outlines, not font software (credited in NOTICE).

Icon space is 1024 × 1024, corner radius 224 (21.9%), the family’s tile, rim, orbit and shadow.

  • Chevron: (292,300) (400,300) (588,512) (400,724) (292,724) (480,512); corners rounded by a 22-unit same-paint stroke.
  • Lower-right stroke: continues the chevron’s upper diagonal past a 62-unit horizontal gap.
  • Chain: two stadium rings (178 × 96, stroke 33) along the chevron’s lower diagonal (−48.4°), starting after the same gap; ring B sits 60% of a ring’s length further along. At the two crossings each ring passes under the other once (9-unit cut), so the links interlock. The favicon uses a 44-unit stroke and a 13-unit cut.
  • Brackets: < and > 34-unit strokes in xl-orbit, centred vertically at x 168–232 and 856–920.

Horizontal lockups: the symbol’s vertical centre (its full bounds) sits on the wordmark’s optical centre, baseline − capHeight/2 with Urbanist’s OS/2 sCapHeight (0.7 em); descenders are ignored, the symbol size and the 30-unit gap are unchanged, and the canvas height is max(symbol height, descender bottom) — the shared rule of every xtandard repository.

Clear space: a ring’s width (about 10% of the symbol’s height) on every side of the symbol or a lockup; 10% of the tile’s width outside the app icon.

Minimum sizes: app icon 48 px (use the favicon below that), symbol 20 px high, horizontal lockup 20 px high, stacked lockup 48 px high.

Do: use dark lockups on dark backgrounds and light lockups on light ones (<picture> + prefers-color-scheme on GitHub); use the app icon wherever a square avatar is expected; use the monochrome lockups on photos and in one-colour print.

Don’t: recolour the mark (it is lime, like the family; no blue — that is xtandard-image’s), flatten or reverse the gradients, set the wordmark in another font or as live text, put the dark lockup on a light background, stretch/rotate/outline the symbol, or swap the chain for another glyph.