Expand description
The branding block (DB.4): the Lattice mark + wordmark, rendered as custom-colored virtual rows anchored above the first document line.
The mark is the interlocking “L” bracket from assets/lattice-mark.svg
(brand blue) with the amber cursor bar inside it, drawn with BMP block
glyphs so it renders in every terminal font (the graceful-degradation
default per the icon-palette rule; a Nerd-Font variant is a later polish
— blocks already degrade perfectly). The “Lattice” wordmark + tagline sit
to the right, vertically centred against the mark with a tight gap — the
banner-dark.svg symmetry.
Colours resolve from the dashboard.* theme elements (DB.3) at
collect() time, so themes restyle the banner. Horizontal pane-centring
(which needs live pane width fed to the provider) is deferred; the block
is left-aligned with a small indent for now (design §5.3 — the icon↔
wordmark symmetry, the stated priority, is internal to the block and needs
no width).
Structs§
- Dashboard
Branding Provider - A provider that emits the dashboard branding rows for one buffer.
Constants§
- BRANDING_
ROW_ COUNT - The number of display rows the branding block occupies (mark rows + a spacer above and below). Used by tests and future layout.
- DASHBOARD_
BRANDING_ TAG - XOR tag mixed into the per-buffer [
ProviderId] so the dashboard provider never collides with other providers on the same buffer.
Functions§
- branding_
block_ width - The branding block width in cells (mark + gap + the wider of wordmark / tagline). The host feeds this into the content-centring block width so the banner and body share one centred margin.