framer/Material-UI.framerfx/code/utils/index.ts/parseColor
export function parseColor(color: string): string {
  const colorTokenRegex = /var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;

  const colorToken = color.match(colorTokenRegex);

  return colorToken ? colorToken[2] : color;
}