/**
 *
 * @param {number} size - pixel value
 * @returns {string} - result with rem unit
 *
 * @todo - remove baseFontSize cosnt and replace with token when available
 */

export const pxToRem = (size: number): string => {
  const baseFontSize = 16;

  return `${size / baseFontSize}rem`;
};
