Files
crosscode-platform/apps/app/frontend/tailwind.config.js
T
joshuaandClaude Opus 5.5 bb36e06fa4 app: the Church App's foundation; docs for Hub 2.26.1 and two years of devotionals
apps/app (not released; app@1.0.0 is built in slices, APP-1.0-PLAN §15):
- backend (Express, Prisma, pg-boss, as the Website): the Hub client
  (CCP-, product app, the active-member band in the heartbeat), links
  and church.changed, sign-in through Accounts (everyone a Member; 8 days
  renewed up to 90; every role only with 2FA; the first Owner from
  HUB_ADMIN_EMAIL), Accounts' user.updated/export/deleted, active members
  once a day, modules on and off, GET /api/v1/app. Migration init.
- frontend (Next.js 16): header, tab bar, footer, manifest and icons from
  the church profile, service worker, Add to home screen, Me, the admin's
  first dashboard.
- env.template.json, PM2 template, README, CHANGELOG, WHATS-NEW; 27 tests.

Docs: the Hub runs 2.26.1 with two years of Cross Code's devotionals; an
App gets 2 weeks, today included. HANDOVER lists the App's slices.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-01 00:20:07 +02:00

21 lines
834 B
JavaScript

/** @type {import('tailwindcss').Config} */
// The church's colours are CSS variables set per request in layout.tsx (from its profile, made
// safe by the backend's palette, APP-1.0-PLAN §2). Each is an "r g b" triple.
const v = (name) => `rgb(var(--${name}) / <alpha-value>)`;
module.exports = {
content: ["./src/**/*.{ts,tsx}", "../../../packages/ui/src/**/*.{ts,tsx}"],
theme: {
extend: {
colors: {
brand: { DEFAULT: v("brand"), dark: v("brand-dark"), text: v("brand-text"), tint: v("brand-tint"), on: v("on-brand") },
accent: { DEFAULT: v("accent"), on: v("on-accent") },
ink: "#111827",
},
borderRadius: { cc: "var(--cc-radius, 0.5rem)", "cc-sm": "var(--cc-radius-sm, 0.25rem)" },
fontFamily: { heading: "var(--cc-font-heading, inherit)" },
},
},
plugins: [],
};