Skip to content

Commit de49595

Browse files
Reconcile-the-brand-guide-and-the-editorial-palette
The brand guide added in #22 declared the navy and #F2F4F7 palette canonical and said those tokens were the ones in use. That had not been true since the editorial design system landed, and the theme alignment that followed spread the parchment surfaces to the remaining pages, so the repository was carrying two contradictory sources of truth. Split the palette by the question each colour answers. Surfaces are the editorial parchment and ink tokens, which is what actually ships on every property including the four MkDocs subdomains. Marks and accents are the brand guide's values, unchanged, so no icon needs regenerating. That leaves one correction in each direction. The editorial system had invented its own red and amber, and the hub bridge had retuned four semantic accents the guide names explicitly; all six now use the documented hexes. In particular --at-red becomes #B91C1C, the same red as the mark, so the site and the icons no longer ship two reds close enough to read as a mistake. Document the two legitimate exceptions, dark-scheme and code-surface derivations and third-party logo colours, so the rule that an undocumented hex does not belong stays enforceable. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
1 parent ea9d8bf commit de49595

3 files changed

Lines changed: 78 additions & 28 deletions

File tree

brand/BRAND.md

Lines changed: 65 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -14,29 +14,79 @@ which is the handle rather than the wordmark. Prose uses AgenTrust.
1414

1515
## Palette
1616

17-
These are the only approved brand colours. They are the tokens already defined
18-
in `index.html` and used across the site, the demos, and the extension pages.
17+
There are two layers, and they answer different questions. **Surface colours**
18+
say what the page is made of. **Mark and accent colours** say what carries the
19+
AgenTrust name. A mark never uses a surface colour and a surface never uses a
20+
mark colour, so the two lists cannot drift into each other again.
21+
22+
The single source of truth is `design-system.css`, which every property loads
23+
from `agentrust-io.com`, including the four MkDocs subdomains. Change a value
24+
there and the whole family moves together. Do not redeclare these in a page.
25+
26+
### Surfaces
27+
28+
The site reads as printed matter: warm parchment, near-black ink, hairline
29+
rules. This is what ships on the hub, quickstart, demos, telemetry, the
30+
extension pages, and the docs sites.
1931

2032
| Token | Hex | Use |
2133
|---|---|---|
22-
| `--navy` | `#15294B` | Primary. Mark background, headings, shield stroke. |
23-
| `--blue` | `#1B5EA0` | Gradient partner to navy, secondary accents. |
24-
| `--red` | `#B91C1C` | Accent only. The bar in the mark, and the single point of emphasis in a product glyph. |
25-
| `--body` | `#2E4057` | Body copy. |
26-
| `--muted` | `#6B7F94` | Secondary copy, captions. |
27-
| `--border` | `#D0D9E3` | Rules, card borders. |
28-
| `--bg` | `#F2F4F7` | Page background, light-variant mark background. |
29-
| `--surface` | `#FFFFFF` | Cards, light-variant mark highlight. |
30-
31-
Semantic colours (`--green #1B7A4A`, `--amber #C17817`, `--orange #EA580C`,
32-
`--purple #6D28D9`) are for status and diagram meaning only. They are never
33-
brand colours and never appear in a mark.
34+
| `--at-paper` | `#F3F0E8` | Page background. |
35+
| `--at-paper-2` | `#E9E4D8` | Table headers, hover fills, secondary bands. |
36+
| `--at-white` | `#FFFEFA` | Cards, callouts, raised surfaces. |
37+
| `--at-ink` | `#171714` | Body copy, headings, footer background, code background. |
38+
| `--at-muted` | `#66645D` | Secondary copy, captions, inactive nav. |
39+
| `--at-line` | `rgba(23,23,20,.18)` | Rules, card borders, dividers. |
40+
41+
The dark variant is defined once, under `[data-md-color-scheme="slate"]`, and
42+
inverts these same six tokens. Nothing else needs a dark rule.
43+
44+
### Marks and accents
45+
46+
| Token | Hex | Use |
47+
|---|---|---|
48+
| `--at-navy` | `#15294B` | Mark background, shield stroke, structural emphasis. |
49+
| `--blue` | `#1B5EA0` | Gradient partner to navy, links, secondary accents. |
50+
| `--at-red` | `#B91C1C` | Accent only. The bar in the mark, the single point of emphasis in a product glyph, section labels, active nav. |
51+
52+
`--at-red` and the red in the mark files are the same hex on purpose. One red
53+
across the icons and the site, never two that are close enough to look like a
54+
mistake.
55+
56+
### Semantic
57+
58+
`--green #1B7A4A`, `--amber #C17817`, `--orange #EA580C`, `--purple #6D28D9`.
59+
Status and diagram meaning only: badges, product-card category accents, pass
60+
and fail states. They are never brand colours and never appear in a mark.
3461

