I'm using Tailwind CSS with PostCSS via Gulp. Just about everything works great. I'm trying to reference values from the config theme object in my CSS. I'm able to do the following just fine:
height: theme('spacing.12');
However, when I try to use theme() inside of calc() (just like in the documentation):
height: calc(100vh - theme('spacing.12'));
I get a Parse error from gulp-postcss ("Expecting 'SUB', 'LPAREN'....")
Is this a Tailwind bug?