From 0fa2013ab73b73bf99ba00df99f77466ebd71e05 Mon Sep 17 00:00:00 2001 From: brunosouzas-agent Date: Sun, 6 Dec 2026 07:29:44 +0000 Subject: [PATCH 1/3] feat: the favicon and header mark are the family mark (SW-304) Pins @brunosouzas/signwright 0.20.0. The favicon is the blue s with the parent moon on the cream tile, the same in both themes, so the header shows one image and brand-mark-dark.svg goes. ledgerMark stays in the banner and the maps. Co-Authored-By: Claude Sonnet 5.5 --- README.md | 2 +- docs/roadmap.md | 1 + docs/site.md | 2 +- npm-shrinkwrap.json | 8 ++-- openspec/changes/family-mark/proposal.md | 30 ++++++++++++ .../family-mark/specs/catalogue-site/spec.md | 28 +++++++++++ openspec/changes/family-mark/tasks.md | 17 +++++++ package.json | 2 +- scripts/favicon.json | 7 +++ scripts/site-art.mjs | 11 +++-- site/public/brand-mark-dark.svg | 6 --- site/public/favicon.svg | 15 +++--- site/public/link-icons/stackledger-dark.svg | 7 +-- site/public/link-icons/stackledger-light.svg | 7 +-- site/src/components/Header.astro | 2 +- test/browser/site.spec.ts | 2 +- test/integration/package.test.ts | 2 +- test/integration/site-skills.test.ts | 4 +- test/integration/site.test.ts | 12 ++--- test/unit/how-it-works.test.ts | 7 +-- test/unit/site-brand.test.ts | 47 ++++++++++--------- 21 files changed, 152 insertions(+), 67 deletions(-) create mode 100644 openspec/changes/family-mark/proposal.md create mode 100644 openspec/changes/family-mark/specs/catalogue-site/spec.md create mode 100644 openspec/changes/family-mark/tasks.md create mode 100644 scripts/favicon.json delete mode 100644 site/public/brand-mark-dark.svg diff --git a/README.md b/README.md index aca88975..ab550ac7 100644 --- a/README.md +++ b/README.md @@ -63,7 +63,7 @@ The diagram as Mermaid, and the personal and corporate modes: [docs/how-it-works 5. **It is written in TypeScript**, so the same map engine runs at build time and in the browser. Why: [ADR 9](docs/adr/0009-typescript-end-to-end.md). 6. **Agent skills are a second ledger in the same tool.** The skills, agents, playbooks and rules your AI agents use are read from their own folders, never copied into YAML. `stackledger skills validate` checks them, `stackledger skills map` draws them in the skills repository, and since 0.3.0 the site has a Skills section next to Software; linking each skill to the software it needs is planned. Why: [ADR 10](docs/adr/0010-agent-skills-are-a-second-ledger-read-from-their-folders.md). 7. **Planned: skills from plugin marketplaces and several maps.** [ADR 11](docs/adr/0011-skills-are-read-from-plugin-marketplaces.md) adds reading plugin marketplaces and skills map lines that are journeys; [ADR 12](docs/adr/0012-several-named-maps-and-stations-of-any-kind.md) adds several named maps. Neither is built; see the [roadmap](docs/roadmap.md#v21-one-site-marketplaces-journeys-and-named-maps). -8. **It looks like brunosouzas.com, with an identity of its own.** The map, the diagrams, the favicon and the site's colours come from [`@brunosouzas/signwright`](https://www.npmjs.com/package/@brunosouzas/signwright), a dependency of the published package; stackledger keeps the layout and writes every piece through its own SVG writer. On top of the family it has its own accent (a blue), its wordmark (the site title in Source Serif 4 italic), its mark (a ledger page) and the parent brand's endorsement in the footer. The fonts are the site's: Source Sans 3, Source Serif 4 and Source Code Pro, shipped in the package and delivered by Astro's Fonts API, so no font is fetched from another site. See [the map](docs/map.md#routes-and-themes) and [the site](docs/site.md). +8. **It looks like brunosouzas.com, with an identity of its own.** The map, the diagrams, the favicon and the site's colours come from [`@brunosouzas/signwright`](https://www.npmjs.com/package/@brunosouzas/signwright), a dependency of the published package; stackledger keeps the layout and writes every piece through its own SVG writer. On top of the family it has its own accent (a blue), its wordmark (the site title in Source Serif 4 italic), its mark (a blue `s` with the parent's moon, the brunosouzas family mark) and the parent brand's endorsement in the footer. The fonts are the site's: Source Sans 3, Source Serif 4 and Source Code Pro, shipped in the package and delivered by Astro's Fonts API, so no font is fetched from another site. See [the map](docs/map.md#routes-and-themes) and [the site](docs/site.md). The context, the main flows and the module map are in [the architecture](docs/architecture.md). diff --git a/docs/roadmap.md b/docs/roadmap.md index 5e7faa78..26c6ae77 100644 --- a/docs/roadmap.md +++ b/docs/roadmap.md @@ -24,6 +24,7 @@ The first version (v1) is split into OpenSpec changes, delivered in this order. | 15 | `identity-v2` | stackledger on `@brunosouzas/design-system` 0.8.1: Source Sans 3, Source Serif 4 and Source Code Pro through Astro's Fonts API with its local provider, the font CSS moved by the build into `_astro/fonts.css` under the unchanged policy; stackledger's own accent (`brand..stackledgerAccent`), the outline frame without shadow, the map's `color.state.*` colours and dark header band; the wordmark in Source Serif 4 italic; the parent brand's symbol and "by Bruno Souza" in the footer and the README; the home banner "From the ledger to the map" with the Folha `ledgerMark`; the How it works diagram with its fonts embedded | Delivered ([#49](https://github.com/brunosouzas/stackledger/pull/49), AB#303); released in 0.8.0 | | 15a | `stackledger-link-icon` | `@brunosouzas/design-system` 0.10.0 and its fifth link icon: a home link may take `icon: stackledger`; no other visible change from the bump | Delivered ([#53](https://github.com/brunosouzas/stackledger/pull/53), AB#326); released in 0.9.0 | | 15b | `home-link-icon-row` | Home links with `icon` as a row of icon-only anchors before the text links, named by their title (`aria-label`), without description or tooltip; 32-pixel icons, 40-pixel targets, the site's focus ring and an even 12-pixel gap; `@brunosouzas/design-system` 0.11.0 and its sixth link icon, `brunosouzas` | Delivered ([#55](https://github.com/brunosouzas/stackledger/pull/55), AB#326); released in 0.10.0 | +| 15c | `family-mark` | stackledger on `@brunosouzas/signwright` 0.20.0: the favicon and the header mark are the family mark (a blue `s` and the parent's moon on the cream tile, the same in both themes); `ledgerMark` stays in the banner and the maps | SW-304 | In review | | 15c | `external-links-new-tab` | Links to other sites (the home links and the map's OpenStreetMap credit) open in a new tab, with `rel="noopener noreferrer"`, and their accessible name ends with " (opens in a new tab)" (WCAG G201); links inside the site keep the same tab | In review ([#57](https://github.com/brunosouzas/stackledger/pull/57), AB#336) | ## v2: agent skills diff --git a/docs/site.md b/docs/site.md index 17e24c86..cff5dded 100644 --- a/docs/site.md +++ b/docs/site.md @@ -108,7 +108,7 @@ The look follows brunosouzas.com (based on the Astroplate theme, MIT). Its palet **Fonts.** Source Sans 3 for text, labels, the map and the diagrams, Source Serif 4 for headings and the site title, Source Code Pro for code, as on brunosouzas.com. They are delivered by Astro's Fonts API with its local provider, which reads the `@fontsource/source-sans-3`, `source-serif-4` and `source-code-pro` files (SIL Open Font License 1.1) shipped in the package, so the build makes no network call. The Fonts API names each family `-` and defines `--font-primary`, `--font-secondary` and `--font-mono`; the site's CSS reads only those. It writes its CSS in inline `