tokenTemplate = (token, options) => {
  let output = `  <key>${token.name}</key>\n`;
  if (token.type === 'color') {
    output += `    <dict>
        <key>r</key>
        <real>${(options.usesDtcg ? token.$value : token.value)[0] / 255}</real>
        <key>g</key>
        <real>${(options.usesDtcg ? token.$value : token.value)[1] / 255}</real>
        <key>b</key>
        <real>${(options.usesDtcg ? token.$value : token.value)[2] / 255}</real>
        <key>a</key>
        <real>1</real>
      </dict>`;
  } else if (token.type === 'dimension') {
    output += `<integer>${options.usesDtcg ? token.$value : token.value}</integer>`;
  } else {
    output += `<string>${options.usesDtcg ? token.$value : token.value}</string>`;
  }

  if (token.comment) {
    output += `\n    <!-- ${token.comment} -->`;
  }
  if (token.deprecated) {
    output += '\n    <key>deprecated</key><true/>';
    if (token.deprecated_comment) {
      output += ' <!-- ' + token.deprecated_comment + ' -->';
    }
  }
  return output;
}
@param {TransformedToken} token
@param {Config & LocalOptions} options