{ "schemaVersion": 1, "brandId": "xiaohongshu", "source": { "componentsHtml": "components.html", "tokensCss": "tokens.css" }, "fixture": { "title": "小红书 / Xiaohongshu — reference components", "description": "Reference fixture for design-systems/xiaohongshu. Every visible value comes from tokens.css. 小红书 / RED signature moves: grey canvas + white card masonry, PingFang SC throughout, brand red used exactly once per screen as accent, full-pill CTAs, soft black text (rgba 0,0,0,.8), no shadow until hover.", "styleBlockCount": 1, "selectorCount": 86, "classCount": 49, "elementCount": 32 }, "tokens": { "declared": [ "--accent", "--accent-active", "--accent-hover", "--accent-on", "--bg", "--border", "--border-soft", "--container-gutter-desktop", "--container-gutter-phone", "--container-gutter-tablet", "--container-max", "--danger", "--ease-standard", "--elev-flat", "--elev-raised", "--elev-ring", "--fg", "--fg-2", "--focus-ring", "--font-body", "--font-display", "--font-mono", "--leading-body", "--leading-tight", "--meta", "--motion-base", "--motion-fast", "--muted", "--radius-lg", "--radius-md", "--radius-pill", "--radius-sm", "--section-y-desktop", "--section-y-phone", "--section-y-tablet", "--space-1", "--space-12", "--space-2", "--space-3", "--space-4", "--space-5", "--space-6", "--space-8", "--success", "--surface", "--surface-warm", "--text-2xl", "--text-3xl", "--text-4xl", "--text-base", "--text-lg", "--text-sm", "--text-xl", "--text-xs", "--tracking-display", "--warn" ], "referenced": [ "--accent", "--accent-active", "--accent-hover", "--accent-on", "--bg", "--border", "--border-soft", "--container-gutter-desktop", "--container-gutter-phone", "--container-gutter-tablet", "--container-max", "--ease-standard", "--elev-raised", "--fg", "--fg-2", "--focus-ring", "--font-body", "--font-display", "--font-mono", "--leading-body", "--leading-tight", "--meta", "--motion-base", "--motion-fast", "--muted", "--radius-lg", "--radius-md", "--radius-pill", "--radius-sm", "--section-y-desktop", "--section-y-phone", "--section-y-tablet", "--space-1", "--space-12", "--space-2", "--space-3", "--space-4", "--space-5", "--space-6", "--space-8", "--success", "--surface", "--text-2xl", "--text-4xl", "--text-base", "--text-lg", "--text-sm", "--text-xl", "--text-xs", "--tracking-display", "--warn" ], "unusedDeclared": [ "--danger", "--elev-flat", "--elev-ring", "--surface-warm", "--text-3xl" ], "undeclaredReferenced": [] }, "selectors": [ ".body-muted", ".body-sm", ".btn", ".btn-follow", ".btn-follow[aria-pressed=\"true\"]", ".btn-ghost", ".btn-ghost:hover", ".btn-primary", ".btn-primary:active", ".btn-primary:hover", ".btn-secondary", ".btn-secondary:hover", ".btn:focus-visible", ".card", ".card:hover", ".chip", ".chip-success", ".chip-trending", ".container", ".dot", ".eyebrow", ".features-grid", ".feed-card", ".feed-card-author", ".feed-card-avatar", ".feed-card-body", ".feed-card-cover", ".feed-card-cover-tag", ".feed-card-foot", ".feed-card-likes", ".feed-card-likes .icon", ".feed-card-likes[data-liked=\"true\"] .icon", ".feed-card-title", ".feed-card:hover", ".feed-grid", ".field", ".field input", ".field input::placeholder", ".field input:focus", ".field label", ".field textarea", ".field textarea::placeholder", ".field textarea:focus", ".field-help", ".form", ".form-actions", ".form-row", ".hero-actions", ".hero-grid", ".hero-meta", ".hero-meta-foot", ".hero-meta-stat", ".hero-meta-stat-label", ".hero-meta-stat-num", ".hero-meta-stats", ".hero-meta-title", ".icon", ".icon-lg", ".lead", ".row-between", ".stack-2 > * + *", ".stack-3 > * + *", ".stack-4 > * + *", ".stack-6 > * + *", ".topnav", ".topnav-brand", ".topnav-brand-mark", ".topnav-right", ".topnav-tabs", ".topnav-tabs a", ".topnav-tabs a:hover", ".topnav-tabs a[aria-current=\"page\"]", ".topnav-tabs a[aria-current=\"page\"]::after", "*", "*::after", "*::before", "body", "code", "h1", "h2", "h3", "html", "kbd", "p", "section", "section + section" ], "classes": [ "body-muted", "body-sm", "btn", "btn-follow", "btn-ghost", "btn-primary", "card", "chip", "chip-success", "chip-trending", "container", "dot", "eyebrow", "features-grid", "feed-card", "feed-card-author", "feed-card-avatar", "feed-card-body", "feed-card-cover", "feed-card-cover-tag", "feed-card-foot", "feed-card-likes", "feed-card-title", "feed-grid", "field", "field-help", "form", "form-actions", "form-row", "hero-actions", "hero-grid", "hero-meta", "hero-meta-foot", "hero-meta-stat", "hero-meta-stat-label", "hero-meta-stat-num", "hero-meta-stats", "hero-meta-title", "icon", "lead", "row-between", "stack-2", "stack-3", "stack-4", "topnav", "topnav-brand", "topnav-brand-mark", "topnav-right", "topnav-tabs" ], "elements": [ "a", "article", "aside", "body", "br", "button", "code", "div", "form", "h1", "h2", "h3", "head", "header", "html", "input", "kbd", "label", "li", "main", "meta", "nav", "p", "path", "section", "span", "style", "svg", "textarea", "time", "title", "ul" ], "groups": [ { "id": "buttons", "label": "Buttons and calls to action", "present": true, "selectors": [ ".btn", ".btn-follow", ".btn-follow[aria-pressed=\"true\"]", ".btn-ghost", ".btn-ghost:hover", ".btn-primary", ".btn-primary:active", ".btn-primary:hover", ".btn-secondary", ".btn-secondary:hover", ".btn:focus-visible" ], "classes": [ "btn", "btn-follow", "btn-ghost", "btn-primary" ], "elements": [ "button" ], "tokenReferences": [ "--accent", "--accent-active", "--accent-on", "--border-soft", "--ease-standard", "--font-body", "--motion-fast", "--muted", "--radius-pill", "--space-2", "--text-sm" ] }, { "id": "inputs", "label": "Form fields and controls", "present": true, "selectors": [ ".field", ".field input", ".field input::placeholder", ".field input:focus", ".field label", ".field textarea", ".field textarea::placeholder", ".field textarea:focus", ".field-help", ".hero-meta-stat-label" ], "classes": [ "field", "field-help", "form", "form-actions", "form-row" ], "elements": [ "form", "input", "label", "textarea" ], "tokenReferences": [ "--border", "--fg", "--focus-ring", "--font-body", "--radius-md", "--space-3", "--space-4", "--surface", "--text-sm" ] }, { "id": "cards", "label": "Cards and panels", "present": true, "selectors": [ ".card", ".card:hover" ], "classes": [ "card" ], "elements": [], "tokenReferences": [ "--elev-raised" ] }, { "id": "badges", "label": "Badges, chips, and status labels", "present": true, "selectors": [ ".chip", ".chip-success", ".chip-trending" ], "classes": [ "chip", "chip-success", "chip-trending" ], "elements": [], "tokenReferences": [ "--accent", "--accent-on" ] }, { "id": "links", "label": "Links and inline actions", "present": true, "selectors": [ ".topnav-tabs a", ".topnav-tabs a:hover", ".topnav-tabs a[aria-current=\"page\"]", ".topnav-tabs a[aria-current=\"page\"]::after" ], "classes": [], "elements": [ "a" ], "tokenReferences": [ "--accent-hover", "--fg-2", "--radius-pill", "--space-3" ] }, { "id": "keyboard", "label": "Keyboard hints", "present": true, "selectors": [ "kbd" ], "classes": [], "elements": [ "kbd" ], "tokenReferences": [] }, { "id": "icons", "label": "Icon slots", "present": true, "selectors": [ ".feed-card-likes .icon", ".feed-card-likes[data-liked=\"true\"] .icon", ".icon", ".icon-lg" ], "classes": [ "icon" ], "elements": [ "svg" ], "tokenReferences": [ "--accent" ] }, { "id": "typography", "label": "Typography scale and text utilities", "present": true, "selectors": [ ".body-muted", ".body-sm", ".eyebrow", ".lead", "h1", "h2", "h3" ], "classes": [ "body-muted", "body-sm", "eyebrow", "lead" ], "elements": [ "h1", "h2", "h3", "p" ], "tokenReferences": [ "--accent", "--fg", "--fg-2", "--font-body", "--font-display", "--leading-tight", "--text-2xl", "--text-xs", "--tracking-display" ] }, { "id": "layout", "label": "Layout primitives", "present": true, "selectors": [ ".container", ".row-between", ".stack-2 > * + *", ".stack-3 > * + *", ".stack-4 > * + *", ".stack-6 > * + *", "section", "section + section" ], "classes": [ "container", "features-grid", "feed-grid", "hero-grid", "row-between", "stack-2", "stack-3", "stack-4" ], "elements": [ "header", "main", "nav", "section" ], "tokenReferences": [ "--border-soft", "--container-gutter-desktop", "--container-gutter-phone", "--container-gutter-tablet", "--container-max", "--space-3", "--space-6" ] } ], "literals": { "colorExpressions": 12, "pixelValues": 45, "hardcodedFontFamilies": 9 } }