Design system
Kweli consumes the Mzizi design system. Its brand mineral is Malachite, as Mzizi’s brand-minerals table and GET https://api.mzizi.dev/v1/brand give it (brand minerals); color is a role contract, picked by what a surface is responsible for, not by aesthetics.
Venue listing card
Section titled “Venue listing card”The venue listing card is the Mzizi nyuchi-place-card row variant, which extends nyuchi-listing-card:
- 4px mineral accent bar on the leading edge
- 14px card radius
- 48px thumbnail with a map-pin placeholder when no photo exists
- Category pill
- Verified badge inline with the venue name (the
nyuchi-verified-badgecontract — see Verification) - Locality + distance meta line
- Gold-star rating rail
Mineral tokens
Section titled “Mineral tokens”Mineral colors are CSS custom properties, themed for both light and dark:
--color-malachite /* primary — Kweli's brand mineral */--color-cobalt /* links, information and focus; never primary */--color-gold /* accent */--color-terracotta /* destructive */Pick the mineral by role. The verification badge tiers are a separate scale, Mzizi’s trust tokens: Terracotta → Cobalt → Gold → Tanzanite in ascending trust order, whatever the brand mineral.
Admin dashboard density
Section titled “Admin dashboard density”The admin dashboard uses the Mzizi 4.2.0 compact density scope (.density-compact) — smaller controls and tighter spacing. Dense controls are drawn smaller but keep the full hit area: 45px on touch and 24px on desktop, per the Bundu floor. Compact density is internal-only; public venue pages keep the default density.
Homepage ordering
Section titled “Homepage ordering”Homepage venues are ordered nearest-first via a Mongo $near query:
- The cached page renders with a deterministic Harare anchor, so the server-rendered result is stable and cacheable.
- If the browser already has geolocation permission granted, the list silently refines via
/api/venueswith the user’s real coordinates — no permission prompt, no layout jump for users who declined.