{
  "//": "微信小程序平台 tokens。继承 base.json，覆盖微信相关规范。",
  "meta": {
    "platform": "wechat-miniprogram",
    "designWidth": 375,
    "designWidthUnit": "pt (1pt = 2rpx)"
  },
  "units": {
    "rpxRatio": 2,
    "note": "设计稿用 pt 标注，开发用 rpx 实现。375pt 设计稿 = 750rpx 实现。"
  },
  "layout": {
    "screenWidth": 375,
    "statusBar": {
      "legacy": 20,
      "notch": 44,
      "dynamicIsland": 59
    },
    "navBar": {
      "height": 44,
      "titleFontSize": 17,
      "titleFontWeight": 600,
      "backArrowSize": 24,
      "note": "顶部总高 = statusBar + navBar。胶囊按钮在 navBar 内垂直居中。"
    },
    "tabBar": {
      "height": 50,
      "iconSize": 24,
      "labelFontSize": 10,
      "maxItems": 5,
      "minItems": 2
    },
    "safeArea": {
      "bottom": {
        "legacy": 0,
        "notch": 34,
        "dynamicIsland": 34
      }
    }
  },
  "components": {
    "button": {
      "height": { "sm": 28, "base": 36, "lg": 44 },
      "radius": "full",
      "fontSize": { "sm": 13, "base": 14, "lg": 16 },
      "padding": { "sm": "0 12", "base": "0 16", "lg": "0 20" }
    },
    "input": {
      "height": 40,
      "radius": "md",
      "fontSize": 16,
      "padding": "0 12"
    },
    "cell": {
      "height": 48,
      "padding": "0 16",
      "titleFontSize": 14,
      "valueFontSize": 14,
      "arrowSize": 16
    },
    "card": {
      "radius": "lg",
      "padding": 12,
      "gap": 8
    }
  },
  "colors": {
    "wechat": {
      "green": "#07C160",
      "background": "#ededed",
      "cardBackground": "#ffffff",
      "linkBlue": "#576B95",
      "note": "微信品牌绿 + 标准背景灰。小程序默认背景建议用 #ededed 或 #f5f5f5。"
    }
  },
  "iconSizes": {
    "note": "微信图标标准尺寸用 24x24pt，细线 1.5-2px。",
    "sm": 16,
    "base": 24,
    "lg": 32
  }
}
