I-Digi Care / Design system / Foundations

Case study 08, design system

The system behind I-Digi Care.

While designing I-Digi Care, I collected the colours, type and parts every screen used, removed the duplicates, and turned them into a system the whole product can share. Try the switch at the top: every colour on this page is a variable, so the whole page changes theme.

Typeface
Inter
Built from
The I-Digi Care product screens
Themes
Light and dark
Status
In progress, with the product

01 · WHAT I FOUND

Good screens, inconsistent parts.

The screens were designed fast, for client reviews. Looking across all of them, the same job was often done by slightly different colours, corners and icons. I counted them, then chose one answer for each job.

Near-black text colours

41

Pale blue backgrounds

52

Corner sizes

135

Icon styles

21

02 · COLOUR

Two layers: raw colours, then named jobs.

Raw colour ramps hold every shade. Screens never use them directly: they use named variables like text/primary, which point to a different shade in light and dark. Change the variable once, and every screen follows.

Blue

25

#F4FBFF

50

#E6F3FC

100

#CDE6FA

200

#A6CEFB

300

#80C2F0

400

#4D9BE6

500

#1A7AD9

600

#0066CC

700

#0052A3

800

#003D7A

900

#002952

Grey

25

#FDFDFD

50

#FAFAFA

100

#F5F5F5

200

#E9EAEB

300

#D5D7DA

400

#A4A7AE

500

#717680

600

#535862

700

#414651

800

#252B37

900

#181D27

950

#0C0E12

Slate

50

#F2F3F9

100

#E0E2F1

200

#C6CAE5

300

#A8ADD8

400

#888DC6

500

#746D96

600

#4D4768

700

#3A364F

800

#2A2740

Success

50

#ECFDF3

500

#12B76A

600

#039855

700

#027A48

900

#053321

Warning

50

#FFF6ED

500

#FB6514

600

#EC4A0A

700

#C4320A

900

#511C10

Error

50

#FFF1F3

500

#F63D68

600

#E31B54

700

#C01048

900

#4E0D1E

Dot = measured from the I-Digi Care screens. The rest I added to complete each ramp.

Named colours, light and dark

NowVariableUsed forLightDark
bg/page Behind everything #FAFAFA#0C0E12
bg/surface Cards, tables, panels #FFFFFF#181D27
bg/raised Menus, popovers, modals #FFFFFF#252B37
bg/hover Row and button hover #F5F5F5#252B37
bg/brand-subtle Selected rows, active filters #E6F3FC#0F2A47
bg/disabled Disabled fields and buttons #F5F5F5#252B37
text/primary Headings and main text #181D27#F5F5F5
text/secondary Supporting text #535862#C3C6CC
text/tertiary Hints, meta, table headers #62666F#A4A7AE
text/disabled Disabled labels #A4A7AE#717680
text/brand Links and brand text #0052A3#80C2F0
text/on-brand Text on brand buttons #FFFFFF#FFFFFF
border/default Dividers, card edges #E9EAEB#252B37
border/strong Secondary buttons, checkboxes #D5D7DA#414651
border/input Form field outlines #8E9198#6C717C
brand/solid Primary buttons, active states #0066CC#0066CC
brand/hover Primary button hover #0052A3#0052A3
brand/pressed Primary button pressed #003D7A#003D7A
focus/ring Keyboard focus outline #0066CC#80C2F0
success/text Done, paid, saved #027A48#4ADE9A
success/bg Success chips and banners #ECFDF3#053321
success/solid Success icons and dots #039855#12B76A
warning/text In progress, low stock #C4320A#FD9A5E
warning/bg Warning chips and banners #FFF6ED#511C10
error/text Errors, allergies #C01048#FD8AA6
error/bg Error chips and banners #FFF1F3#4E0D1E
error/solid Destructive buttons, alert icons #E31B54#E31B54

Readability check

I checked 26 text and background pairs, in both themes, against the WCAG accessibility standard. All 26 pass. A few of them:

text/tertiary on bg/surfaceLight 5.8 : 1Pass
text/tertiary on bg/surfaceDark 7.0 : 1Pass
text/on-brand on brand/hoverLight 7.7 : 1Pass
text/on-brand on brand/hoverDark 7.7 : 1Pass
text/on-brand on error/solidLight 4.6 : 1Pass
text/on-brand on error/solidDark 4.6 : 1Pass
border/input on bg/surfaceLight 3.2 : 1Pass
border/input on bg/surfaceDark 3.4 : 1Pass
DECISIONFour near-blacks were used for text. I kept one, Grey 900, as text/primary. Five pale blues became Blue 25 and Blue 50 only.
DECISIONThe first check failed in three places, so I fixed them: input borders were too faint to see (now a darker grey that passes 3 : 1), and two dark-theme buttons were made deeper so white text stays readable.

03 · TYPOGRAPHY

Inter, in ten sizes, each with one job.

These are the sizes the screens already used. I named each one, paired it with a line height, and fixed its weight, so a label always looks like a label.

Display 36 / 44Bold
Heading 1 24 / 32Bold
Heading 2 20 / 28Semibold
Heading 3 18 / 28Semibold
Body large 16 / 24Regular
Body 14 / 20Regular
Label 14 / 20Semibold
Small 12 / 18Regular
Caption 11 / 16Medium
Micro 10 / 14Medium

Do

Use Body (14) for table cells and forms, the most-read text in the product.

Don’t

Go below Caption (11) for anything a doctor or pharmacist has to read.

04 · SPACE, CORNERS, DEPTH

One scale for space, five corners, five shadows.

Spacing follows steps of 4. Corners and shadows are a short fixed list, so every card, menu and modal sits at a predictable depth.

Spacing

4
8
12
16
20
24
32
40
48
64

Corner radius

xs · 4

Checkboxes, small tags

sm · 8

Buttons, inputs

md · 12

Cards, tables, menus

lg · 16

Modals, side panels

full · pill

Chips, avatars, toggles

DECISIONThirteen different corner sizes were in use. I reduced them to five, each tied to a kind of component, so nothing needs to be guessed.

Shadows

shadow/xs

Inputs, buttons

shadow/sm

Cards

shadow/md

Dropdowns

shadow/lg

Popovers, patient card

shadow/xl

Modals

Background blur

Upload reports

The page behind a modal is dimmed and blurred by 8px, so focus stays on the task.

05 · ICON THEORY

Outline icons on a 24px grid.

Every icon is drawn on a 24px square with 2px of breathing room, using a 1.5px rounded outline. Healthcare needs its own set: vitals, medicine, lab tests, queue tokens.

The dashed line is the 20px live area. Lines stay 1.5px at every size, corners are rounded, and icons inherit the text colour around them.

16px · inside chips and dense tables
20px · inside buttons and inputs
24px · navigation and headers

Home

Calendar

Queue token

Family

Stethoscope

Vitals

Medicine

Lab test

Bill

Alert

Scan QR

Search

DECISIONFilled and outline icons were mixed. Outline is now the rule everywhere; a filled icon is used only to mark the active page in the side navigation.
Part 2 of 2Components: buttons, forms, avatars and healthcare parts Open

© 2026 Yagnesh Dave · Back to the I-Digi Care case study