@brignano/design 0.14.0 → 0.15.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/DESIGN.md +12 -11
- package/README.md +1 -1
- package/decisions/0021-ab-logo.md +29 -0
- package/decisions/README.md +1 -0
- package/logo/mark.svg +4 -4
- package/logo/paths.mjs +14 -11
- package/logo/tile-180.png +0 -0
- package/logo/tile-512.png +0 -0
- package/logo/tile.svg +3 -3
- package/package.json +1 -1
package/DESIGN.md
CHANGED
|
@@ -68,7 +68,7 @@ system coherent across a marketing site and an operational tool.
|
|
|
68
68
|
|
|
69
69
|
### Identity is not a fill
|
|
70
70
|
|
|
71
|
-
`--mark` inks a **graphic**: a product's glyph, the
|
|
71
|
+
`--mark` inks a **graphic**: a product's glyph, the cursor in the logo, a hero rule.
|
|
72
72
|
That is its entire permitted use. It is never a button, chip, badge, wash, border,
|
|
73
73
|
or link. The scoped exceptions are the next sections: a product page, and the
|
|
74
74
|
stage behind a product's picture on its card.
|
|
@@ -202,8 +202,8 @@ Three roles, no more:
|
|
|
202
202
|
countdowns align in a column.
|
|
203
203
|
- **`--mono` (IBM Plex Mono)** — data that must read *precise*: confirmation codes,
|
|
204
204
|
timestamps, stat numbers, eyebrow labels.
|
|
205
|
-
- **`--display` (Silkscreen)** — marketing tier only. Hero eyebrows; the
|
|
206
|
-
|
|
205
|
+
- **`--display` (Silkscreen)** — marketing tier only. Hero eyebrows; the logo
|
|
206
|
+
is drawn, not set in it ("The logo", below). Used **once, well** — it is
|
|
207
207
|
memorable precisely because it is concentrated. On the tool tier it aliases to `--sans`.
|
|
208
208
|
|
|
209
209
|
No serif. Abstract over literal — no mascots, clip-art, or stock scenery.
|
|
@@ -228,10 +228,11 @@ No serif. Abstract over literal — no mascots, clip-art, or stock scenery.
|
|
|
228
228
|
|
|
229
229
|
### The logo
|
|
230
230
|
|
|
231
|
-
The
|
|
232
|
-
Geist at 800, outlined, with
|
|
233
|
-
colour
|
|
234
|
-
|
|
231
|
+
The logo is `ab`, the initials in lowercase, drawn once in [`logo/`](./logo):
|
|
232
|
+
Geist at 800, set tight and outlined, with a block cursor after the letters in
|
|
233
|
+
the mark colour, as if they had just been typed. The cursor is the same idea as
|
|
234
|
+
the bar in the `A|B` stamp, pulled out of the middle so the letters read as one
|
|
235
|
+
word. Redraw it with `scripts/logo.py`, never by hand.
|
|
235
236
|
|
|
236
237
|
| File | For |
|
|
237
238
|
|---|---|
|
|
@@ -240,15 +241,15 @@ type match.
|
|
|
240
241
|
| `logo/tile.svg` | the favicon: the mark in an ink tile, the same in both themes |
|
|
241
242
|
| `logo/tile-180.png`, `logo/tile-512.png` | `apple-touch-icon` and the web manifest |
|
|
242
243
|
|
|
243
|
-
- **Inline it where the page has tokens.** The letters take `--ink` and the
|
|
244
|
-
`--mark-current`, so the header follows the site theme, not the OS. An
|
|
244
|
+
- **Inline it where the page has tokens.** The letters take `--ink` and the cursor
|
|
245
|
+
(`bar` in `paths.mjs`) `--mark-current`, so the header follows the site theme, not the OS. An
|
|
245
246
|
`<img>` can only follow the OS.
|
|
246
|
-
- **The letters are ink and only the
|
|
247
|
+
- **The letters are ink and only the cursor is amber.** Never the whole mark in
|
|
247
248
|
`--mark`, never the letters in a state colour, never a gradient or a shadow.
|
|
248
249
|
- **Size by height.** 24 to 32px in a header; under 20px use the tile.
|
|
249
250
|
- **The tile is for icons only:** favicon, home screen, an app's sign-in. On a
|
|
250
251
|
page, use the bare mark.
|
|
251
|
-
- **The
|
|
252
|
+
- **The cursor doesn't move,** except at most one blink on a page's first load,
|
|
252
253
|
and none under `prefers-reduced-motion`.
|
|
253
254
|
|
|
254
255
|
Sizes change with the tier (`--text-xs` … `--text-4xl`); weight, leading and
|
package/README.md
CHANGED
|
@@ -15,7 +15,7 @@ The shared design system for every brignano surface — `brignano.io`, `life`,
|
|
|
15
15
|
| [`product-page.css`](./product-page.css) | The structure of a product's marketing page, built from a five-line brief: thesis and proof on the first phone screen, one signature band, how it works, closing ask. The shared parts every page needs, and a starting point for the look each product writes over it: its mark fills the primary button, and five choices keep any two products from looking alike (ADR-0017). DESIGN.md §13; skeleton in `previews/product-page.html`, one worked example per product in `previews/product-page-example.html` (Driftwood), `product-page-guidebook.html` and `product-page-sites.html`, first-screen check in `scripts/fold.mjs`. |
|
|
16
16
|
| [`templates/`](./templates) | Page templates built on `components.css`: `article.css` (posts and docs), `changelog.css`, `legal.css`, `error.css` (404, 500, offline), `settings.css`, and a transactional email (`email.html` + `email.txt`, filled from the tokens by `scripts/email-tokens.mjs`). Import as `@brignano/design/templates/<name>.css`. |
|
|
17
17
|
| [`icons/`](./icons) | One curated outline icon set (Lucide, ISC; `icons/LICENSE`) on a 24px grid in `currentColor`. Size with `.icon-sm`, `.icon`, `.icon-lg` from `components.css`; browse and copy in `previews/icons.html`. Paste the markup inline (`@brignano/design/icons/<name>.svg`); through `<img>` an icon can't take the text colour. |
|
|
18
|
-
| [`logo/`](./logo) | The `
|
|
18
|
+
| [`logo/`](./logo) | The `ab` logo: `paths.mjs` to inline it (letters in `--ink`, cursor in `--mark-current`), `mark.svg` for an `<img>`, `tile.svg` and the tile PNGs for a favicon and app icon. Rules in DESIGN.md §5, "The logo". |
|
|
19
19
|
| [`previews/`](./previews) | Live swatches. Open one in a browser to see the tokens render. |
|
|
20
20
|
|
|
21
21
|
## The shape of it
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
# ADR-0021 — The logo is "ab" with a cursor after it
|
|
2
|
+
|
|
3
|
+
**Status:** accepted · 2026-11-23 · #196
|
|
4
|
+
**Supersedes in part:** the `A|B` shape of the logo in DESIGN.md §5
|
|
5
|
+
|
|
6
|
+
## Context
|
|
7
|
+
|
|
8
|
+
The `A|B` logo put a full-height bar between the initials. Anthony found it
|
|
9
|
+
odd and bland: the tall bar reads as a divider, or as a capital I, more than
|
|
10
|
+
as a cursor. He wanted it more modern while staying minimal. Four concepts
|
|
11
|
+
were drawn (a lowercase prompt, an A and B sharing a stem, a single B with a
|
|
12
|
+
cursor spine, and a `brignano_` wordmark) and he picked the prompt.
|
|
13
|
+
|
|
14
|
+
## Decision
|
|
15
|
+
|
|
16
|
+
The logo is `ab` in lowercase Geist 800, set tight (-0.065em), with a block
|
|
17
|
+
cursor after it in the mark colour, as tall as the a. It keeps the cursor and
|
|
18
|
+
the ink-plus-amber rule of the old logo; only the shape changes.
|
|
19
|
+
`scripts/logo.py` draws it from the font so it can be redrawn exactly.
|
|
20
|
+
|
|
21
|
+
`logo/paths.mjs` keeps its `MARK`/`TILE` names and `letters`/`bar` keys, so a
|
|
22
|
+
site that inlines the logo needs only the new package version.
|
|
23
|
+
|
|
24
|
+
## Consequences
|
|
25
|
+
|
|
26
|
+
- The `.stamp` text treatment (`A|B` set in a footer) still shows the old
|
|
27
|
+
monogram. Moving it to the new shape is a follow-up.
|
|
28
|
+
- The `brignano_` wordmark stays an option for a place that needs the full
|
|
29
|
+
name.
|
package/decisions/README.md
CHANGED
|
@@ -28,3 +28,4 @@ record is only edited to mark it superseded; a change of mind is a new record.
|
|
|
28
28
|
| [0018](0018-card-stage.md) | A product's card may carry its stage | 2026-11-15 |
|
|
29
29
|
| [0019](0019-house-theme-shell.md) | One house look, with a theme and a shell per product | 2026-11-22 |
|
|
30
30
|
| [0020](0020-kits-opt-in.md) | Kits are opt-in until 1.0, and a fill's label is whatever reads on it | 2026-11-22 |
|
|
31
|
+
| [0021](0021-ab-logo.md) | The logo is `ab` with a cursor after it | 2026-11-23 |
|
package/logo/mark.svg
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0
|
|
2
|
-
<!-- The
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 51.6 24" width="51.6" height="24" role="img" aria-label="Anthony Brignano">
|
|
2
|
+
<!-- The logo: "ab" in Geist at 800, outlined, with a block cursor in the
|
|
3
3
|
mark colour. A file used as an <img> can't read tokens.css, so the
|
|
4
4
|
colours repeat the ink and mark tokens in each theme; keep them in step.
|
|
5
5
|
Inline it from logo/paths.mjs instead when the page has tokens. -->
|
|
@@ -7,6 +7,6 @@
|
|
|
7
7
|
.ab { fill: rgb(17 17 20); } .bar { fill: rgb(180 116 31); }
|
|
8
8
|
@media (prefers-color-scheme: dark) { .ab { fill: rgb(242 242 244); } .bar { fill: rgb(224 164 79); } }
|
|
9
9
|
</style>
|
|
10
|
-
<path class="ab" d="
|
|
11
|
-
<path class="bar" d="
|
|
10
|
+
<path class="ab" d="M6.38 24Q3.57 24 1.79 22.71Q0 21.42 0 19.11Q0 16.74 1.53 15.46Q3.06 14.17 5.98 13.56L11.53 12.43Q11.53 10.86 10.85 10.06Q10.16 9.25 8.89 9.25Q7.62 9.25 6.91 9.86Q6.21 10.46 6 11.61L0.3 11.41Q0.82 8.3 3.04 6.81Q5.26 5.32 8.89 5.32Q13.08 5.32 15.16 7.22Q17.25 9.11 17.25 12.87V18.53Q17.25 19.34 17.52 19.6Q17.79 19.86 18.29 19.86H18.72V23.6Q18.46 23.69 17.86 23.76Q17.27 23.83 16.7 23.83Q15.69 23.83 14.72 23.48Q13.74 23.14 13.12 22.22Q12.49 21.3 12.49 19.57L12.93 20.01Q12.59 21.22 11.75 22.12Q10.9 23.02 9.56 23.51Q8.22 24 6.38 24ZM7.86 20.26Q8.94 20.26 9.76 19.83Q10.58 19.41 11.06 18.57Q11.53 17.74 11.53 16.51V15.78L8.05 16.58Q7.03 16.81 6.45 17.3Q5.88 17.8 5.88 18.58Q5.88 19.38 6.37 19.82Q6.87 20.26 7.86 20.26ZM29.94 24Q28.06 24 26.71 23.21Q25.36 22.42 24.59 21L24.49 23.6H18.96V0H24.68V8.28Q25.42 6.97 26.77 6.15Q28.11 5.32 29.94 5.32Q32.18 5.32 33.84 6.48Q35.49 7.63 36.4 9.73Q37.3 11.83 37.3 14.66Q37.3 17.48 36.4 19.59Q35.49 21.69 33.84 22.84Q32.18 24 29.94 24ZM28.15 19.77Q29.6 19.77 30.52 18.44Q31.43 17.1 31.43 14.66Q31.43 12.21 30.54 10.88Q29.66 9.55 28.16 9.55Q27.06 9.55 26.27 10.14Q25.48 10.74 25.08 11.88Q24.68 13.02 24.68 14.66Q24.68 16.25 25.08 17.4Q25.48 18.55 26.27 19.16Q27.06 19.77 28.15 19.77Z"/>
|
|
11
|
+
<path class="bar" d="M40.29 5.32h11.3v18.28h-11.3z"/>
|
|
12
12
|
</svg>
|
package/logo/paths.mjs
CHANGED
|
@@ -1,23 +1,26 @@
|
|
|
1
|
-
// The
|
|
1
|
+
// The logo as path data, for a page that inlines it (React, satori, a
|
|
2
2
|
// template) instead of loading logo/mark.svg or logo/tile.svg as an image.
|
|
3
3
|
//
|
|
4
|
-
// Inline, the letters take the ink and the
|
|
4
|
+
// Inline, the letters take the ink and the cursor takes the mark in force:
|
|
5
5
|
//
|
|
6
6
|
// <svg viewBox={MARK.viewBox} role="img" aria-label="Anthony Brignano">
|
|
7
7
|
// <path d={MARK.letters} style="fill: var(--ink)" />
|
|
8
8
|
// <path d={MARK.bar} style="fill: var(--mark-current)" />
|
|
9
9
|
// </svg>
|
|
10
10
|
//
|
|
11
|
-
// The
|
|
12
|
-
//
|
|
11
|
+
// The logo is "ab" in lowercase Geist at weight 800 (OFL,
|
|
12
|
+
// fonts/LICENSE-geist.txt), set tight, with a block cursor after it. The
|
|
13
|
+
// letters are outlined so the logo doesn't wait on the font. `bar` is the
|
|
14
|
+
// cursor (the name is kept from the A|B logo so inlining code doesn't change).
|
|
15
|
+
// Redraw with scripts/logo.py. DESIGN.md §5, "The logo".
|
|
13
16
|
|
|
14
|
-
/** The mark on its own,
|
|
17
|
+
/** The mark on its own, 51.6 × 24 with no padding: header, share card, footer. */
|
|
15
18
|
export const MARK = {
|
|
16
|
-
width:
|
|
19
|
+
width: 51.6,
|
|
17
20
|
height: 24,
|
|
18
|
-
viewBox: '0 0
|
|
19
|
-
letters: '
|
|
20
|
-
bar: '
|
|
21
|
+
viewBox: '0 0 51.6 24',
|
|
22
|
+
letters: 'M6.38 24Q3.57 24 1.79 22.71Q0 21.42 0 19.11Q0 16.74 1.53 15.46Q3.06 14.17 5.98 13.56L11.53 12.43Q11.53 10.86 10.85 10.06Q10.16 9.25 8.89 9.25Q7.62 9.25 6.91 9.86Q6.21 10.46 6 11.61L0.3 11.41Q0.82 8.3 3.04 6.81Q5.26 5.32 8.89 5.32Q13.08 5.32 15.16 7.22Q17.25 9.11 17.25 12.87V18.53Q17.25 19.34 17.52 19.6Q17.79 19.86 18.29 19.86H18.72V23.6Q18.46 23.69 17.86 23.76Q17.27 23.83 16.7 23.83Q15.69 23.83 14.72 23.48Q13.74 23.14 13.12 22.22Q12.49 21.3 12.49 19.57L12.93 20.01Q12.59 21.22 11.75 22.12Q10.9 23.02 9.56 23.51Q8.22 24 6.38 24ZM7.86 20.26Q8.94 20.26 9.76 19.83Q10.58 19.41 11.06 18.57Q11.53 17.74 11.53 16.51V15.78L8.05 16.58Q7.03 16.81 6.45 17.3Q5.88 17.8 5.88 18.58Q5.88 19.38 6.37 19.82Q6.87 20.26 7.86 20.26ZM29.94 24Q28.06 24 26.71 23.21Q25.36 22.42 24.59 21L24.49 23.6H18.96V0H24.68V8.28Q25.42 6.97 26.77 6.15Q28.11 5.32 29.94 5.32Q32.18 5.32 33.84 6.48Q35.49 7.63 36.4 9.73Q37.3 11.83 37.3 14.66Q37.3 17.48 36.4 19.59Q35.49 21.69 33.84 22.84Q32.18 24 29.94 24ZM28.15 19.77Q29.6 19.77 30.52 18.44Q31.43 17.1 31.43 14.66Q31.43 12.21 30.54 10.88Q29.66 9.55 28.16 9.55Q27.06 9.55 26.27 10.14Q25.48 10.74 25.08 11.88Q24.68 13.02 24.68 14.66Q24.68 16.25 25.08 17.4Q25.48 18.55 26.27 19.16Q27.06 19.77 28.15 19.77Z',
|
|
23
|
+
bar: 'M40.29 5.32h11.3v18.28h-11.3z',
|
|
21
24
|
};
|
|
22
25
|
|
|
23
26
|
/** The mark in a 24 × 24 tile with 5.5 corners: favicon and app icon. */
|
|
@@ -26,6 +29,6 @@ export const TILE = {
|
|
|
26
29
|
height: 24,
|
|
27
30
|
viewBox: '0 0 24 24',
|
|
28
31
|
radius: 5.5,
|
|
29
|
-
letters: '
|
|
30
|
-
bar: '
|
|
32
|
+
letters: 'M5.98 15.72Q5.11 15.72 4.55 15.32Q4 14.92 4 14.2Q4 13.47 4.47 13.07Q4.95 12.67 5.85 12.48L7.58 12.13Q7.58 11.65 7.36 11.4Q7.15 11.15 6.76 11.15Q6.36 11.15 6.14 11.34Q5.93 11.52 5.86 11.88L4.09 11.82Q4.26 10.85 4.94 10.39Q5.63 9.93 6.76 9.93Q8.06 9.93 8.7 10.52Q9.35 11.11 9.35 12.27V14.02Q9.35 14.28 9.43 14.36Q9.52 14.44 9.67 14.44H9.81V15.6Q9.72 15.62 9.54 15.65Q9.36 15.67 9.18 15.67Q8.87 15.67 8.56 15.56Q8.26 15.46 8.07 15.17Q7.87 14.88 7.87 14.35L8.01 14.48Q7.9 14.86 7.64 15.14Q7.38 15.42 6.96 15.57Q6.55 15.72 5.98 15.72ZM6.44 14.56Q6.77 14.56 7.03 14.43Q7.28 14.3 7.43 14.04Q7.58 13.78 7.58 13.4V13.17L6.5 13.42Q6.18 13.49 6 13.64Q5.82 13.8 5.82 14.04Q5.82 14.29 5.98 14.43Q6.13 14.56 6.44 14.56ZM13.28 15.72Q12.7 15.72 12.28 15.48Q11.86 15.23 11.63 14.79L11.59 15.6H9.88V8.28H11.65V10.85Q11.88 10.44 12.3 10.18Q12.72 9.93 13.28 9.93Q13.98 9.93 14.49 10.29Q15.01 10.65 15.29 11.3Q15.57 11.95 15.57 12.82Q15.57 13.7 15.29 14.35Q15.01 15 14.49 15.36Q13.98 15.72 13.28 15.72ZM12.73 14.41Q13.18 14.41 13.46 14Q13.75 13.58 13.75 12.82Q13.75 12.07 13.47 11.65Q13.2 11.24 12.73 11.24Q12.39 11.24 12.15 11.42Q11.9 11.61 11.78 11.96Q11.65 12.32 11.65 12.82Q11.65 13.32 11.78 13.68Q11.9 14.03 12.15 14.22Q12.39 14.41 12.73 14.41Z',
|
|
33
|
+
bar: 'M16.5 9.93h3.5v5.67h-3.5z',
|
|
31
34
|
};
|
package/logo/tile-180.png
CHANGED
|
Binary file
|
package/logo/tile-512.png
CHANGED
|
Binary file
|
package/logo/tile.svg
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" role="img" aria-label="Anthony Brignano">
|
|
2
|
-
<!-- The
|
|
2
|
+
<!-- The logo in an ink tile: the favicon and app icon. One look in both
|
|
3
3
|
themes, like an app icon: an ink ground (n-900 light), light letters
|
|
4
4
|
(n-900 dark) and the dark-theme mark token, the one tuned for a dark
|
|
5
5
|
ground. Keep in step with tokens.css. -->
|
|
6
6
|
<rect width="24" height="24" rx="5.5" fill="rgb(17 17 20)"/>
|
|
7
|
-
<path d="
|
|
8
|
-
<path d="
|
|
7
|
+
<path d="M5.98 15.72Q5.11 15.72 4.55 15.32Q4 14.92 4 14.2Q4 13.47 4.47 13.07Q4.95 12.67 5.85 12.48L7.58 12.13Q7.58 11.65 7.36 11.4Q7.15 11.15 6.76 11.15Q6.36 11.15 6.14 11.34Q5.93 11.52 5.86 11.88L4.09 11.82Q4.26 10.85 4.94 10.39Q5.63 9.93 6.76 9.93Q8.06 9.93 8.7 10.52Q9.35 11.11 9.35 12.27V14.02Q9.35 14.28 9.43 14.36Q9.52 14.44 9.67 14.44H9.81V15.6Q9.72 15.62 9.54 15.65Q9.36 15.67 9.18 15.67Q8.87 15.67 8.56 15.56Q8.26 15.46 8.07 15.17Q7.87 14.88 7.87 14.35L8.01 14.48Q7.9 14.86 7.64 15.14Q7.38 15.42 6.96 15.57Q6.55 15.72 5.98 15.72ZM6.44 14.56Q6.77 14.56 7.03 14.43Q7.28 14.3 7.43 14.04Q7.58 13.78 7.58 13.4V13.17L6.5 13.42Q6.18 13.49 6 13.64Q5.82 13.8 5.82 14.04Q5.82 14.29 5.98 14.43Q6.13 14.56 6.44 14.56ZM13.28 15.72Q12.7 15.72 12.28 15.48Q11.86 15.23 11.63 14.79L11.59 15.6H9.88V8.28H11.65V10.85Q11.88 10.44 12.3 10.18Q12.72 9.93 13.28 9.93Q13.98 9.93 14.49 10.29Q15.01 10.65 15.29 11.3Q15.57 11.95 15.57 12.82Q15.57 13.7 15.29 14.35Q15.01 15 14.49 15.36Q13.98 15.72 13.28 15.72ZM12.73 14.41Q13.18 14.41 13.46 14Q13.75 13.58 13.75 12.82Q13.75 12.07 13.47 11.65Q13.2 11.24 12.73 11.24Q12.39 11.24 12.15 11.42Q11.9 11.61 11.78 11.96Q11.65 12.32 11.65 12.82Q11.65 13.32 11.78 13.68Q11.9 14.03 12.15 14.22Q12.39 14.41 12.73 14.41Z" fill="rgb(242 242 244)"/>
|
|
8
|
+
<path d="M16.5 9.93h3.5v5.67h-3.5z" fill="rgb(224 164 79)"/>
|
|
9
9
|
</svg>
|