
  let fromVariable, toVariable;

  const baseColors = __theme().baseColors();

  Object.keys(baseColors).forEach(colorName => {
    const colorObj = baseColors[colorName];
    if (colorName === from && !fromVariable) {
      fromVariable = colorObj.variable;
    } else if (colorName === to && !toVariable) {