Theme rules
The clinic theme is for independent outpatient practices: family medicine, pediatrics, physical therapy, dental or urgent care. Full spec in src/themes/clinic/THEME.md.
Type
Newsreader with optical sizes for headings. IBM Plex Sans for everything people act on: body, navigation, hours, forms, tables. Use the Larger text button in the top bar to check every layout at 119%.
Display, Newsreader 460
Section heading, 2.375rem
Subhead, 1.5rem
Lede, Plex Sans 1.25rem. Once per page, under the h1.
Body, Plex Sans 1.0625rem on 1.6. Hours and prices use tabular figures: 7:30 a.m.–7 p.m., $185, (360) 555-0140.
Label, 0.875rem semibold
Palettes
Four palettes on the 60/30/10 rule. Paper is 60, the brand tone is 30 (top bar, bands, footer, headings), and the accent is 10: the Book button and a few marks. Switch with the Palette button at the bottom left.
- Harbor Calm teal on soft paper; the default
#f5f7f6 · #0f4d55 · #b5441c - Meadow Warm cream and forest, for family and pediatric practices
#f8f5ee · #2f5241 · #e0a526 - Evening Dark and low-glare for late reading
#0f1b1f · #18303a · #8fd6c8 - Clear view Maximum contrast: navy, white and signal yellow
#ffffff · #1b2a6b · #ffcc33
Tokens
These swatches read the live tokens, so they change with the palette. Urgent red is a status color, used only for 911 and ER guidance.
- Paper (60)
--bgPage background - Surface
--surfaceInputs, open panels - Ink
--inkBody text - Muted
--mutedSecondary text - Hairline
--lineRules, table borders - Brand (30)
--brandTop bar, bands, footer - Heading
--headingh1–h3 on paper - Tint
--tintToday panel, step numbers - Accent (10)
--accentBook buttons, key marks - Link
--linkLinks on paper - Urgent
--urgent911 and ER guidance only - Open
--ok“Open now” and accepting status
Page types
| Page | Required |
|---|---|
| Home | Book / call / portal actions, today’s hours with open status, sick-today and 911 guidance, services, new-patient steps, providers, insurance, locations. |
| Services | Groups with each service, where it is offered and how to book, a visit-types table, and a not-sure-what-to-book helper. |
| Patient guide | Reviewer and date, contents, checklist, call-or-ER box, related guides, medical disclaimer. |
| Provider | Photo, credentials, languages, new-patient status, locations, weekly schedule, open times, book button. |
| Locations & billing | Maps, hours tables, holiday hours, parking, transit, accessibility, plans accepted, self-pay prices, contact form with privacy warning. |
| Rules | Type, palettes, tokens, page types, do and don’t. |
Do
- Put Book, Call and Patient portal in the first screen of every page on a phone.
- Show today’s hours and whether each clinic is open now, worked out in the clinic’s time zone.
- Keep the 911 note next to any guidance about being sick, in plain words.
- Give every provider their credentials, languages, locations and new-patient status.
- Write prices, hours and wait times as numbers. Patients plan around them.
- Test every page with Larger text on, and in every palette.
Don’t
- Don’t make medical claims, promise outcomes or diagnose in guides. Link to the visit instead.
- Don’t ask for symptoms, diagnoses or record numbers in the contact form.
- Don’t use a red cross, a heartbeat line or stock photos of stethoscopes as decoration.
- Don’t hide hours or phone numbers behind a menu or a map widget.
- Don’t use the urgent red for anything but emergency guidance.
- Don’t list insurance plans you have not confirmed with each payer.