/** @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, WEBSITE-1.0-PLAN ยง3). Each is an "r g b" triple. const v = (name) => `rgb(var(--${name}) / )`; 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: [], };