getgrav / grav-premium-issues

Official Grav Premium Issues repository to report problems or ask questions regarding the Premium products offered.
https://getgrav.org/premium
7 stars 2 forks source link

[typhoon] site.css - "Unknown at rule @tailwind Ln 11 Col 1 #324

Closed mfuggle closed 1 year ago

mfuggle commented 1 year ago

When I open sites.css using Visual Studio Code I see the following problems reported. Is this expected? image Cheers Martin Fuggle

w00fz commented 1 year ago

The output css served on the frontend is actually in the css-compiled folder, you are looking at the css folder which is the source code. We use tailwind and postcss which actually allows the syntax highlighted in the error you highlighted.

If your VSC doesn’t know how to handle postcss, it will error out like that. Try installing a plugin for postcss/tailwind and the error should go away.