Visual identity
How zelk looks on every surface that has a look: the mark, the colours, the type, and the rules each surface keeps. The terminal UI, the documentation site and the browser extension share one mark and one accent, and differ where their medium differs: the terminal has no background of its own to paint, the extension sits inside the browser’s chrome.
This document says what the identity is and where each part is enforced. The values live in code, and the code wins: theme.go for the terminal, theme.css for the site, panel.css for the extension.
The mark
Section titled “The mark”The mark is a Z on a 5×5 grid of 13 square cells. The cells are written in order: the top row left to right, the diagonal at (1,3), (2,2) and (3,1) (row, column, from zero, top left), then the bottom row left to right.
The last cell written, bottom right, is the head, and it alone is lit in the accent. A session is an append-only log, and the last event in it is where the session stands; the mark is drawn the way a log is written, and its head is that last event.
| Cell | Count | Colour |
|---|---|---|
| top row, diagonal, bottom row but the last cell | 12 | the surface’s text colour |
| head, bottom right | 1 | Ion (Ion deep on light) |
Per surface:
-
Site.
mark-dark.svg(Bone cells, Ion head) andmark-light.svg(Carbon cells, Ion deep head) are on a 39-unit square: cells of 7 with a gap of 1. The header logo uses them.favicon.svgis the mark on a Carbon rounded square, snapped to a 16-unit grid with cells of 2 and no gaps, so it stays crisp at 16 px. -
Extension. The icons are the mark in Bone with an Ion head on a Carbon rounded square, corner radius 22% of the side. Each size, 16, 32, 48 and 128 px, is drawn on whole pixels rather than scaled from one image, so no cell has a blurred edge. At 16 px the mark has no gaps and is 10 px, centred, keeping a Carbon frame: a mark filling the square leaves no Carbon around it and reads as a pale block. The sizes and parameters are in the extension README.
-
Terminal. Three lines of half blocks, which put two grid rows in each text line:
▀▀▀█▀▄▀▀▀▀▀▀The first line holds the top row and the diagonal’s first cell, the second the next two cells, the third the bottom row. The welcome draws it in the terminal’s foreground, with the final
▀(the head) in the accent. While a run is under way, the live line names what zelk is doing; with nothing more particular to say, its word takes turns between working and zelking, which has as many letters, the cipher churning from one to the other.
The README shows the site’s two SVGs, chosen by the reader’s colour scheme.
The state cell
Section titled “The state cell”The terminal header begins with a single cell, ▪, before the name. It is the head of the mark made small, and it shows where the session stands:
| State | Colour |
|---|---|
| idle, or the last run succeeded | accent (Ion) |
| a run is in progress | run |
| the last run failed | error |
A new run replaces the colour of a failed one: while running, the cell is run whatever the last outcome was.
Colour
Section titled “Colour”The palette has four neutrals and one accent.
| Token | Value | Role |
|---|---|---|
| Carbon | #0F0F0D |
the dark page; text on Ion |
| Graphite | #22221E |
raised surfaces on dark |
| Ash | #8D8A80 |
secondary text on dark |
| Bone | #F2EFE6 |
the light page; text on dark |
| Ion | #2BE4D0 |
the accent on dark |
| Ion deep | #00756A |
the accent on light |
Ion deepens on light because #2BE4D0 on Bone is too pale to read as text; Ion deep is its text-safe form there, and it is Ion on that surface, not a second accent. Ash is deepened on light for the same reason (#5E5B52 in the extension, #5E5B51 on the site).
Ion is the only brand colour and is never a state. It marks where you are and what you can act on. A state colour, in turn, means one thing and is never used for decoration, and none is near Ion’s hue. What Ion marks, and which colours carry state, depends on the surface:
- Terminal. Ion is the accent token: the header cell when idle, the head of the welcome’s mark, and focus and choice: focused boxes, the composer, dialogs and menus. State is carried by
ok(done),run(under way, or waiting on someone),error(failed),agent(subagents),ident(code named in prose),shell(commands the user runs) and the threemode_*badges. One token shares Ion’s value:mode_edits, the edits mode’s badge. A frame is Ion when zelk asks for you, or you write to it: every dialog and picker, and the message box while you type a message in it; while the keys go to the conversation, the box is drawn inborder. The menus you open, the palette, prompt search and the file finder, are typed in the box and share an edge with it (├ ┤), one frame drawn quietly inborder: only the query’s›, its cursor and the chosen row are Ion. A menu you reached for isn’t zelk asking for you, and when it closes the box lights again. No frame takes a state colour: a call waiting on you says so on its own row, withrun’s▲. - Site. Ion marks position: the current page in the sidebar, the current section in the header, the heading in view in the contents, the final line of the hero’s log, and in a diagram the moving token and the newest entry. The state colours are
--zk-ok(runs, succeeds),--zk-warning(waits on a person, uncertain, stale) and--zk-danger(refused, failed, lost); asides use the last two, diagrams all three. The primary button inverts the page (Bone on Carbon, Carbon on Bone), and its square is the mark’s head in the accent. An icon is Ion only when it is the lit part of a diagram (see Icons). - Extension. Ion is for what the user can act on: focus rings, links, the primary button. State is carried by three colours shared by the toolbar badge and the panel’s band, working (ON), waiting (WAIT) and stopped (OFF), and by
error; none is Ion’s teal.
| Role | Face | Where |
|---|---|---|
| Display | Martian Mono, set wide | the wordmark, page titles, section headings, buttons, small labels |
| Text | Instrument Sans | prose and smaller headings |
| Code | JetBrains Mono | code, with ligatures off so := and != read as typed |
These are the site’s faces, self-hosted from Fontsource packages so the site works offline. The terminal uses the user’s own font, and the extension’s panel the browser’s own.
The site has one icon set, drawn by Glyph.astro. The terminal and the extension have none of their own.
- Set and stroke. Lucide (ISC) outline icons at a stroke of 1.75 on its 24-unit grid, so they read as a family. Only the icons used are imported, and each is written into the page as inline SVG at build time.
- Size. 16 px; 20 px for the two tiles that mark the home page’s ways in. A label always stays beside the icon. The icon-only header controls (the theme switcher, the GitHub link) keep their accessible names.
- Colour. An icon is
currentColorand hidden from assistive technology. It takes a token: the muted ink at rest, ink where it names what is in view, and Ion only where Ion already marks position, which for an icon is a diagram part that is lit. Icons never carry a state colour. - Where they appear. The header’s section links; the theme switcher (moon, sun, monitor); the page actions (copy, a check once copied, the menu’s chevron); the home page’s two ways in, and the “How it works” button; and the cards of the home page’s seams diagram. The primary button has none: it ends in the mark’s head.
- Brand marks. The page actions’ Markdown, Claude and OpenAI items show those products’ marks, as monochrome glyphs in the same colour as the rest, never in a brand colour: the site has one accent. Each only labels a link to its own product, and stays its owner’s trademark. They come from Simple Icons (CC0); the sources are recorded in
brands.mjs, tested inscripts/brands-test.mjs.
- The terminal UI never paints a background. Text is the terminal’s own foreground. A panel, such as a code block’s, and a selected row are the terminal’s background raised a shade, so they match whatever colour it has; a fixed fill reads as a patch of another colour. Enforced by
TestBodyTextIsTheTerminals,TestPanelRaisesTheBackgroundandTestSurfaceFollowsBackgroundAndAllowsOverrideintheme. - Every default colour is readable. Text clears WCAG’s 4.5:1 and marks (borders, diff signs) 3:1, on common terminal backgrounds and on the surfaces derived from them. Enforced for the terminal by
contrast_test.go. The extension’s ratios are tabulated in its README and held by review; the site’s by review. - The site opens in the dark theme. A first-time visitor gets dark, not the operating system’s scheme; the picker’s Light and Auto still work. Implemented by the site’s theme provider and picker components, which replace Starlight’s own; the site build fails when Starlight’s versions of them change (
scripts/check-theme.mjs), so the replacements are re-made rather than left behind. - Links show the mark. The social card,
og.png, is the mark, the wordmark and the site’s headline on Carbon, captured fromog-card.html. - Small icons are drawn on whole pixels. At 16 px the mark keeps a Carbon frame.
TestManifestIconschecks that every icon the manifest names exists at the size it is listed under; the drawing itself is held by the icons being the source. - A terminal frame is Ion when zelk asks for you, or you write to it; a menu you open is quiet. Enforced by
TestDialogFrameIsTheAccent,TestComposerFrameFollowsFocusandTestPaletteFloatsAboveTheBoxinapp. - The terminal draws only what its fonts hold. Every symbol it uses is in Cascadia Mono, DejaVu Sans Mono (the base of Menlo), JetBrains Mono and Hack, so none is drawn from another font, or as an empty box;
✓(missing from Hack),⎇and the spinner’s braille dots (in no monospace font but Cascadia Mono, and in every system’s fallback) are the named exceptions. Enforced byTestSymbolsAreDrawablein the terminal UI. - The terminal’s mark is exact.
TestWelcomeMarkchecks the three lines, andTestHeaderStatethe state cell’s colour in each state.
Testing
Section titled “Testing”The terminal’s rules are tested in cmd/zelk/internal/tui/theme and cmd/zelk/internal/tui/app; the extension’s icons in core/browser. The site is checked by building it.