Accounts sign-in looks like the church's site; Events sends its logo and colours

- @crosscode/ui: Shell with the church's colour wash, logo (or its initial)
  and name, footer; Card edged in the church's colour; Heading with an
  icon tile. Icons on every sign-in step.
- contracts 1.9.0: churchLookSchema (logo, accent colour) in import.begin;
  church.branding request. Accounts fills (move) or replaces (button) the
  church profile's name, logo and colours.
- Events 3.1.0: src/accounts/look.ts (logo as a full address), sent with a
  move; Settings -> Sign-in "Use this site's logo and colours".
Tests: Accounts 55, contracts 218, Events 774, test:accounts 16.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-19 21:50:02 +02:00
co-authored by Claude Opus 5.5
parent cc18b7b514
commit 70c471666b
20 changed files with 482 additions and 40 deletions
+3
View File
@@ -13,6 +13,9 @@ send codes or password links, sign-in failed with a 500, and nobody could get in
- **Accounts 1.2.0:** a code or link that can't be sent shows a message instead of a 500 (WhatsApp
codes fall back to email); forgot password says email isn't set up; the `messaging.*` requests
(test, and save only what worked); a test WhatsApp in its admin; WAWP from the `.env` too.
- **The sign-in pages look like the church's site:** `@crosscode/ui` Shell / Card / Heading redone
(colour wash, logo and name, cards edged in the church's colour, icons); Events sends its logo and
colours (`church.branding`, and with a move).
- **Events 3.1.0:** Settings → Sign-in shows what Accounts can send and sets it up by copying this
site's SMTP / WAWP (its secrets stay on the server), with a test before saving; the move needs
Accounts' email (disabled, and refused by the server, without it).