I was using postcss-custom-properties to produce fallback values for IE theming. Our application has hundreds of color variables, and we have them declared in root. I understand the transforming of the custom properties that contain var() in root, but should CSS variables that depend upon other CSS variables also be transformed and thus produce a duplicate variable declaration?
Is this duplication necessary for obtaining the correct fallback values for css variables that depend upon another? If not, should there be an option to not transform css variable declarations?
I was using postcss-custom-properties to produce fallback values for IE theming. Our application has hundreds of color variables, and we have them declared in root. I understand the transforming of the custom properties that contain var() in root, but should CSS variables that depend upon other CSS variables also be transformed and thus produce a duplicate variable declaration?
Input
Expected
Actual
Is this duplication necessary for obtaining the correct fallback values for css variables that depend upon another? If not, should there be an option to not transform css variable declarations?