Design System v2.0
DenSa
Living Health Journal. Personal & Family Health Passport.
Color System
Warm, healthy, alive. Inspired by Apple Health.
Signature Gradient
--health-gradient: #0A84FF to #30D158
Core
#0A84FF Primary
#E8F4FD Primary Soft
#FFFFFF Surface
#F2F2F7 Secondary
#E5E5EA Tertiary
#F2F2F7 Background
Text
#1C1C1E Primary
#636366 Secondary
#C7C7CC Tertiary
Health Zones
#30D158 Optimal
#FFD60A Attention
#FF9F0A Warning
#FF3B30 Critical
Category Colors
Vitals
Medication
Wellbeing
Vaccination
Lab
Document
Event
Allergy
Accent
#FF6B6B Coral
#36D1A0 Mint
Typography
SF Pro system stack. Clear hierarchy from hero data to footnotes.
Take 1 tablet with food in the morning.
Your glucose is within the normal range.
Last measured: 2 hours ago
Spacing Scale
Base unit: 4px. Consistent rhythm across all components.
Border Radius
Large, rounded, modern. No sharp corners.
Depth & Shadows
No visible borders on cards. Shadows only. Subtle and layered.
Buttons
Gradient primary. Clean secondary. All with 14px radius and 50px height.
Standard Buttons
Small Buttons
Icon Buttons
Input Fields
No visible border by default. Subtle background. Focus reveals primary ring.
Badges & Chips
Health zone badges and interactive selection chips.
Health Zone Badges
Normal
Borderline
Needs Attention
Critical
Scheduled
Category Chips
All
Vitals
Medications
Vaccinations
Labs
Avatars
Family member identity. Gradient backgrounds by member.
Signature Components
Living Health Journal
The visual building blocks that make DenSa feel like a premium health platform.
1. Health Ring
Apple Health inspired circular progress. Gradient stroke, rounded linecaps.
2. Zone Indicator Bar
Shows where a measurement value falls within health ranges. Marker dot indicates current position.
Systolic Blood Pressure
Body Temperature
Low
Normal
Fever
High Fever
3. Trend Sparkline with Zone Background
Mini line chart with colored background zones. Green band = normal range.
Blood Glucose (7 days)
Mon
Tue
Wed
Thu
Fri
Sat
Sun
4. Health Summary Tile
Card with icon, metric, large value, sparkline, and trend. Category-colored top bar.
Blood Pressure
125/82
mmHg
5. Family Member Pill
Horizontal pill selector for switching between family members. Active state fills with gradient.
6. Passport-Style Card
Child health passport as a beautiful digital document. Gradient accent, photo area, data grid.
Date of Birth
15 June 2023
Vaccinations
3 of 5 complete
Pediatrician
д-р Нурлан К.
Clinic
City Polyclinic #7
7. Timeline Spine
Vertical spine connecting health events. Colored dots, dashed connector, inline dates.
March 17, 2026
Blood Pressure Measurement
125/82 mmHg — Slightly elevated
March 15, 2026
Medication Taken
Vitamin D3 — 1000 IU morning dose
March 10, 2026
DTP Vaccination (Dose 3)
City Polyclinic #7 — д-р Нурлан К.
March 8, 2026
Wellbeing Check-in
Mood: Good, Sleep: 8 hours, Energy: High
March 5, 2026
Allergy Alert
Seasonal rhinitis — symptoms recorded
8. Vaccine Schedule Timeline
Horizontal progress showing dose completion. Green = done, outlined = upcoming, red border = overdue.
DTP Vaccine Schedule
Diphtheria, Tetanus, Pertussis
9. Wellbeing Face Selector
Custom illustrated faces with gradient backgrounds. 5 states from struggling to great.
How are you feeling today?
10. Stat Comparison Card
Shows current vs previous period with change indicator and mini visualization.
Navigation
Bottom tab bar with gradient floating action button. 5 tabs with the center "Add" raised.
Composite: Dashboard Preview
How the components come together in a real screen.
March 17, 2026
Good Morning
Aidar's health overview
Blood Pressure
125/82
Elevated
Medications
2/3 taken
1 remaining
DTP Dose 4 — Overdue
Was scheduled for Feb 15, 2026
Overdue
Token Reference
All CSS custom properties at a glance. Copy-paste ready.
| Token |
Value |
Usage |
| --health-primary |
#0A84FF |
Primary actions, links, active states |
| --health-gradient |
135deg, #0A84FF to #30D158 |
Primary buttons, rings, hero elements |
| --zone-optimal |
#30D158 |
In range, healthy, completed |
| --zone-attention |
#FFD60A |
Borderline values |
| --zone-warning |
#FF9F0A |
Needs attention |
| --zone-critical |
#FF3B30 |
Out of range, critical, destructive |
| --shadow-card |
0 2px 12px rgba(0,0,0,0.06) |
Default card elevation |
| --shadow-elevated |
0 8px 24px rgba(0,0,0,0.08) |
Floating elements, dropdowns |
| --radius-card |
16px |
All card containers |
DenSa Design System v2.0 — Living Health Journal
Personal & Family Health Passport