Skip to content

Plan — Calm Care design system rollout

Version: 1.0.0 Last Updated: 2026-05-30 12:39:16 Status: Phase 0 complete (foundation). Phases 1–6 pending. Canonical reference: docs/02 - ARCHITECTURE_DESIGN/03-DESIGN-SYSTEM.md


The LynCareOS UI was clean but generic (cool blue/slate). “Calm Care” reimagines every screen — same functionality, warmer/more inviting/more intuitive delivery — based on 2026 care-UX research and a full set of high-fidelity mockups.

What is already done (Phase 0 — foundation)

Section titled “What is already done (Phase 0 — foundation)”

These are committed and the frontend builds clean (npm run build ✓):

  1. Design tokens in frontend/tailwind.config.js:
    • font-display = Plus Jakarta Sans (headings); font-sans = Inter (body).
    • Neutrals canvas / ink / muted.
    • Semantic palette healing / apricot / sage / coral / lilac (distinct names, no Tailwind defaults overridden; amber reused for attention).
    • shadow-soft / shadow-soft-lg for borderless soft elevation.
  2. CSS in frontend/src/index.css:
    • Plus Jakarta Sans @import.
    • :root --cc-* variables (for ECharts / SVG / JS).
    • Additive cc-* component layer: cc-card, cc-section, cc-btn-primary, cc-btn-accent, cc-btn-soft, cc-chip(-active), cc-icon-chip, cc-bottom-nav, cc-nav-item(-active), cc-status-*, cc-page-title, cc-section-title, cc-stat-number.
    • Nothing removed — legacy .card / .btn-* / brand / lyn / slate all retained so the app keeps working during migration.
  3. Mockups imported to docs/02 - ARCHITECTURE_DESIGN/assets/calmcare/ (14 screens incl. mobile + desktop + the design-system board).
  4. Canonical doc 03-DESIGN-SYSTEM.md created (fills the documented gap in docs/00-INDEX.md).

See the phased table in 03-DESIGN-SYSTEM.md §8. Order: Shell → Dashboard / Medications / Log Dose → Scripts / History / Pain / Vitals / Sleep → Calendar / Shopping / Contacts → Settings / auth → dark-mode + chart-theme + empty-state polish. One screen per PR; update the §8 status table as you go.

  • Presentation only — no data, API, or route changes. All fetches via lib/api.ts.
  • No any; mobile + desktop + dark mode each verified.
  • Re-skin existing components/ui/ primitives; do not duplicate them.
  • Run npm run build + npm run lint:strict before marking a screen done.
  • No Cursor Canvas artefacts (project policy).

Phase 1 — re-skin the shell: components/Layout.tsx, components/layout/DesktopSidebar.tsx, MobileTopBar.tsx, MobileBottomNav.tsx to cc-card / cc-bottom-nav / cc-nav-item + bg-canvas + font-display titles. Reference lyncareos-dashboard.png and lyncareos-dashboard-desktop.png.