themes-art-deco/docs/adr/0007-a-long-business-name-fits-the-navbar.md
Alex Dunmow 28754c401d fix: website factory launch run defects (0.5.10)
Footer contact details, eyebrow alignment, long headlines, scrims and
grid rows found by the WO-101 render pass; see docs/adr.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 19:11:51 +08:00

1.3 KiB

A long business name fits the navbar

Decided 2026-11-22 for art-deco 0.5.10, from the website factory's render pass over all thirty-six blueprint and theme pairs (orchestrator WO-101, ADR 0092).

Context

The website factory compiles a customer's site onto this theme, and the render pass checks that no page is wider than 390 pixels. The professional-services sample business, "Okafor and Lind Accountants", set in the navbar at text-xl with the theme's 0.18em capital tracking, ran to 466 pixels and widened every page on a phone; the navbar link could not shrink (flex-shrink-0).

Decision

  • A text logo longer than 16 characters lets its link shrink (min-w-0) and carries deco-name-long, which on a phone sets the name at 1rem with 0.08em tracking and lets it wrap. Shorter names and wider screens are unchanged.

Consequences

  • art-deco 0.5.10 is published to the dev registry; the orchestrator's internal/factory/themes.yaml pins it.
  • No schema field changes. The regression check for sites the factory did not build compared the production release with 0.5.10 (orchestrator docs/works/evidence/WO-101/theme-regression/).

Keywords: navbar, logoText, business name, deco-name-long, min-w-0, flex-shrink-0, 390, page width, overflow, WO-101, website factory, render pass, art-deco