Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Helper functions in CSS lose color decoration if wrapped in another function #653

Closed
phelipetls opened this issue Nov 4, 2022 · 1 comment · Fixed by #655
Closed

Helper functions in CSS lose color decoration if wrapped in another function #653

phelipetls opened this issue Nov 4, 2022 · 1 comment · Fixed by #655

Comments

@phelipetls
Copy link

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:

image

It works fine without the extra wrapper function:

image

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.

@bradlc
Copy link
Contributor

bradlc commented Nov 7, 2022

Thanks for reporting this, it will be fixed in the next release 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants