SH:24 DESIGN.md 設計系統與風格指南
HealthProv1.0.0 (最新)A calm, clinical-yet-friendly NHS sexual health service built on bright turquoise, deep navy ink, a pill-shaped dark CTA, and generous 24px rhythm.
你可以免費閱讀 SH:24 的完整設計敘述與最多 8 色主色票。升級 Pro 即可取得全部 85 個設計 Token、完整 DESIGN.md 原始檔下載與 1 個歷史版本。
升級 DesignMD Pro,將所有色彩複製為 :root CSS variables、檢視元件 Token 引用關係,並下載完整原始檔。
設計指南
Overview
SH:24 is a UK NHS-regulated sexual health service, and the site is designed to feel reassuring rather than clinical. The dominant impression is a single, saturated turquoise (#71dcdf) used as a full-bleed hero field, paired with deep navy ink (#192233) for every piece of text and for the primary call to action. The result is high contrast and unambiguously legible without ever feeling like a hospital form. Display type is set in Ambit — a soft, slightly quirky geometric serif-ish face used only at 500 weight — while DM Sans carries the entire interface at 400, 500, and 700.
Layout is a wide 1200px column on a 24px base rhythm, with the hero's turquoise block sweeping down into a soft off-white (#f5f7f8) curve. An eligibility panel in pale cyan (#b8eeef) sits over that seam with an 8px radius and a gentle ambient shadow. Iconography is simple line work, and photography is absent from the fold — the page leans on flat color blocks, type, and generous whitespace to feel safe and modern. Interactions are minimal: transform-only hover lifts and a slide-in mobile drawer.
Colors
- primary
#71dcdf— the signature turquoise. It fills the entire hero field and the first service card, and it is the only saturated hue on the page. - on-primary
#192233— navy ink used on turquoise; the pairing measures roughly 9.8:1, so it is both the brand statement and the most accessible text on the site. - primary-container
#b8eeef— pale cyan, used for the eligibility/availability panel that overlaps the hero seam. - secondary
#c0ced0— a muted teal-gray used for quieter secondary surfaces and dividers. - tertiary
#ffb1bb— a pale pink reserved for a single accent surface, keeping the palette from becoming monochrome teal. - surface
#ffffff— page and card background, and the mobile drawer fill. - surface-dim
#f5f7f8— the cool off-white used behind the hero curve and as the input field fill. - surface-inverse
#192233— the deep navy used for the primary button, the "Check" button border, and all body ink. One color does double duty as both the darkest surface and the default text color. - outline
#d9e1e2— the hairline separating nav drawer rows. - outline-variant
#192233— the 2px navy border that rings the primary button, giving it a slightly outlined, tactile quality.
Typography
Two families, cleanly separated by role. Ambit (weight 500 only) handles every heading — the 54px hero, 30px section titles, 20px card titles — all at a tight 1.1 line-height, which is what gives the headlines their dense, confident character. DM Sans handles everything else: 16px/400 body copy at a comfortable 1.5 line-height, 14px for secondary copy, 16px/500 for nav links, buttons, and labels, and 16px/700 for utility actions like "Manage cookie consent". There is no uppercase treatment anywhere; sentence case is used throughout, including the h1 "Sexual health 24 hours a day".
Layout
The grid is a single 1200px centered column with a 24px base spacing unit — 4px, 8px, 12px, and 24px dominate the measurements, with 48px and 96px used for section breathing room. The mobile drawer is a full-height white panel with rows separated by #d9e1e2 hairlines and 24px row padding. The hero occupies the top of the viewport and its turquoise field bleeds to the right edge, then curves down into the off-white section below; the eligibility panel straddles that curve, overlapping by roughly 50px. Service cards run as a horizontal grid, the first card carrying the turquoise fill and the rest staying transparent.
Elevation & Depth
Depth comes from one shadow only: rgba(49,55,56,.35) 0 4px 15px 0, applied to the turquoise service card and a handful of floating panels. It is a soft, diffuse, slightly cool shadow that reads as a lifted card rather than a glow. Everything else is flat — buttons, inputs, and the drawer rely on fills, borders, and color contrast. The navy 2px border on the primary button supplies its own sense of physical edge without any shadow.
Shapes
The radius ladder is short and rounded: 4px for inputs, 8px for cards and the eligibility panel, 12px for smaller containers, and a pronounced 30px for buttons — which at a 52px button height reads as a full pill. Round icon buttons use 50%. The overall impression is soft and approachable, deliberately chosen for a health service where sharp corners would read as institutional.
Motion & Micro-interaction
Motion is transform-only and very short: a 250ms ease transform for hover lifts on cards and buttons, a 200ms ease-out transform for the mobile drawer sliding in, and a 100ms ease transform for the pressed state. No color fades, no opacity transitions, no scroll-driven animation. The hero's turquoise curve is a static SVG-ish shape, not an animated one.
Voice & Content Strategy
The copy is plain, warm, and direct — written to reduce anxiety. The hero states the service plainly ("Sexual health 24 hours a day") with a three-word reassurance right underneath ("Free, discreet and confidential"), and the CTA is a single imperative sentence: "Order a free STI test now". Navigation is blunt and unhyped ("STIs", "Contraception", "PrEP HIV prevention", "Help centre"), and service descriptions lead with the practical fact — "No appointment needed — test at home for the most common STIs" — before any selling. Trust is established by naming the regulator in the meta description ("Regulated by the Care Quality Commission") rather than with badge walls. Everything is sentence case, contractions are used ("Let's talk about sexual health"), and nothing is shouted.
Components
- button-primary — the hero CTA. Navy fill, 2px navy border, 30px radius, 52px tall, 16px/500 white DM Sans label, 12px vertical by 24px horizontal padding, and a trailing arrow glyph inside a circular cutout. Hover lifts on the transform axis.
- button-primary-compact — the same treatment at 49px tall, used for the "Check" action inside the eligibility panel.
- button-icon — a round 36px white button with navy ink, 4px padding, used for the search-field clear action.
- button-quiet — a borderless text action, 16px/700 navy label, 24px padding, 48px tall, used for utility links like "Manage cookie consent".
- input-default — 48px tall, 4px radius,
#f5f7f8fill, 16px/400 navy label. The postcode and age fields in the eligibility panel use exactly this. - card-brand — the turquoise service card: 8px radius, 24px top padding with 12px side padding, 430px tall, holding a 20px/500 Ambit title, 16px/400 DM Sans body, and a link. Carries the single ambient shadow.
- panel-eligibility — the pale cyan availability panel: 12px radius, 24px padding, an Ambit 20px heading ("How can we help you today?"), and two inputs plus a compact primary button in a row.
- nav-drawer — the full-height white mobile drawer: 24px row padding, rows separated by
#d9e1e2hairlines, 16px/400 navy labels with chevron affordances on section rows and a right-arrow on the account row.
Do's and Don'ts
- Do use
#71dcdfas a large flat field, not as a small accent — the turquoise only works at scale. - Don't put white text on turquoise; always use the navy
#192233for anything sitting on the brand color. - Don't use Ambit below 20px or above 54px; it is a display face at 500 weight only.
- Don't add a second saturated hue — the pale pink exists for a single surface and should stay there.
- Do keep buttons at a 30px radius with the 2px navy border; that outline is part of the button, not decoration.
- Don't add shadows to inputs or buttons; the one ambient shadow belongs to floating cards and panels.
- Do keep the 24px spacing rhythm and cap content at 1200px.
- Don't use uppercase or letter-spacing anywhere in the interface.
- Do keep motion to transform-only transitions under 300ms.
- Don't introduce photography into the hero — the flat turquoise field is the brand's signature image.
如何在 AI Agent 中使用 SH:24 的 DESIGN.md
取得 SH:24 的 DESIGN.md
存取 https://www.designmdpro.app/websites/sh24.md 或透過 DesignMD Pro MCP 伺服器以 slug "sh24" 呼叫 get_design_md 工具以取得公開版本。完整 token 集合需訂閱 Pro。
將其儲存為專案根目錄中的 DESIGN.md
將檔案放在 AGENTS.md 或 CLAUDE.md 旁,讓 Claude Code、Cursor、Codex 與其他程式開發 Agent 能夠讀取。
請你的 Agent 遵循該規範
例如:「請依照 DESIGN.md 中的 SH:24 設計系統建構設定頁面,使用其中的色彩、字型與間距 tokens。」
SH:24 風格 AI 提示詞
請依照 SH:24(sh24.org.uk) 的 DESIGN.md 設計系統,以相同的視覺風格建構一個響應式到達頁。
## 色彩
- error: #BA1A1A
- outline: #D9E1E2
- primary: #71DCDF
- surface: #FFFFFF
- on-error: #FFFFFF
- tertiary: #FFB1BB
- secondary: #C0CED0
- on-primary: #192233
## 字型
- body-lg: "DM Sans", 16px, weight 400, line-height 24px
- display: "Ambit", 54px, weight 500, line-height 59.4px
## 圓角
- lg: 12px
- md: 8px
- sm: 4px
## 規則
- 背景、文字、邊框與強調色僅使用上述色彩,請勿自行發明新顏色。
- 所有文字皆套用上述字型樣式,並維持其字級與字重層級。
- 圓角與間距請取自上述比例尺,確保各元件外觀一致。
完整 DESIGN.md:https://www.designmdpro.app/websites/sh24.md在 v0 提示詞產生器中自訂 →常見問題
SH:24 的主色是什麼?
SH:24 的品牌主色為 青色(#71DCDF),其 DESIGN.md 共定義了 18 個色彩 tokens。
SH:24 使用什麼字型?
SH:24 的主要字型為 DM Sans 與 Ambit。
DM Sans 是免費字型嗎?
是的。DM Sans 是免費開源字型,可在 Google Fonts 上取得。
如何在 Tailwind CSS 或 shadcn/ui 中使用 SH:24 的 design tokens?
本頁已公開 SH:24 的主色(#71DCDF)。產生完整的 Tailwind 或 shadcn 主題需要完整的 DESIGN.md,可透過 DesignMD Pro 取得。
這份 SH:24 DESIGN.md 是官方發布的嗎?
不是。此檔案由 DesignMD Pro 擷取自公開的 sh24.org.uk 網站,與 SH:24 無任何關聯亦未獲其背書。
SH:24 的 DESIGN.md 最後一次更新是什麼時候?
版本 1.0.0 擷取於 2026年11月28日。
SH:24 及其商標均歸各自所有者所有。DesignMD Pro 為獨立專案,與 SH:24 無任何關聯亦未獲其背書;此 DESIGN.md 擷取自公開網站,僅供參考。