Design system v1
One system for the booking app, the landing page and the dashboard.
Warm, exact, unhurried. Every value below is a token in doppio.css. The dashboard maps the same colours into its shadcn theme.
Principles
Say the thing
Name the service in plain words. A number beats an adjective.
Pour, don't bounce
Things rise, fill and settle. Motion explains a change and then rests.
Warm paper, dark ink
Cream grounds, espresso text, one copper accent per screen. No violet, no gradients.
Wordmark and icon
Fraunces 600 for the word. The mark is two overlapping circles: the double. Clear space equals the circle's radius. Minimum mark size 20px. Never recolour the circles, add shadows or place on photography without a cream or espresso plate.
Colour
Dashboard (shadcn) mapping
| shadcn variable | Doppio token |
|---|---|
--primary, --chart-1 | copper |
--background | paper |
--secondary, --muted, --accent | crema |
--sidebar | ink |
--ring, --chart-2 | steam |
--success, --chart-3 | leaf |
--destructive | brick |
Contrast: ink on paper 16:1. Muted on paper 5.8:1. White on copper 5.3:1. Steam is a highlight, never text on paper. Use leaf for confirmed, brick for destructive, nothing else carries status.
Type
A barista, booked.
Pick a day, see who is free, get a fixed price. Confirmed in about two minutes.
| Token | Size | Use | Sample |
|---|---|---|---|
--t-4xl | 44 to 84 | Landing hero | See specimen above |
--t-3xl | 39 to 61 | Section heads | Aa |
--t-2xl | 39 | Page titles | Aa |
--t-xl | 31 | Stat values | Aa |
--t-lg | 25 | Card titles | Aa |
--t-md | 20 | Lead text | Aa |
--t-base | 16 | Body, buttons | Aa |
--t-sm | 14 | Labels, meta | Aa |
--t-xs | 12 | Overlines | Aa |
Ratio 1.25. Display line height 1.05 to 1.1, body 1.55. Prices and times use tabular numerals (.num).
Imagery and icons
Icons
Lucide in the dashboard: 1.5px stroke, round caps, 16 or 20px. The three setups have their own line drawings, same stroke, copper on hover.
Imagery
Product UI leads on the landing page. When photography arrives: natural light, hands and equipment in use, a warm grade, no staged smiles. Never a caption under a picture. Photos sit on a crema or espresso plate, square or 14px corners.
Accessibility
- Focus ring: 3px ink, 3px offset (steam on dark grounds). Steam alone fails contrast on paper.
- Tap targets are 44px tall on touch screens, chips and small buttons included.
- Nothing that moves for more than 5 seconds goes without a pause button. Reduced motion shows the final state.
- Colour never carries status alone: every status chip has a word.
Spacing, radius and shadow
Components
Buttons
Chips and status
Fields
Booking row, stat, toast
Motion
Easing cubic-bezier(.2,.8,.2,1). Press 150 ms, state 250 ms, entrance 600 ms. Under prefers-reduced-motion everything rests and the final state shows.
Voice and copy
A friendly head barista who also keeps a tidy diary. Warm, exact, a little dry.
Say this
- Book a barista for your next event.
- Confirmed in about two minutes.
- Booked. Ines will arrive at 8:30 am to set up.
- That time is taken. Ines is free at 11:00 am.
- Nothing booked yet. Pick a date and we will show who is free.
Not this
- Elevate your gatherings with crafted coffee.
- Brew-tiful news!
- Oops! Something went wrong.
- Submit
- No data available.
| Where | Rule | Example |
|---|---|---|
| Buttons | Verb and object | Reschedule booking |
| Headlines | Name the thing, one idea | Three steps, no phone tag |
| Errors | Name the fix | Pick a day after today. |
| Empty states | Offer the next step | Nothing booked yet. |
| Punctuation | No em-dashes; commas, colons, full stops | Cart: up to 60 guests. |