- Events: the Accounts profile's name, logo, icon, colours and contact details win over Events' own settings while Accounts is connected (pages, emails, WhatsApp, PDFs); Settings shows them read-only with a link to Accounts. The Accounts logo is copied for PDFs (PNG and JPEG). Fixes Events keeping its old church after a demo scenario load. - Website: a background per homepage section in the church's colours; "More info" instead of "Register" for events without registration; the shared colour field. - Accounts: the shared colour field in Church profile. - @crosscode/ui 0.4.0: ColourField and isHexColour. 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).