Tenant Master — Step 2: Theme & Branding

What the admin sees
- Logo — an
ImageUploadercontrol; clicking it opens the crop dialog shown below. - App Slogan Description — a tagline shown alongside the logo.
- Application Main Font — the storefront’s typography choice.
- Colors — Primary Theme Seed, Button Color, Font Color, Accent Color, Surface Color, Card Background Color, Sale Badge Color — each a hex color picker.
- Card styling — Card Corner Radius, Card Border Width, Card Elevation — numeric fields.
- Content Density — a choice of Compact, Comfortable, or Spacious.

What the admin does here
Picking a logo opens a crop dialog (react-easy-crop) with aspect-ratio choice, zoom, rotate, and flip. Confirming the crop uploads it into content-processor’s pipeline under a fixed tenant_logo transaction, keyed to the tenant’s own ID — there is only ever one logo slot, so a re-upload replaces the previous one rather than creating a new object. The dialog shows a presigned preview URL immediately, but this preview is not what gets saved into appLogoUrl: that field is only updated later, once tenant-service consumes content-processor’s completion event for the upload. “Save & Next” persists every other Theme field in this same step’s PUT /admin/api/v1/tenant/config/theme call — the logo’s own eventual-consistency does not block the rest of the step from saving.
Related Documents
- SR-025 FR-05 – FR-06 — Theme & Branding fields, async logo pipeline
- Architecture — Flow (B) — logo upload and asynchronous completion
- Technical Debt — TD-05 — no retry or admin-visible failure if the completion event is lost
- Microservices: tenant-service, content-processor
- Previous: Basic Configuration
- Next: Contact & Support