Skip to content

Commit 2e8ed54

Browse files
authored
Merge pull request #2 from Lab271/feat/design-refresh
Restyle to the Lab271 design refresh palette
2 parents 9bb3fa8 + b7ca801 commit 2e8ed54

9 files changed

Lines changed: 96 additions & 214 deletions

File tree

.mise.toml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,6 @@ description = "Regenerate docs/src/data/repos.json from the Lab271 GitHub org"
3131
dir = "docs"
3232
run = "node scripts/refresh-repos.mjs"
3333

34-
[tasks.docs-marks]
35-
description = "Regenerate src/assets/logo.svg and badge.svg (Inter outlined to paths)"
36-
dir = "docs"
37-
run = "uv run scripts/refresh-marks.py"
38-
3934
[tasks.docs-icons]
4035
description = "Re-export the favicon/apple-touch-icon PNGs from src/assets/badge.svg"
4136
dir = "docs"

AGENTS.md

Lines changed: 29 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ mise run docs-dev # dev server at http://localhost:4321/
2323
mise run docs-check # astro check (type/content check)
2424
mise run docs-build # static build into docs/dist
2525
mise run docs-repos # regenerate docs/src/data/repos.json from the Lab271 org (needs `gh` auth)
26-
mise run docs-marks # regenerate the logo/badge SVGs (needs uv)
2726
mise run docs-icons # re-export the favicon PNGs from src/assets/badge.svg (needs librsvg)
2827
```
2928

@@ -38,11 +37,12 @@ When starting the dev server directly (not via mise), use background mode:
3837
- `src/intro.md`: the intro paragraphs, imported into the landing page.
3938
- `src/styles/custom.css`: Lab271 brand theme (colors, fonts) mapped onto
4039
Starlight's CSS custom properties.
41-
- `src/assets/logo.svg`: the horizontal wordmark used in the nav bar.
40+
- `src/assets/logo.svg`: the horizontal wordmark used in the nav bar. Vendored
41+
from the design team's final artwork (the Lab271 design refresh) rather than
42+
generated - see Branding below.
4243
- `src/assets/badge.svg`: the badge mark, and the master for the favicon PNGs
43-
in `public/`. Both SVGs are generated by `scripts/refresh-marks.py`
44-
(`mise run docs-marks`); the PNGs by `scripts/refresh-icons.sh`
45-
(`mise run docs-icons`).
44+
in `public/`. Also vendored artwork. The PNGs are re-exported from it with
45+
`scripts/refresh-icons.sh` (`mise run docs-icons`).
4646
- `src/assets/hero.jpg`: the hero photo.
4747
- `src/data/repos.json`: committed, auto-generated list of public `Lab271`
4848
repos that carry an open source license. Regenerate with `mise run
@@ -63,23 +63,33 @@ When starting the dev server directly (not via mise), use background mode:
6363

6464
## Branding
6565

66-
The theme implements the Lab271 brand kit (`labs-branding`, in particular
67-
`brand/visual-identity.md` and `brand/tokens/lab271.tokens.json`). When touching
68-
colors, type or the marks, read those first. The rules that shaped what is here:
66+
The theme implements the Lab271 design refresh (see ADR-0005 in
67+
`Lab271/www.lab271.io`), which supersedes the `labs-branding`
68+
(`brand/visual-identity.md`, `brand/tokens/lab271.tokens.json`) Navy/Primary
69+
Blue/Teal system this site carried before. `labs-branding` has not been
70+
re-derived from the refresh yet, so it is temporarily stale - treat this
71+
repo's `custom.css` and its `www.lab271.io` sibling as authoritative in the
72+
meantime. The rules that shaped what is here:
6973

70-
- **Palette.** Navy `#1A1F36` anchors dark surfaces, including the nav bar in
71-
both color modes. Primary Blue `#6C8EEF` is the signature, Blue Light
72-
`#A8C0FF` its gradient partner. Teal `#36C5B0` is a spark: at most one per
73-
composition, which here is the rule in the badge. Never pure black.
74+
- **Palette.** Near-black `#020C17` anchors dark surfaces, including the nav
75+
bar in both color modes (never pure black). Cyan `#1EE8ED` (dark mode) /
76+
`#18B9BD` (light mode, darkened for contrast) is the signature accent.
77+
Orange `#FF7000`/`#FF8D33` is a spark: at most one per composition, which
78+
here is the rule in the badge. Light mode's canvas is a warm paper off-white
79+
(`#FAF9F5`), not a cool gray.
7480
- **Type.** Inter and JetBrains Mono are the open stand-ins for TT Interphases
7581
and TT Interphases Mono, the licensed SBP faces that cannot ship on a public
76-
build. Sentence case headings with tight tracking. Mono is "a pinch of tech",
77-
so it is limited to the `e = 2.71828` motif and the language labels.
78-
- **Marks.** `logo.svg` and `badge.svg` set Inter outlined to paths, so they
79-
render without the font installed. The badge follows the brand kit's concept A,
80-
"the door plate". Change them by editing `scripts/refresh-marks.py` and
81-
re-running it, not by editing the path data.
82-
- **Written "Lab271"**, sentence case, no space. Never "LAB271".
82+
build - unchanged by the refresh. Sentence case headings with tight
83+
tracking. Mono is "a pinch of tech", so it is limited to the `e = 2.71828`
84+
motif and the language labels.
85+
- **Marks.** `logo.svg` and `badge.svg` are vendored directly from the design
86+
team's final artwork for the refresh, not generated - the previous
87+
Inter-outlined-to-paths approach (`scripts/refresh-marks.py`) is retired.
88+
Update them by replacing the SVG file with a new export from the design
89+
source, not by hand-editing the path data.
90+
- **Written "Lab271"**, sentence case, no space, in all prose and copy. Never
91+
"LAB271" in running text - the all-caps treatment is reserved for the
92+
wordmark graphic itself (`logo.svg`).
8393
- US English throughout.
8494
- No em dashes in the copy. `docs/scripts/refresh-repos.mjs` normalizes them out
8595
of upstream GitHub descriptions too.

docs/public/apple-touch-icon.png

-2.39 KB
Loading

docs/public/favicon-32x32.png

-352 Bytes
Loading

docs/public/favicon.png

-6.15 KB
Loading

docs/scripts/refresh-marks.py

Lines changed: 0 additions & 135 deletions
This file was deleted.

docs/src/assets/badge.svg

Lines changed: 11 additions & 10 deletions
Loading

0 commit comments

Comments
 (0)