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

Safelisting colors in v3 #3343

Open
michalwinter opened this issue Feb 17, 2025 · 6 comments
Open

Safelisting colors in v3 #3343

michalwinter opened this issue Feb 17, 2025 · 6 comments
Labels
question Further information is requested v3 #1289

Comments

@michalwinter
Copy link

Description

I came across an issue when implementing dynamic colors and was curious how safelisting colors works in v3 since I couldn't find anything in the nuxt config props as is in the v2.

Thanks in advance.

@michalwinter michalwinter added question Further information is requested v3 #1289 labels Feb 17, 2025
Copy link
Member

Tailwind CSS v4 doesn't have safelists, you can read more about why here: tailwindlabs/tailwindcss#16592 (comment)

What is it you're trying to achieve?

@Dodobibi
Copy link
Contributor

Tailwind color's aren't defined since v3.0.0-alpha.13

Image

@benjamincanac
Copy link
Member

@Dodobibi What version of tailwindcss do you have installed? Can you look in your lock file?

@Dodobibi
Copy link
Contributor

Dodobibi commented Feb 18, 2025

[email protected] (in lock file)

When revert to @nuxt/[email protected], tw color's are defined, maybe cause of #2967

Image

Copy link
Member

Can you please open a new issue with a reproduction as it has nothing to do with the original issue?

@Dodobibi
Copy link
Contributor

Of course, sorry if I polluted this post, I thought it was related...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested v3 #1289
Projects
None yet
Development

No branches or pull requests

3 participants