-
-
Notifications
You must be signed in to change notification settings - Fork 6.4k
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
test: upgrade to tailwind v4 #19320
base: main
Are you sure you want to change the base?
test: upgrade to tailwind v4 #19320
Conversation
@@ -75,7 +75,7 @@ function componentToHex(c: number): string { | |||
return hex.length === 1 ? '0' + hex : hex | |||
} | |||
|
|||
function rgbToHex(rgb: string): string { | |||
function rgbToHex(rgb: string): string | undefined { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When oklch(...)
is passed, previously #000000
was returned.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for doing this and reporting the issue to Tailwind!
Is there still a Tailwind 3 playground in the test suite? I think we should keep one for at least 6 months, it would be bad to break some old HMR path that are kindof tailwind 3 specific
Would it be possible to also test the tailwind vite plugin? It's being push as the default for vite usage |
I upgraded all the tests to use tailwind v4, so there weren't any. I added back the old playground as "tailwind-v3" now. The content is duplicated with "tailwind" playground. I can't think of an easy way to dedupe this. It will be removed in half a year anyways, so it's probably ok. |
It does use the vite plugin except for the one that is blocked by tailwind's bug and the one that requires postcss to be used. |
Yeah dedupe is totally fine for me |
Description
close #19299