Open jesusreal opened 5 years ago
Hi @jesusreal,
see https://github.com/postcss/postcss-custom-properties/issues/173#issuecomment-483530357 for explanations.
Hi @pascalduez thanks a lot for pointing me to that information. Please correct me if I am wrong, but in my example there is no variable overriding, so in fact it actually should be possible to do the replacements I proposed.
This is a question, not an issue, but I really want to know why it behaves like that and I think it could be useful as reference for other people.
CSS input
CSS output
These are my questions:
Is the reason for not doing these transformations that they are very time consuming?
Instead of polluting the description I created a repo with the codebase I have used to perform my tests: https://github.com/jesusreal/postcss-playground.