Sass, why are you doing this to me? 🤦
The comma inside the var() is not a typo but an important feature. The below is only a minimal example to reproduce the issue but in my case it's more complex.
Submitted a bug (I hope it's the right place to do it): https://github.com/sass/sass/issues/3794
#CSS #Sass