3562
**Do not use the MkDocs Material default purple.** The theme ships
3663
`#7c3aed`, `#0ea5e9`, `#5BD2BE`, `#8251EE`, and `#C661F7`. Four product icons
3764
were previously drawn in those colours, which is how the family drifted into
3865
two unrelated palettes that matched neither each other nor the site. If a hex
39-
is not in the table above, it does not belong in a mark.
66+
is not on this page, it does not belong in a mark.
67+
68+
### Two exceptions
69+
70+
`design-system.css` contains hexes that are not on this page, and both kinds
71+
are deliberate.
72+
73+
**Derived tones.** The dark scheme and the code surfaces are derived from the
74+
six surface tokens: inverted paper and ink, plus the muted greens, sands, and
75+
reds that stay legible on a near-black code block. They are shades of the
76+
palette, not additions to it, and they live in one file. Do not hand-pick a new
77+
one in a page.
78+
79+
**Third-party logos.** An adopter or partner card renders that organisation's
80+
own mark in that organisation's own colour. Those are their brand values, not
81+
ours, and they appear nowhere else. Never sample one into AgenTrust surfaces.
82+
83+
### The older token names
84+
85+
The hub still carries an inline stylesheet written against an earlier set of
86+
names: `--bg`, `--surface`, `--border`, `--body`, `--muted`, `--navy`, `--red`.
87+
`design-system.css` remaps those onto the tokens above in one block rather than
88+
rewriting five hundred lines of page CSS, so they resolve to the values here.
89+
Treat them as legacy aliases. New work uses the `--at-*` names.
4090

4191
## The mark system
4292

design-system.css

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
--at-muted: #66645d;
1111
--at-line: rgba(23, 23, 20, 0.18);
1212
--at-navy: #15294b;
13-
--at-red: #c52233;
13+
--at-red: #b91c1c;
1414
--at-white: #fffefa;
1515
--at-radius: 18px;
1616
--at-shadow: 0 18px 45px rgba(23, 23, 20, 0.08);
@@ -24,7 +24,7 @@
2424
--md-primary-fg-color: var(--at-paper);
2525
--md-primary-bg-color: var(--at-ink);
2626
--md-accent-fg-color: var(--at-red);
27-
--md-typeset-a-color: #244f83;
27+
--md-typeset-a-color: #1b5ea0;
2828
--md-default-bg-color: var(--at-paper);
2929
--md-default-fg-color: var(--at-ink);
3030
--md-default-fg-color--light: var(--at-muted);
@@ -222,9 +222,9 @@ body,
222222
* The hub still ships the older inline palette. Rather than rewrite 500 lines
223223
* of page CSS, remap those variables onto the editorial tokens once, here.
224224
* Every remaining var(--navy)/var(--blue)/... on the page resolves through it,
225-
* so the hub has one palette, not two. The five accents stay distinguishable
226-
* because the product cards use them to tell categories apart; they are just
227-
* retuned to print-ink values that sit on parchment.
225+
* so the hub has one palette, not two. The semantic accents keep the exact
226+
* hexes brand/BRAND.md documents: the product cards use them to tell
227+
* categories apart, and they are status colours, not surface colours.
228228
*/
229229
.agentrust-hub {
230230
--bg: var(--at-paper);
@@ -234,11 +234,11 @@ body,
234234
--muted: var(--at-muted);
235235
--navy: var(--at-navy);
236236
--red: var(--at-red);
237-
--blue: #244f83;
238-
--green: #1e6b4a;
239-
--amber: var(--at-warn);
240-
--purple: #5b3f7a;
241-
--orange: #b05c1f;
237+
--blue: #1b5ea0;
238+
--green: #1b7a4a;
239+
--amber: #c17817;
240+
--purple: #6d28d9;
241+
--orange: #ea580c;
242242
}
243243

244244
/* Status badges: one parchment chip, the accent carried by the text alone */
@@ -316,7 +316,7 @@ body,
316316
}
317317

318318
.agentrust-hub .hero-promo-text { color: var(--at-ink); }
319-
.agentrust-hub .hero-promo-tag { color: var(--at-red); background: rgba(197, 34, 51, 0.08); }
319+
.agentrust-hub .hero-promo-tag { color: var(--at-red); background: rgba(185, 28, 28, 0.08); }
320320
.agentrust-hub .hero-promo-link { border-radius: 999px; background: var(--at-ink); color: var(--at-paper); }
321321

322322
.agentrust-hub .btn { border-radius: 999px; padding: 0.75rem 1.2rem; }
@@ -443,7 +443,7 @@ body,
443443

444444
:root {
445445
--at-pass: #1b7a4a;
446-
--at-warn: #a9691b;
446+
--at-warn: #c17817;
447447
--at-code-bg: #171714;
448448
--at-code-fg: #e4e0d6;
449449
--at-code-dim: #9d998e;

supernav.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@
7777
'#' + NAV_ID + ' a.active{',
7878
' color:var(--at-ink,#171714);',
7979
' font-weight:750;',
80-
' border-bottom-color:var(--at-red,#c52233);',
80+
' border-bottom-color:var(--at-red,#b91c1c);',
8181
'}',
8282
'#' + NAV_ID + ' .sep{',
8383
' width:1px;',

0 commit comments

Comments
 (0)