devvm.dev and next.devvm.dev loaded Instrument Sans and Martian Mono from Google Fonts, with preconnects to fonts.googleapis.com and fonts.gstatic.com. They were the site's only automatic third-party loads; both fonts are now served from docs/static/fonts/ with their OFL, and a lint:docs check keeps it that way. - Instrument Sans: Instrument/instrument-sans at commit 7fa22308a3d0c94ee2b3cd537a1196b65db34a3e, fonts/webfonts/ InstrumentSans[wdth,wght].woff2 (88,784 B, sha256 aa72922a...826d) and InstrumentSans-Italic[wdth,wght].woff2 (94,888 B, sha256 e958f71f...9ba5), OFL.txt (sha256 9e27a72e...f966). - Martian Mono: evilmartians/mono release v1.1.0 (commit 8ffa86c2), martian-mono-1.1.0-variable.zip (sha256 b8773097...0867), its MartianMonoVF.woff2 (83,044 B, sha256 7cdf8e98...238a, wdth 75-112.5 for the code's font-stretch), the commit's OFL.txt (sha256 ddafd2c3...c256). - head-end.html: @font-face for each with font-display: swap and the same family names, a preload for the upright Instrument Sans, and a comment recording every font's source, pin and full SHA-256s, Departure Mono's included. - TestNoThirdPartyLoads (internal/cli/docgen/site_test.go): lint:docs runs it on the site it builds (DOCS_SITE); it fails on any link, script, img/srcset, iframe, source, video, object, SVG image/use, style attribute, <style> block or stylesheet url()/@import pointing at a host other than hugo.yaml's and next.yaml's baseURL. TestPageLoads covers the scanner. - Branding links each font to its upstream repo and its served license; Contributing's Writing docs covers the fonts and the check. Co-Authored-By: Claude Opus 5.5 <[email protected]>
3.9 KiB
title, explainer, layout, description, sidebar, outputs, contextMenu, llms
| title | explainer | layout | description | sidebar | outputs | contextMenu | llms | |||
|---|---|---|---|---|---|---|---|---|---|---|
| Branding | devvm's logo, icons, colors and fonts | branding | devvm's logo, icons, social card, colors and fonts, to download and use when you write about devvm. |
|
|
false | false |
{{< hextra/hero-headline >}} Branding {{< /hextra/hero-headline >}}
{{< hextra/hero-subtitle >}} devvm's logo, icons, colors and fonts. {{< /hextra/hero-subtitle >}}
The logo
As text, for a terminal, a README or a code comment:
╭──────────╮
│ ❯ devvm ╭┤
╰─────────██
As SVG or PNG, with a transparent background:
{{< brand-assets >}} {{< brand-asset title="For dark backgrounds" src="branding/devvm-logo-on-dark.svg" bg="dark" width="250" height="86" alt="The devvm logo in light gray and lime" files="branding/devvm-logo-on-dark.svg branding/devvm-logo-on-dark.png" >}} {{< brand-asset title="For light backgrounds" src="branding/devvm-logo-on-light.svg" bg="light" width="250" height="86" alt="The devvm logo in black and dark lime" files="branding/devvm-logo-on-light.svg branding/devvm-logo-on-light.png" >}} {{< /brand-assets >}}
Icons
The app icon at any size, and the icons the site uses for browser tabs and home screens:
{{< brand-assets >}} {{< brand-asset title="App icon" src="branding/devvm-icon-128.png" bg="dark" width="128" height="128" alt="The devvm app icon" files="favicon.svg branding/devvm-icon-64.png branding/devvm-icon-128.png branding/devvm-icon-256.png branding/devvm-icon-512.png branding/devvm-icon-1024.png" >}} {{< brand-asset title="The site's icons" src="apple-touch-icon.png" bg="dark" width="180" height="180" alt="The devvm icon with a black border, as a home screen shows it" files="favicon.ico favicon-16x16.png favicon-32x32.png apple-touch-icon.png android-chrome-192x192.png android-chrome-512x512.png" >}} {{< /brand-assets >}}
The social card
The image to show with a link to devvm. Sites and chat apps show each page of devvm.dev with a card of its own in the same style, which has the page's section, its title and a line on what it covers.
{{< brand-assets wide="true" >}} {{< brand-asset title="Social card, 1200 by 630" src="images/social-card.png" bg="dark" alt="The devvm social card: the logo, One VM for every project, and the tagline" files="images/social-card.png" >}} {{< /brand-assets >}}
Colors
Click a swatch to copy its hex.
{{< palette >}}
Fonts
All three are free under the SIL Open Font License, and this site serves each one itself, with its license.
{{< font-sample name="Departure Mono" font="pixel" link="https://departuremono.com/" license="fonts/departure-mono/LICENSE" >}} A pixel font by Helena Zhang, for the logo, headings and buttons. It's sharp at multiples of 11px. {{< /font-sample >}}
{{< font-sample name="Instrument Sans" font="sans" link="https://github.com/Instrument/instrument-sans" license="fonts/instrument-sans/LICENSE" >}} The font for text. {{< /font-sample >}}
{{< font-sample name="Martian Mono" font="mono" link="https://github.com/evilmartians/mono" license="fonts/martian-mono/LICENSE" >}} The font for code, set narrower than its default and without ligatures. {{< /font-sample >}}
Using the logo
- Write the name in lowercase, as devvm, even at the start of a sentence.
- Keep the lock with the box.
- Leave clear space around the logo, at least as wide as the lock.
- Use the version for your background, and don't recolor, stretch or outline it.
Credits
The site's pixel icons come from Dinkie Icons, which is MIT licensed. The site is built with Hugo and the Hextra theme.