SH:24 DESIGN.md 设计系统与风格规范
HealthPro 专属v1.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 变量、查看组件配色引用并下载完整源文件。
设计规范
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 服务器调用 get_design_md 工具(slug 为 "sh24"),即可获取公开版本;完整 tokens 需要 Pro。
保存为项目根目录下的 DESIGN.md
把文件放在 AGENTS.md 或 CLAUDE.md 旁边,Claude Code、Cursor、Codex 等编码 agent 就能读到它。
让 agent 按它来写
例如:“按照 DESIGN.md 里的 SH:24 设计系统实现设置页,使用其中的颜色、字体和间距 tokens。”
SH:24 风格 AI Prompt
参照 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 Prompt 生成器中自定义 →常见问题
SH:24 的主色是什么?
SH:24 的品牌主色是青色(#71DCDF),其 DESIGN.md 共定义了 18 个颜色 token。
SH:24 用的是什么字体?
SH:24 的主要字体是 DM Sans 和 Ambit。
DM Sans 是免费字体吗?
是的。DM Sans 是免费开源字体,可在 Google Fonts 获取。
如何在 Tailwind CSS 或 shadcn/ui 中使用 SH:24 的设计 token?
本页公开了 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 提取自其公开网站,仅供参考。