First, what this is. Hair Guardian (发量守护, fàliàng shǒuhù — roughly, "hair guardian") is a hair-loss check-in mini program. There are only two daily actions: did I take my medication, and how many hairs did I lose.
Check in on the home tab; log hair counts, diet and exercise on the record tab; adherence and trends on the stats tab; diet, exercise, training and photo comparison on the health tab; reminders, medication management and data export on the profile tab.
The second visual pass (v2) changed six things. The primary colour did not move.
Start with who the user is, because that decides the direction
Most people using this app are in the middle of hair-loss anxiety.
That constrains the design more than you would expect. They need serious medication management — dosage, adherence, reminders; getting it wrong has consequences. And they are extremely easy to demoralise with a fluctuating number. Twelve hairs yesterday, twenty today is not "normal variance" to someone already anxious. It is "is this even working".
So v2's direction was not more decorative but more restrained, credible and warm. Those three words sound like filler; here is what they turned into.
Six changes, and the primary colour untouched
v1's problem was not that it looked bad. It was that it had no hierarchy: everything that wanted to be noticed was crowded onto the same two greens. The primary button was green, progress was green, tips were green, trends were green — so nothing actually stood out.
The six changes in v2:
- Header: single gradient → layered soft-light bloom
- Colour: only 500 / 600 → full 50–900 ramp, plus a misty-blue secondary
- Shadows:
.12double shadow → layered soft shadow + 1px inner stroke, hairline dividers de-emphasised - Numbers: bare large digits → tuned weight and letter-spacing + progress ring / sparkline
- Status: colour alone → icon + text + colour, triple-encoded
- Icons: mixed styles → one 1.5px stroked rounded line set
Same primary colour, one new secondary
Emerald is the green users already recognise, so it stays put — it is the trust anchor. But its job got narrower: it is now reserved for primary action only. Buttons, progress rings, selection indicators, the checked-in state.
The new misty blue carries insight: tip cards, trend sparklines, photo comparison, statistical figures. Everywhere the app wants to show you progress.
The rule in one line: primary action is always emerald; insight and tips go to misty blue. Users can tell what is tappable and what is merely information without reading a word.
The polish is in the details, not in ornament
Each of these is trivial on its own:
- The header went from one hard gradient to several extremely low-opacity soft-light layers (one emerald, one misty blue), which gives it a little breathing room.
- Cards moved to a layered soft shadow (a 1px near shadow plus a 4px far shadow) with a 1px inner stroke, and the dividers were pulled back. The information reads looser, and no longer relies on lines to separate itself.
- Spacing was unified onto a 4rpx ladder, so card padding and block gaps stopped being decided case by case.
- Icons were unified into a 1.5px stroked rounded line set. The preview uses emoji as placeholders; they get replaced at implementation time.
Ornament is addition. Restraint is subtraction. v2 is mostly subtraction.
Key metrics don't dump bare numbers
v1's stats tab was a wall of large numbers. Big, but they never told you whether the number was good or bad.
v2 gives every key metric a shape: adherence gets a progress ring, average daily hair loss gets a sparkline, the last seven days get bars with a line laid over them. The large digits themselves were retuned — negative letter-spacing, with tabular-nums so digit counts stay aligned.
Numbers answer "how much". Shapes answer "which way is this going". Anxious people need the second one more.
Status cannot ride on colour alone
This was v1's most practical problem: "due" and "missed" were close enough in colour that colour-blind users could not separate them, and neither could anyone else in bright sunlight.
v2 encodes status three ways — icon, text and colour all say the same thing, so removing any one channel still leaves it readable:
- ✓ white tick on green = taken
- ! white bang on amber = due
- ! amber bang in an amber ring on white = missed
The calendar dots work the same way: green for checked in, amber for missed, blue for a photo, with a legend.
Accessibility is a constraint, not a finishing pass
v2 treats it as a design premise rather than something bolted on at the end:
- Every semantic text colour moved down to the 700 step (emerald-700 / sky-700 / amber-700 / red-700), giving body contrast ≥ 4.5:1 (WCAG AA). Using the 500 step directly as text colour is not enough.
- White-on-colour buttons are filled with emerald-700.
- Input borders were raised to
border-strong(#C9CED6) for ≥ 3:1 non-text contrast; the focus ring is emerald-600. - Motion is capped at ≤320ms of slight displacement, and fully disabled for users who set
prefers-reduced-motion.
Shipping it: tokens into WXSS
The mockup is in px (at 375pt, 1rpx = 0.5px), and implementation multiplies by two back into rpx. So v2 also folded every value into a token set — colour ramp, type scale, radii, shadows, spacing, motion duration and easing — mapped one row at a time onto WXSS.
The payoff is direct: change one place, the whole app follows. The day the primary colour moves off emerald, you edit the --em-* group rather than hunting for green across dozens of pages.
One opinion
For a product that is meant to accompany someone, the goal of the visuals is not to impress. It is to make them willing to come back tomorrow.
The biggest enemy of a check-in app is interruption: miss one day, then stop opening it. Every decision in v2 — never letting colour carry status alone, drawing trends as shapes, writing tips as suggestions rather than warnings, keeping motion nearly invisible — does the same job: lowering the odds that someone does not want to open it today.
The whole version in one line: make every check-in feel like being caught, gently but firmly.