Files
crosscode-platform/packages/ui/package.json
T
joshuaandClaude Opus 5.5 f4b6a41f83 Events 3.7.0 + @crosscode/ui 0.3.0: the church's fonts, corners and footer on the public pages
- 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>
2026-11-24 23:29:23 +02:00

43 lines
1.3 KiB
JSON

{
"name": "@crosscode/ui",
"version": "0.3.0",
"private": true,
"description": "Shared UI for the church's sign-in pages, Website and App: the branded shell, forms and buttons, the church's fonts and footer (Tailwind; apps compile the source with transpilePackages)",
"main": "src/index.tsx",
"types": "src/index.tsx",
"exports": {
".": "./src/index.tsx",
"./fonts.css": "./fonts/fonts.css",
"./package.json": "./package.json"
},
"files": [
"src",
"fonts"
],
"scripts": {
"fonts": "node scripts/fonts.mjs",
"test": "node scripts/fonts.mjs --check"
},
"peerDependencies": {
"react": ">=19"
},
"dependencies": {
"@fontsource-variable/dm-sans": "5.3.0",
"@fontsource-variable/eb-garamond": "5.3.0",
"@fontsource-variable/fraunces": "5.3.0",
"@fontsource-variable/inter": "5.3.0",
"@fontsource-variable/lora": "5.3.0",
"@fontsource-variable/nunito": "5.3.0",
"@fontsource-variable/nunito-sans": "5.3.0",
"@fontsource-variable/oswald": "5.3.0",
"@fontsource-variable/outfit": "5.3.0",
"@fontsource-variable/playfair-display": "5.3.0",
"@fontsource-variable/source-sans-3": "5.3.1"
},
"devDependencies": {
"@crosscode/contracts": "*",
"@capsizecss/core": "4.1.3",
"@capsizecss/metrics": "4.5.0"
}
}