{
  "$schema": "https://schema.org/design-system-manifest",
  "id": "patrick-wu-brand-system",
  "name": "邬晓峰个人品牌设计系统",
  "nameEn": "Patrick Wu Brand System",
  "version": "1.0.0",
  "released": "2026",
  "owner": "邬晓峰工作室 / PATRICK WU STUDIO",
  "description": "极简黑白、一处朱红的个人品牌设计系统。双层结构：机器可读约束层（tokens + 本清单）＋ 人可浏览展示层（hub + guidelines + ui_kits + templates）。",
  "principles": ["秩序 Order", "简净 Restraint", "一处朱红 One Accent"],
  "entrypoints": {
    "hub": "index.html",
    "readme": "readme.md",
    "skill": "SKILL.md",
    "styles": "styles.css",
    "manifest": "_ds_manifest.json"
  },
  "singleSourceOfTruth": {
    "note": "色值/字体/字号/间距只在 tokens/ 定义一次，其它文件一律引用 CSS 变量，禁止硬编码。",
    "dir": "tokens/",
    "cssEntry": "styles.css"
  },
  "directoryMap": {
    "index.html": "品牌中心 Hub · 浏览总入口，链向三层",
    "readme.md": "品牌规范本体 + 目录地图 + 文件索引",
    "SKILL.md": "Agent Skill 入口 · AI 施加约束说明",
    "_ds_manifest.json": "机器可读清单 · 本文件",
    "styles.css": "样式入口 · @import 各 token 文件",
    "tokens/": "单一权威源 · 拆分的机器可读 token",
    "assets/": "品牌资产 · 4 版徽章 SVG",
    "guidelines/": "规范样张卡 · 规则层 (01)",
    "ui_kits/": "品牌物料 · 展示层 (02)",
    "templates/": "起稿模板 · 生产层 (03)",
    "exports/": "导出物 · PDF/PPTX/DOCX/PNG",
    "uploads/": "原始素材",
    "support.js": "共享运行时（React/DC）· 全项目一份",
    "deck-stage.js": "共享运行时 · 幻灯片舞台",
    "image-slot.js": "共享运行时 · 图片占位槽"
  },
  "runtime": {
    "displayLayer": {
      "type": "static-html",
      "consumes": "styles.css",
      "offline": true,
      "networkException": "Google Fonts CDN（字体）",
      "files": ["index.html", "guidelines/*.html", "ui_kits/*.html"]
    },
    "interactiveLayer": {
      "type": "design-component",
      "shared": ["support.js", "deck-stage.js", "image-slot.js"],
      "sharedLocation": "项目根目录，各 .dc.html 以 ../ 相对引用（不逐个复制）",
      "networkDependency": "unpkg CDN（React/Babel）+ Google Fonts CDN",
      "files": ["templates/*.dc.html", "guidelines/design-system.dc.html", "ui_kits/brand-applications.dc.html"]
    }
  },
  "tokens": {
    "color": {
      "file": "tokens/colors.css",
      "values": {
        "--color-ink":    { "hex": "#12110E", "rgb": "18,17,14",  "role": "主文本/深色背景", "aliases": ["--ink"] },
        "--color-paper":  { "hex": "#F7F4EC", "rgb": "247,244,236","role": "主背景", "aliases": ["--paper"] },
        "--color-accent": { "hex": "#C4362A", "rgb": "196,54,42",  "role": "唯一强调色 ≤5%", "aliases": ["--accent"] },
        "--color-gray":   { "hex": "#9A968C", "rgb": "154,150,140","role": "辅助信息/元数据", "aliases": ["--gray"] },
        "--color-muted":  { "hex": "#403D36", "rgb": "64,61,54",   "role": "次文本/正文", "aliases": ["--muted"] },
        "--color-line":   { "value": "rgba(18,17,14,.14)",         "role": "分隔线", "aliases": ["--line"] },
        "--color-ok":     { "hex": "#3B7A57", "rgb": "59,122,87",  "role": "成功状态（仅此用途）", "aliases": ["--ok"] }
      },
      "tints": {
        "--ink-900": "#12110E", "--ink-800": "#2A2822", "--ink-700": "#403D36", "--ink-500": "#6B675D",
        "--ink-400": "#9A968C", "--ink-300": "#C7C3B8", "--ink-200": "#E7E3D9", "--ink-100": "#F7F4EC"
      },
      "usageRatio": "墨 60 · 纸 33 · 灰 2 · 朱红 ≤5"
    },
    "typography": {
      "file": "tokens/typography.css",
      "families": {
        "--font-display": { "stack": "Space Grotesk", "role": "西文标题/UI/编号" },
        "--font-body":    { "stack": "Noto Sans SC", "role": "中文正文（黑体）" },
        "--font-serif":   { "stack": "Noto Serif SC", "role": "中文标题气质（宋体）" },
        "--font-mono":    { "stack": "Space Mono", "role": "编号/技术标注" }
      },
      "scalePx": { "--fs-display": 74, "--fs-h1": 66, "--fs-h2": 40, "--fs-h3": 24, "--fs-lead": 18, "--fs-body": 15, "--fs-sm": 13, "--fs-xs": 11, "--fs-mono": 12 },
      "weights": { "--fw-light": 300, "--fw-regular": 400, "--fw-medium": 500, "--fw-semibold": 600, "--fw-bold": 700 }
    },
    "fonts": {
      "file": "tokens/fonts.css",
      "loader": "Google Fonts CDN (@import)",
      "families": ["Space Grotesk", "Noto Serif SC", "Noto Sans SC", "Space Mono"]
    },
    "spacing": {
      "file": "tokens/spacing.css",
      "scalePx": { "--space-1": 4, "--space-2": 8, "--space-3": 12, "--space-4": 16, "--space-5": 24, "--space-6": 32, "--space-7": 48, "--space-8": 64, "--space-9": 88 },
      "radiusPx": { "--radius-0": 0, "--radius-sm": 2, "--radius-md": 4 },
      "shadow": { "--shadow-card": "0 22px 42px -28px rgba(0,0,0,.40)", "--shadow-float": "0 26px 50px -30px rgba(0,0,0,.40)" },
      "grid": { "--grid-cols": 12, "--grid-gutter": "24px", "--container-max": "1160px", "--container-pad": "44px" }
    },
    "base": { "file": "tokens/base.css", "role": "重置 + 全局默认 + 原子类（供展示层）" }
  },
  "assets": {
    "emblems": {
      "dir": "assets/",
      "note": "文件名与几何路径固定不变；安全间距≥1/4高；最小尺寸 数字24px/印刷8mm；禁改色/变形/旋转/特效。",
      "items": [
        { "id": "standard", "file": "assets/wxf-emblem.svg",        "name": "标准（深色）", "use": "浅底常规" },
        { "id": "white",    "file": "assets/wxf-emblem-white.svg",  "name": "反白",        "use": "墨底/深色影像" },
        { "id": "tint",     "file": "assets/wxf-emblem-tint.svg",   "name": "描边陪衬",     "use": "大尺寸背景水印" },
        { "id": "accent",   "file": "assets/wxf-emblem-accent.svg", "name": "朱红强调",     "use": "品牌点睛（少量）" }
      ]
    }
  },
  "guidelines": {
    "dir": "guidelines/",
    "layer": "01 · 规则",
    "cards": [
      { "id": "colors",       "file": "guidelines/colors.html",       "title": "色彩规范",     "covers": ["核心色板", "墨阶", "用色配比", "Do/Don't"] },
      { "id": "typography",   "file": "guidelines/typography.html",   "title": "字体规范",     "covers": ["四款字体样张", "字号阶", "配对规则"] },
      { "id": "spacing",      "file": "guidelines/spacing.html",      "title": "间距与栅格",   "covers": ["间距阶", "圆角", "阴影", "12列栅格"] },
      { "id": "emblem",       "file": "guidelines/emblem.html",       "title": "徽章使用",     "covers": ["4版本", "安全间距", "最小尺寸", "禁止用法"] },
      { "id": "iconography",  "file": "guidelines/iconography.html",  "title": "图标规范",     "covers": ["24网格", "1.5px描边", "示例集"] },
      { "id": "legal",        "file": "guidelines/legal.html",        "title": "法律与使用",   "covers": ["版权商标", "字体授权", "使用授权", "免责声明"] }
    ],
    "overview": { "id": "design-system", "file": "guidelines/design-system.dc.html", "title": "设计系统完整总览", "type": "design-component" }
  },
  "uiKits": {
    "dir": "ui_kits/",
    "layer": "02 · 展示",
    "materials": [
      { "id": "business-card",   "file": "ui_kits/business-card.html",   "title": "名片",         "spec": "90×54mm 双面" },
      { "id": "letterhead",      "file": "ui_kits/letterhead.html",      "title": "信头/信封",     "spec": "A4 + DL" },
      { "id": "email-signature", "file": "ui_kits/email-signature.html", "title": "邮件签名",      "spec": "HTML table 布局" },
      { "id": "wechat-cover",    "file": "ui_kits/wechat-cover.html",    "title": "公众号封面",    "spec": "900×383 + 200×200" },
      { "id": "banner",          "file": "ui_kits/banner.html",          "title": "Banner/社媒图", "spec": "1200×628 + 1600×400" }
    ],
    "overview": { "id": "brand-applications", "file": "ui_kits/brand-applications.dc.html", "title": "品牌应用完整总览", "type": "design-component" }
  },
  "templates": {
    "dir": "templates/",
    "layer": "03 · 生产",
    "items": [
      { "id": "ppt",           "file": "templates/ppt.dc.html",           "title": "PPT 模板",      "format": "PPTX", "spec": "16:9 · 1920×1080", "type": "design-component" },
      { "id": "proposal",      "file": "templates/proposal.dc.html",      "title": "项目建议书/报告", "format": "PDF",  "spec": "A4 竖版", "type": "design-component", "editableExport": "templates/proposal.docx" },
      { "id": "business-card", "file": "templates/business-card.dc.html", "title": "名片",          "format": "PDF",  "spec": "90×54mm 双面", "type": "design-component" }
    ]
  },
  "constraints": {
    "colorsOnlyFrom": "tokens/colors.css",
    "accentMaxUsage": "5%",
    "fontsOnlyFrom": ["Space Grotesk", "Noto Sans SC", "Noto Serif SC", "Space Mono"],
    "forbiddenFonts": ["Inter", "Roboto", "Arial"],
    "emblemFilenamesLocked": true,
    "referenceNotHardcode": true,
    "tone": ["极简", "克制", "留白", "编号秩序感"]
  }
}
