Skip to content

About

Brand assets for Llama and llama.cpp

Resources

Stars

10 stars

Watchers

2 watching

Forks

Repository files navigation

llama-brand

Official brand assets for Llama.app and llama.cpp: the logo, the Llama type family, and the colours and core CSS that everything the brand makes is built on, from the web UI to posts, posters and swag.

logo/     the icon, the lockups, the covers, app icons and social profiles as SVG, WebP and PNG, plus the logo showcase
fonts/    Llama Sans and Llama Mono, their build scripts and the specimen
css/      the colours, the font faces, and communications' grounds and type scale
readme/   this README's artwork: cards built from the fonts and the colours, and the logo in use, rendered from the Storybook
stories/  the Storybook: the brand and communications, drawn with the files above
BRAND.md  the brand book, written for agents first

Install it from npm and import files by path:

npm i @ggml-org/llama-brand
@import '@ggml-org/llama-brand/css/brand.css';
import logo from '@ggml-org/llama-brand/logo/svg/lockup/llama/logo-llama-light.svg';

Logos

Llama

Light Dark
Llama Light Llama Dark

llama.cpp

Light Dark
llama.cpp Light llama.cpp Dark

"Llama" is set in Llama Sans Bold and "llama.cpp" in Llama Mono Bold, always lowercase, with .cpp in cinder. The llama.cpp lockup always sits on a neutral ground; only the Llama lockup goes on colour.

Icon

Light Dark
Icon Light Icon Dark

Every icon and lockup also comes on its background (-bg), with the icon optically centred.

Covers

Light Dark
Llama Cover Light Llama Cover Dark
llama.cpp Cover Light llama.cpp Cover Dark

App icons and social profiles

Light Dark
macOS macOS app icon, light macOS app icon, dark
X avatar X avatar, light X avatar, dark
  • App icons (logo/svg/app/): iOS and macOS, Android (adaptive, monochrome and Play), Windows (app icon and tiles), a PWA (regular and maskable) and the web UI's favicons, light and dark.
  • Social profiles (logo/svg/social/): avatars and banners for X, LinkedIn and YouTube, at each platform's size and inside its safe area.

Every SVG also comes as a lossless WebP under logo/webp/ and a PNG under logo/png/, in the same layout. See logo/ for how the files are built and for the showcase that takes the icon apart.


Using the logo

These images are rendered from the Logo stories in this repository's Storybook (npm run export:brand-readme), so they show the real components. The splash screens come from llama.cpp's Storybook, where Llama Chat draws them.

How the lockups are built

The Llama and llama.cpp lockups over their guides: the icon's box, the gap after it, the cap height or ascenders the icon centres on, the baseline, and the clear space of half the icon all round

The icon is 1.24 times Llama's cap height and centred on its capitals; in llama.cpp it is centred on the ascenders. The gap after the icon is part of the lockup glyph, U+E002, so it never needs measuring. Keep half the icon's height clear all round, with nothing else inside it.

Typed

Both lockups typed in their fonts

Type U+E002 straight before the name, with no space, in Bold. Llama Mono's icon is drawn a little larger, so set llama.cpp at 90% of Llama's size and the two icons match.

Sizes

Both lockups at 64, 32, 16 and 12 px

12 px is the smallest either is set at. Below that, use the icon alone.

Grounds

Both lockups on white, ink, the day sky and the night sky; llama.cpp only on the neutral ones

Both go on white, the greys and ink. Only Llama goes on colour, the day sky and the night sky.

Never

What the lockups never do: the wrong face, capitals, a space after the icon, distorted, two colours, llama.cpp on colour, effects

In context

The lockups in a site header, an app header, a terminal and a footer

llama.cpp's README banner, on ink and on white

The Llama lockup on the day sky and the night sky

A banner is 3:1 with the lockup centred: llama.cpp's on ink or white, Llama's also on llama.app's day and night skies.

The icon in use

The icon as a glyph of Llama Sans and Llama Mono: the lockup, in small text and in a headline

Three glyphs carry the icon: U+E002, the lockup; U+E001, at 1.24 times the cap height, for small text and controls; U+E000, at the cap height, for headlines.

Buttons that open or download Llama and llama.cpp, with the icon before the label

In a button the icon is U+E001 before the label, with a word space after it: no icon slot and no nudging.

Download badges for macOS, GitHub and GGUF, dark and light

A download badge carries the icon at the height of its two lines: 48 px high, 40 when compact.

The icon inline in running text and in a headline

In running text the icon takes U+E001, in a headline U+E000. It goes before the name it stands for, never in place of a word.

