Xiaohongshu

Identity

Media & Consumer

Bundled OpenDesign package for Xiaohongshu, derived from curated DESIGN.md, tokens.css, and components.html fixtures.

Typography

Ag
PingFang SCDisplay600
Ag
PingFang SCBody
Ag
ui-monospaceMono
--text-4xl · 32pxThe quick brown fox
--text-3xl · 28pxThe quick brown fox
--text-2xl · 24pxThe quick brown fox
--text-xl · 20pxThe quick brown fox
--text-lg · 18pxThe quick brown fox
--text-base · 16pxThe quick brown fox
--text-sm · 14pxThe quick brown fox
--text-xs · 12pxThe quick brown fox

Palette

--bg#f5f5f5Page background — defines the brand canvas.
--surface#ffffffCard / lifted container background.
--surface-warm#fafafaTertiary surface tier (kami warm-sand).
--fgrgba(0, 0, 0, 0.8)Primary text color.
--fg-2rgba(0, 0, 0, 0.62)Secondary text tier (kami dark-warm).
--mutedrgba(0, 0, 0, 0.45)Subtext / captions.
--metargba(0, 0, 0, 0.27)Tertiary FG / metadata tier (kami stone).
--borderrgba(0, 0, 0, 0.08)Default border / card edge.
--border-softrgba(0, 0, 0, 0.05)Inner row separator that should not visually compete.
--accent#ff2442Brand accent. ≤2 visible uses per screen (lint enforced).
--accent-on#ffffffFG when --accent is the bg.
--success#02b940Success state.
--warn#ff7d03Warning state.
--danger#ff2442Danger state.

Also named in DESIGN.md

Brand Red — Component#ff2e4dhard-coded on .reds-button-new.primary, .active-bar, outlined-button border. Slightly pinker and marginally l…
Star Yellow#fdbc5fbookmark / collect-active icon fill (sampled from <symbol id="collected"> SVG). Only place yellow is allowed.
Opaque Separator#eaeaeaopaque-separator. When a real solid border is needed.
Info#3d8af5info / --color-blue. Almost never appears in consumer flow.
Link#133667link. Deep navy, not a typical link blue. In practice, brand red is used for emphasis instead.
Search Hotspot Hint#ff25430%, #FF5225 100%)) — --search-hotspot-hint. Trending-search badge only.

Imagery & layout

Radius

--radius-sm8px
--radius-md12px
--radius-lg16px
--radius-pill9999px

Spacing

--space-1 · 4px
--space-2 · 8px
--space-3 · 12px
--space-4 · 16px
--space-5 · 20px
--space-6 · 24px
--space-8 · 32px
--space-12 · 48px

Elevation

--elev-raised

Layout

Layout rules

Component kit