{
  "version": "1.2.0",
  "source": "brand/tokens/tokens.json",
  "note": "hex 由 tokens.json 推导；网页里请用 --cx-color-chart-N 等变量而不是这些值。",
  "surface": {
    "note": "页面底 = color.bg（亮 sand.50 / 暗 navy.950）；卡片内的图表底用 surfaceRaised = color.bg.raised。",
    "light": "#fdf5ed",
    "dark": "#002641"
  },
  "surfaceRaised": {
    "light": "#ffffff",
    "dark": "#003459"
  },
  "categorical": {
    "order": [
      {
        "slot": 1,
        "token": "--cx-color-chart-1",
        "hue": "navy",
        "meaning": "设备 / 机器人 / 单序列默认"
      },
      {
        "slot": 2,
        "token": "--cx-color-chart-2",
        "hue": "leaf",
        "meaning": "作物 / 产量 / 作业"
      },
      {
        "slot": 3,
        "token": "--cx-color-chart-3",
        "hue": "harvest",
        "meaning": "告警（警告级）/ 成熟 / 能耗"
      },
      {
        "slot": 4,
        "token": "--cx-color-chart-4",
        "hue": "sky",
        "meaning": "环境（温、湿、光、CO₂）"
      },
      {
        "slot": 5,
        "token": "--cx-color-chart-5",
        "hue": "soil",
        "meaning": "基质 / 硬件 / 其他"
      },
      {
        "slot": 6,
        "token": "--cx-color-chart-6",
        "hue": "crimson",
        "meaning": "告警（错误级），只做告警"
      }
    ],
    "light": ["#0b6eab", "#487900", "#ab7304", "#6285a1", "#a6744a", "#ce514d"],
    "dark": ["#8db5d6", "#8cc35a", "#dfa345", "#a1cdf2", "#cfa685", "#f1918a"],
    "adjacency": "堆叠、分组、多折线里 leaf 与 harvest 不得相邻（红绿色弱下 ΔE 2.6），soil 不与 crimson（ΔE 0.4）或 harvest（ΔE 4.8）相邻；相邻顺序 navy → leaf → sky → harvest；同图 ≥ 2 序列必须图例 + 直接标注。"
  },
  "sequential": {
    "hue": "leaf",
    "steps": [50, 100, 200, 300, 400, 500, 600, 700, 800, 900],
    "light": [
      "#f2faec",
      "#e3f3d8",
      "#cbe7b7",
      "#add68c",
      "#8cc35a",
      "#6bac1b",
      "#55a400",
      "#487900",
      "#375e01",
      "#264400"
    ],
    "dark": [
      "#264400",
      "#375e01",
      "#487900",
      "#55a400",
      "#6bac1b",
      "#8cc35a",
      "#add68c",
      "#cbe7b7",
      "#e3f3d8",
      "#f2faec"
    ],
    "note": "小→大 = 50→900，有值的最浅档从 200 起；带格内数值的热力图亮暗同一色阶，无标签的面填充在暗色下用 dark 数组（反向）。最多 7 档。"
  },
  "diverging": {
    "poles": ["sky", "harvest"],
    "midpoint": "sand",
    "light": [
      "#445360",
      "#6285a1",
      "#87b5dc",
      "#bfe1fe",
      "#f3ebe3",
      "#f8d7a9",
      "#dfa345",
      "#ab7304",
      "#684b21"
    ],
    "dark": [
      "#bfe1fe",
      "#a1cdf2",
      "#87b5dc",
      "#6285a1",
      "#6e6860",
      "#ab7304",
      "#dfa345",
      "#efbe79",
      "#f8d7a9"
    ],
    "note": "负/低于目标 = sky（冷），正/高于目标 = harvest（暖），中点 sand 中性。"
  },
  "status": {
    "light": {
      "good": "#375e01",
      "warning": "#8b5f13",
      "serious": "#ae3d3b",
      "critical": "#5d2725"
    },
    "dark": {
      "good": "#8cc35a",
      "warning": "#dfa345",
      "serious": "#f1918a",
      "critical": "#f7b4ad"
    },
    "note": "状态色只表示状态，不做序列色；始终配图标 + 文字。"
  },
  "chrome": {
    "grid": "--cx-color-border",
    "axis": "--cx-color-border-strong",
    "text": "--cx-color-fg-muted",
    "textStrong": "--cx-color-fg",
    "emphasisDim": "--cx-color-sand-300"
  }
}
