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 ✓):
- 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;amberreused for attention). shadow-soft/shadow-soft-lgfor borderless soft elevation.
- 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.
- Plus Jakarta Sans
- Mockups imported to
docs/02 - ARCHITECTURE_DESIGN/assets/calmcare/(14 screens incl. mobile + desktop + the design-system board). - Canonical doc
03-DESIGN-SYSTEM.mdcreated (fills the documented gap indocs/00-INDEX.md).
What remains (Phases 1–6)
Section titled “What remains (Phases 1–6)”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.
Guardrails (from .cursor/rules/rules.mdc)
Section titled “Guardrails (from .cursor/rules/rules.mdc)”- 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:strictbefore marking a screen done. - No Cursor Canvas artefacts (project policy).
First task for the next session
Section titled “First task for the next session”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.