import { CHART_CHROME_TOKEN_MAP } from './chart-chrome.tokens';

/** 子弹图 — ranges 10% / measures 100% / targets 红线（Token 驱动） */
export const BULLET_CHART_TOKEN_MAP = {
  ...CHART_CHROME_TOKEN_MAP,
  图元映射: [
    {
      label: '范围条',
      cssProp: 'fill',
      token: '--color-data-0',
      value: '#70E5C0',
      state: 'ranges',
      readOnly: true,
    },
    {
      label: '范围透明',
      cssProp: 'opacity',
      token: '--color-data-0',
      value: '0.10',
      state: 'ranges',
      readOnly: true,
    },
    {
      label: '进度条',
      cssProp: 'fill',
      token: '--color-data-0',
      value: '#70E5C0',
      state: 'measures',
      readOnly: true,
    },
    {
      label: '进度透明',
      cssProp: 'opacity',
      token: '--color-data-0',
      value: '1',
      state: 'measures',
      readOnly: true,
    },
    {
      label: '目标线',
      cssProp: 'stroke',
      token: '--color-data-4',
      value: '#3CCBFF',
      state: 'targets',
      readOnly: true,
    },
    {
      label: '目标线宽',
      cssProp: 'stroke-width',
      value: '2px',
      state: 'targets',
      readOnly: true,
    },
  ],
};
