- Backend: the church profile from Accounts (src/accounts/church.ts, kept 10 minutes, last copy kept while Accounts is down), public GET /api/v2/church, and church.changed accepted at POST /api/church/v1/changed (signed with the Accounts link; it answered 404 before). - Frontend: brandAttributes on <html>, @crosscode/ui/fonts.css, body and h1-h3 use the church's pairing, --radius follows its corners; the dashboard and setup screens (data-cc-staff) keep their fonts and 0.5rem. - The shared ChurchFooter on public pages when Accounts is connected (terms and cookie settings below it); header links to the church's other sites. - @crosscode/ui 0.3.0: ChurchFooter takes `bottom`. - Tests: tests/churchProfile.test.ts (8); e2e/church-brand.spec.ts and a /test/profile hook on the e2e Accounts. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@crosscode/ui
Shared UI for the products a church's members see: the branded shell, cards, buttons, form fields and notices. First used by Accounts' sign-in and account pages (phase 3); the Church Website and App build on it (phases 5 and 6).
- Plain React + Tailwind, no runtime dependencies. Apps compile the source
(
transpilePackages: ["@crosscode/ui"]innext.config.ts) and addpackages/ui/src/**/*.{ts,tsx}to their Tailwindcontent. - The church's colour comes from the CSS variables
--brandand--brand-dark(r g b), which each app sets fromcrosscode.church/1(Tailwind colourbrand).