The Llama app icon in the macOS menu bar and Dock and in the Windows taskbar and tray, light and dark

The app icon in the macOS menu bar and Dock, and in the Windows taskbar and tray.

Splash screens with the icon centred

While the app opens, the icon alone, centred.


Fonts

Llama Sans: Simple by default, powerful on request, in Regular, Medium, SemiBold and Bold

Llama Sans is one variable font from 400 to 700, with an optical size axis from 10 to 36: spaced for interfaces (UI) at 16, tighter for headlines (Display) at its large end and looser for small text under 16, which browsers pick from the font-size.

Llama Mono: llama.cpp, a llama-server command and code with ligatures

Llama Mono is its monospaced sibling, for code, commands and numbers in columns: every character in one cell, its coding ligatures included.

Both carry the Llama icon as glyphs: U+E000 for headlines, and U+E002, the lockup in one character, typed straight before the name. Llama Sans also has U+E001, the icon at 1.24 times the cap height, for small text and buttons; Llama Mono has no U+E001. Both are under the SIL Open Font License 1.1. See fonts/ for the details, the builds and the specimen.


Colours

The brand's colours: ink, light, sand, cinder and the day and night skies

Grounds stay neutral as a rule: the logo's ink and light, paper and sand. Cinder is the one accent: the .cpp of the llama.cpp logotype, and a mark on a detail. The colours are for shapes, figures and accents, never for status.

Name Token Value
Ink --brand-ink #111111
Light --brand-light #fafafa
Sand 50 --sand-50 #f7f3ec
Sand 100 --sand-100 #efe9df
Sand ink --sand-900 #2b2620
Cinder --art-cinder #ee6c1e
Cinder light --art-cinder-light #f3c1ab
Day sky --art-day-sky #8fbde5
Night sky --art-night-sky #1b3659

The day sky and the night sky also come as gradient grounds (--gradient-day-sky, --gradient-night-sky), from llama.app's light and dark hero. The greys are Tailwind's neutral scale plus four in-between steps (--neutral-0 to --neutral-950). css/colors.css has every value, in OKLCH.


CSS

css/brand.css            everything below, in one import
css/colors.css           the colours above, as custom properties on :root
css/fonts.css            @font-face for Llama Sans and Llama Mono, and --font-sans and --font-mono
css/communications.css   the grounds and the type scale for posts, posters, boards and other visual assets

Communications measure everything in --u, a 24th of the format's short side (45px on a 1080 × 1080 post), which the layout sets. A piece takes .ground and one of .ground-light, .ground-dark, .ground-sand, .ground-day or .ground-night, which set its background and inks (--p-ink, --p-muted, --p-line and the rest). Its text takes the type scale: .t-label, .t-body, .t-lede, .t-headline, .t-display, .t-figure and .t-mono.

The llama.cpp web UI's design system builds on the same colours, with the same names, and adds what only an interface needs: status colours, translucent whites and blacks, and its type, length and radius scales.


Storybook

The brand is drawn in a Storybook with its own files and the components Llama Chat is built from (@ggml-org/llama-ui): the logo (its geometry, lockups, usage and every file to download), Llama Sans and Llama Mono, the colours, and how posts, posters, store screenshots, release images, link previews and swag are put together. BRAND.md is the brand book for agents, and the Storybook is the source of truth it points to.

npm ci
npm run storybook            # on port 6006
npm run test:ui              # every story, in a headless browser
npm run export:brand-readme  # this README's artwork, into readme/
npm run export:design-system # the Llama design system for Claude, into design-system-export/
npm run export:ms-spotlight  # the Microsoft Store Spotlight and AI Hub pictures, into design-exports/ (Storybook running)

Where a page shows Llama Chat itself (the mood board's chat, the store screenshots' scenes), it is an image of the real app, captured in llama.cpp's Storybook. The reasons behind the products, Philosophy, are there too, next to the apps.

Every change on master is checked, tested and built by the Storybook workflow, and the build is published to the Hugging Face Space ggml-org/llama-brand-storybook. The workflow needs an HF_TOKEN secret with write access to it.


License

The logo assets are licensed under CC BY-NC 4.0, see LICENSE.

Distributions, packagers, and anyone referring to the project should read BRAND-USAGE.md, which grants the permissions that use needs.

The CSS in css/ is under the MIT License, see css/LICENSE, so software can ship its colours and stylesheets under its own licence. The fonts are released under the SIL Open Font License 1.1, see fonts/OFL.txt. The Llama icon they carry at U+E000, U+E001 and U+E002 stays under the logo licence above.

About

Brand assets for Llama and llama.cpp

Resources

Stars

10 stars

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages