{
  "schemaVersion": 1,
  "source": {
    "sourceName": "getdesign.md",
    "originalDetailUrl": "https://getdesign.md/opencode.ai/design-md",
    "fallbackRawUrl": "https://raw.githubusercontent.com/VoltAgent/awesome-design-md/main/design-md/opencode.ai/DESIGN.md",
    "mirrorSource": "github:VoltAgent/awesome-design-md",
    "websiteUrl": "https://opencode.ai/"
  },
  "identity": {
    "id": "P0-94",
    "slug": "opencode",
    "brand": "OpenCode",
    "titleZh": "OpenCode 主题",
    "titleEn": "OpenCode",
    "descriptionZh": "OpenCode 的 Design.md 主题展示，围绕开发工具、AI、媒体内容、暗色界面组织页面。",
    "descriptionEn": "AI coding platform. Developer-centric dark theme."
  },
  "tags": {
    "sourceTags": [],
    "generatedTags": [
      "developer-tool",
      "ai",
      "request-flow",
      "media",
      "dark"
    ],
    "designTags": [],
    "distributionTags": [
      "开发工具",
      "AI",
      "媒体内容",
      "暗色界面",
      "SaaS 产品",
      "浅色界面",
      "B2B 产品",
      "效率工具",
      "专业工具"
    ]
  },
  "assets": {
    "designMd": {
      "path": "DESIGN.md",
      "sourcePath": ".local/design-md-batch-regression/getdesign/opencode/DESIGN.md"
    },
    "tailwind": {
      "path": "tw.css",
      "sourcePath": ".local/design-md-batch-regression/getdesign/opencode/tw.css"
    },
    "tokens": {
      "path": "assets/tokens.json",
      "method": "derived_from_design_md_and_metadata"
    },
    "cover": null,
    "previewHtml": {
      "type": "local-preview",
      "path": "assets/official-homepage.webp",
      "publicPath": "assets/official-homepage.webp",
      "importPath": "./assets/official-homepage.webp?url",
      "sourcePath": "assets/official-homepage.webp"
    }
  },
  "tokens": {
    "palette": [
      "#201d1d",
      "#0f0000",
      "#fdfcfc",
      "#302c2c",
      "#424245",
      "#646262",
      "#6e6e73",
      "#9a9898",
      "#f8f7f7",
      "#f1eeee",
      "#007aff",
      "#0056b3"
    ],
    "typography": {
      "display": "Inter",
      "body": "Inter",
      "mono": "Berkeley Mono",
      "hints": [
        "Inter",
        "Berkeley Mono",
        "Geist Mono",
        "Geist"
      ]
    },
    "radius": {
      "control": "4px",
      "card": "0px",
      "preview": "0px",
      "pill": "9999px",
      "source": "design-md"
    },
    "spacing": {
      "xxs": "1px",
      "xs": "4px",
      "sm": "8px",
      "md": "12px",
      "lg": "16px",
      "xl": "24px",
      "xxl": "32px",
      "section": "96px",
      "source": "design-md"
    }
  },
  "previewImages": [
    {
      "type": "local-preview",
      "path": "assets/official-homepage.webp"
    }
  ],
  "display": {
    "brand": "OpenCode 主题",
    "brandAlias": "OpenCode",
    "description": "OpenCode 的 Design.md 主题展示，围绕开发工具、AI、媒体内容、暗色界面组织页面。",
    "descriptionEn": "AI coding platform. Developer-centric dark theme.",
    "variant": "saas-devtool",
    "distributionTags": [
      "开发工具",
      "AI",
      "媒体内容",
      "暗色界面",
      "SaaS 产品",
      "浅色界面",
      "B2B 产品",
      "效率工具",
      "专业工具"
    ],
    "fontStylesheets": [
      "https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap"
    ],
    "palette": [
      {
        "color": "#201d1d",
        "labelZh": "主色",
        "labelEn": "Primary",
        "textColor": "#ffffff"
      },
      {
        "color": "#0f0000",
        "labelZh": "主色悬停",
        "labelEn": "Primary Hover",
        "textColor": "#ffffff"
      },
      {
        "color": "#fdfcfc",
        "labelZh": "辅助色",
        "labelEn": "Secondary",
        "textColor": "#171717"
      },
      {
        "color": "#302c2c",
        "labelZh": "强调色",
        "labelEn": "Accent",
        "textColor": "#ffffff"
      },
      {
        "color": "#424245",
        "labelZh": "背景色",
        "labelEn": "Background",
        "textColor": "#ffffff"
      },
      {
        "color": "#646262",
        "labelZh": "表面色",
        "labelEn": "Surface",
        "textColor": "#ffffff"
      },
      {
        "color": "#6e6e73",
        "labelZh": "文本色",
        "labelEn": "Text",
        "textColor": "#ffffff"
      },
      {
        "color": "#9a9898",
        "labelZh": "边框色",
        "labelEn": "Border",
        "textColor": "#171717"
      },
      {
        "color": "#f8f7f7",
        "labelZh": "颜色 9",
        "labelEn": "Color 9",
        "textColor": "#171717"
      },
      {
        "color": "#f1eeee",
        "labelZh": "颜色 10",
        "labelEn": "Color 10",
        "textColor": "#171717"
      },
      {
        "color": "#007aff",
        "labelZh": "颜色 11",
        "labelEn": "Color 11",
        "textColor": "#ffffff"
      },
      {
        "color": "#0056b3",
        "labelZh": "颜色 12",
        "labelEn": "Color 12",
        "textColor": "#ffffff"
      }
    ],
    "shadows": [],
    "borders": [
      {
        "label": "边框 1 - Border 1",
        "value": "rgba(15,0,0,0.12)",
        "cssValue": "rgba(15,0,0,0.12)",
        "description": "hairline: \"rgba(15,0,0,0.12)\""
      },
      {
        "label": "边框 2 - Border 2",
        "value": "#646262",
        "cssValue": "#646262",
        "description": "mute: \"#646262\""
      }
    ],
    "typography": [
      "Inter",
      "Berkeley Mono",
      "Geist Mono",
      "Geist"
    ],
    "previewImages": [
      {
        "type": "local-preview",
        "path": "assets/official-homepage.webp"
      }
    ],
    "panels": [
      {
        "eyebrow": "产品",
        "title": "开发工具界面",
        "body": "适合工作台、文档、控制台和开发者产品。"
      },
      {
        "eyebrow": "Token",
        "title": "颜色与字体可复用",
        "body": "页面从本地 metadata 与 Design.md 提取 palette、typography 和标签，用于快速预览主题质感。"
      },
      {
        "eyebrow": "组件",
        "title": "面向真实界面片段",
        "body": "按钮、输入、卡片和间距样例保持克制，便于比较不同主题的系统性差异。"
      }
    ],
    "usageGuidance": {
      "do": [
        "建议：Render every text role in Berkeley Mono. The single-font decision is the entire identity。",
        "建议：Keep {colors.canvas} ({#fdfcfc}) as the only body background. Don't introduce gray section bands。",
        "建议：Use ASCII bracket markers ({[+]}, {[-]}, {[x]}, {+}, {−}) as bullets, toggles, and section glyphs. They are the brand's only iconography。",
        "建议：Anchor the dark {component.hero-tui-mockup} exactly once per landing page as the hero centerpiece. Never use the dark surface for body content。",
        "建议：Reserve {colors.accent} (Apple Blue) and the rest of the semantic ramp for in-TUI states; marketing chrome stays monochrome。"
      ],
      "dont": [
        "避免：introduce a sans-serif body font, a display face, or an italic style. Berkeley Mono carries everything。",
        "避免：add drop shadows, gradients, or atmospheric backgrounds. The system is flat-on-cream。",
        "避免：replace the ASCII bracket markers with SVG icons. The brackets are the icons。",
        "避免：use the semantic accent ramp ({colors.accent}, {colors.warning}, {colors.danger}, {colors.success}) on marketing CTAs. They belong to the in-product TUI。",
        "避免：pad cards with 24px+ internal padding. List rows sit at 8px vertical; FAQ rows at 12px。"
      ]
    },
    "radius": {
      "control": "4px",
      "card": "0px",
      "preview": "0px",
      "pill": "9999px",
      "source": "design-md"
    },
    "spacing": {
      "xxs": "1px",
      "xs": "4px",
      "sm": "8px",
      "md": "12px",
      "lg": "16px",
      "xl": "24px",
      "xxl": "32px",
      "section": "96px",
      "source": "design-md"
    }
  },
  "status": {
    "displayPage": "done",
    "collectionErrors": []
  }
}
