What version of Tailwind CSS IntelliSense are you using?
v0.9.1
What version of Tailwind CSS are you using?
3.2.1
What package manager are you using?
npm
What operating system are you using?
Linux
Tailwind config
I don't believe it'll be necessary, but glad to share on request.
VS Code settings
I don't believe it'll be necessary, but glad to share on request.
Describe your issue
Here's the bug:

It works fine without the extra wrapper function:

To reproduce, paste the below line in a CSS file.
--myvar: fn(theme(colors.fuchsia.600));
I'd expect color decoration to not be affected by this change.