Reference · docs/reference/brand-layer.md
Brand layer
The brand layer is the UI icons with more ceremony: on a tile, with a label, or in a scene. It is never a separate drawing style.
The Cardsite mark
build/brand/logo/. The mark and wordmark are official Partner Kit 1.2.0 artwork (vendor/cardsite-partner-kit-1.2.0/brand/), copied unchanged. The mark is three shapes: purple top, green bottom and the blue join between them.
| File | What |
|---|---|
cardsite-mark.svg, cardsite-mark-ink.svg |
official mark, and official app icon on ink (unchanged) |
cardsite-wordmark-{on-light,on-dark,ink,white}.svg |
official wordmarks (unchanged) |
cardsite-mark-24.svg |
the colour mark fitted to the 24 icon grid (20 units tall) |
cardsite-mark-mono.svg |
one colour: the three shapes separated by a hairline gap, so the mark still reads |
cardsite-mark-silhouette.svg |
the outline only, for 16 px and embossing |
cardsite-app-{ink,paper,lime}.svg |
app tiles in the official geometry: rounded square at 22 % radius, mark at 80 % |
favicon.svg |
the official mark |
UI icon cardsite |
the one-colour mark as a glyph, identical in all five styles |
Never redraw, recolour or reproportion the mark. Clear space: half the mark's width on every side. Minimum size: 16 px (silhouette), 20 px (one colour and colour). Use the wordmark files; never set "cardsite" in type.
Tiles
build/brand/{products,tools,features}/. Every tile is the official app-icon shape (rounded square, radius 22 %) with a UI icon at display weight (2.0 on the 24 grid), 30 units across. src/brand/tiles.json names the icon and the part that takes the lime accent, so tiles always match the icons. The accent sits under the lines it meets, so it never paints over an outline. The original tool tile is the official app icon (colour mark, one colour on lime), never a redrawn glyph.
| Theme | Tile | Line | Accent | Use |
|---|---|---|---|---|
ink |
on-surface |
dark-on-surface |
dark-primary (lime) |
default: app grids, dark UIs |
paper |
surface + hairline |
on-surface |
primary-line |
light pages, docs, partner material |
lime |
primary |
on-primary |
on-primary |
one hero tile per view |
vars |
tokens | tokens | tokens | product UI: follows light and dark |
| Set | Tiles |
|---|---|
| products | sites, links, qrs, domains, analytics, apis, pages, vcards (v6 product-* names map here) |
| tools | insight, status, drive, support, crm, mailbox, keyword, social, domain, reply, career, compose, task, notes, studio, portal, original (v6 studio-* names map here) |
| features | host, address, route, gate, measure, collaborate, create (the seven product pillars) |
Each tile ships as SVG in all four themes, as PNG at 64 and 256, and as 24-grid glyphs in all five styles.
File types
build/brand/files/{light,dark}/file-<ext>.svg, 61 extensions. The icon document doubled onto a 48 grid (2.5 line, corner cut and fold), a category symbol in the category colour, and an outlined JetBrains Mono label on a chip that knocks out the page's bottom-left corner.
- Labels meet Studio's 10 px floor from 48 px (56 px for five- and six-letter labels).
minSizeis in the manifest. Below that, use the UIfile-*icons. - The category colour is the only second hue in the system. It appears only on the chip and the symbol, at equal lightness (52 % light, 74 % dark) and equal chroma (0.12). Every label passes AA contrast.
| Category | Extensions |
|---|---|
| document | doc docx txt md pdf rtf pages |
| slides | ppt pptx key |
| data | xls xlsx csv json xml sql dat |
| image | jpg png gif webp bmp tif raw heic |
| video | mp4 mov avi flv wmv mpg webm |
| audio | mp3 aac wav midi |
| code / web | css js ts php py / html |
| archive | zip rar iso dmg dll |
| design | psd ai eps indd cdr sketch fig fla svg |
| 3d | cad 3ds obj fbx stl |
Badges
build/brand/badges/{light,dark}/. Five families, each with its own form. Captions are JetBrains Mono caps at 10 px on a 22 px pill.
| Family | Form | Names | Use for |
|---|---|---|---|
| Status | tinted in the status colour, with a Fill status icon | live, paused, draft, archived, expiring, error, scheduled | the state of a link, page or QR code. Colour, icon and word together |
| Kind | outlined, with the resource's Regular icon in its Studio kind hue (kind-<kind>) |
link, page, qr, vcard, event, file, site, splash, pay (the walkthrough's words and order) | what a list row is |
| Plan | a ladder from quiet to strong: outline, soft, lime, ink, ink with lime, ink with lime edge | free, starter, pro, business, business-plus, enterprise | the account's plan. Only Pro is lime |
| Flag | small marks | new (lime), beta (dashed), ai (sparkles), verified, owner | one-word callouts. One per row |
| Rating | circle; restricted ratings are solid | e, t, m, a, p, 3, 10, 17, 18, 21 | content ratings and age gates. Weight, not colour, signals restriction |
Partner logos
build/brand/logos/{color,mono,outline}/{light,dark}/ are partner trademarks, unchanged. Never redraw or recolour them, and never put them on the Cardsite tile. logos/tile/ places colour marks at 50 % in a neutral rounded square with a hairline, for integration grids.
Sources are src/logos/third-party/{variant}/{theme}/logo-<name>.svg (in kept). Every file is 24 × 24 with role="img", an aria-label with the brand's own spelling, and a <title>. Artwork from the October 2026 pack (vendor/partner-logos-2026-10/) is wrapped, not redrawn: the original drawing sits in a nested <svg viewBox="<original>" width="24" height="24">, with editor junk removed, <style> classes turned into attributes, and gradient ids prefixed logo-<name>-<theme>- so several logos can share a page.
| Variant | What it is | Dark theme |
|---|---|---|
color |
the brand's own colour mark; the only variant that gets a tile | the same file, except black-only marks (OpenAI, Grok, iOS, PHP, X), where only the black becomes #f4f5f8 |
mono |
a solid single-colour glyph | black becomes #f4f5f8, nothing else |
outline |
the line version of the glyph | black becomes #f4f5f8, nothing else |
75 logos, 70 of them in color (and so with a tile).
- Mono and outline as well:
facebook,instagram,linkedin,messenger,paypal,pinterest,snapchat,soundcloud,spotify,telegram,whatsapp,x,youtube. - Mono as well:
anchor,apple-music,discord,grok,ios,openai,opensea,php,reddit,twitch,vimeo,youtube-feed. - No colour version:
apple,macos,tidal(mono only);threads,tiktok(mono and outline).
Added from the October 2026 pack: google-calendar, google-drive, google-cloud, gmail, google-maps, google-meet, google-photos, google-sheets, claude, gemini, anthropic, deepmind, deepseek, digitalocean, figma, grok, meta, perplexity, slack, adobe, threads, x, css, html, js, php, react. Replaced with the pack's artwork: google, openai, ios, youtube (colour), facebook (all three), instagram and tiktok (mono, outline). The old files are in git history (commit 849a504, .archives/removal-safe/partner-logos-7.1/). There is no Veo logo yet: the pack's veo.svg was a copy of the DeepMind mark.
Renamed brands. src/logos/aliases.json maps old names to current ones; today only twitter → x. The build copies the current artwork to the old paths (build/brand/logos/{variant}/{theme}/twitter.svg), without a second tile, and lists the map as brand.logoAliases in build/manifest.json. get_brand_asset and cardsite-icons brand logo twitter return X. The build fails if an alias points at a missing logo or shadows a real one.
Illustrations
Ten scenes for empty states, confirmations and errors, each in four styles. Sources: src/illustrations/ (scenes.json lists the scenes, captions and stories; one module per style; shared primitives in kit.mjs; the contract is in its README).
| Style | Look | Use |
|---|---|---|
outline (default) |
the icon line at 2 units, paper cards, a plate ground, dashed lines for “not yet” | product empty states; the default everywhere |
line |
1.5 monoline in grey, ink only on the hero object, tonal fills, one horizon hairline | richer detail, larger placements |
paper |
filled paper cards with hairline edges and one soft shadow, depth by layering | marketing pages, onboarding, larger placements |
stage |
one large Cardsite icon on a soft disc, with a lime chip and a sparkle | small placements, toasts, dense UIs; reads best at 1× |
Every scene, in every style, has exactly one lime element: what to do next or what just happened. The build fails otherwise. No text, transparent background, 8-unit margin on a 160 × 120 canvas.
Files: build/brand/illustrations/<style>/<light|dark|vars>/<name>.svg; the default style is also at build/brand/illustrations/<light|dark|vars>/<name>.svg. vars follows the page's colour tokens. Agents: get_brand_asset with kind: "illustrations" and theme: "paper-dark" (style and theme).
Scenes: empty-links, empty-analytics, upload, qr-scan, domain-connect, published, archived, gate, invite, not-found.