-
Notifications
You must be signed in to change notification settings - Fork 4.5k
bug(v4): gradients not working on CEF with chrome version: 103.0.5060.141 #15985
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
Comments
Atleast an option to make it compatible, idk i like allot of the other changes of v4, having to switch back is just not it, please! |
Another feature that doesn't work on FiveM using Tailwind CSS v4 is the color opacity thingy, when i do |
v4 linear gradients also break on older iphone safari The problem is the new v4 usage of Is there a way to inform tailwind to drop the "in colourmodel" styling instructions completely? |
Hey! Unfortunately we rely on some modern features for Tailwind CSS v4, which is why we rely on relatively modern browsers (https://tailwindcss.com/docs/compatibility)
Right now there are no plans to support older browsers than the browsers listed above because then we would not be able to use modern features unfortunately. For the colors where you can use For the gradient related issue, if Sorry about the inconvenience. Hope this helps! |
Using /srgb doesnt work as per thr comment, it still adds the "in srgb" which causes failure. Is there a way to override or exclude any "in colourspace" instruction? |
Oh sorry I misread, I thought the issue was that we were using Right now there is no way to get rid of the |
Yeah the guy's over at Cfx/Rockstar are most likely not going to upgrade chromium for awhile (if ever), as their prioritizes are in making money by developing a new payment platform so they can migrate off Patreon so they don't have to deal with Patreon taking a cut even though there are issues open that have been there for months/years. I'll migrate back to v3 for now, but please in the future if you can and if you want to just add some sort of compatibility layer. |
What version of Tailwind CSS are you using?
4.0.0
What build tool (or framework if it abstracts the build tool) are you using?
Vite 6.0.11
What version of Node.js are you using?
v22.13.0
What browser are you using?
For example: FiveM CEF Browser, Chrome Version: 103.0.5060.141
What operating system are you using?
For example: Windows
Reproduction URL
Try to use Tailwind CSS V4 Gradients on FiveM, it will cause issues and will not work, this is due to the fact that they are using an outdated chrome version, which i cannot change.
Describe your issue
Gradients don't work on FiveM CEF, that's what FiveM uses for NUI, most Cfx.re projects do, basically some of these new "modern" features cause things to break, is there a workaround?
The text was updated successfully, but these errors were encountered: