-
Notifications
You must be signed in to change notification settings - Fork 455
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
Upgrade Tailwind CSS to v4 #10850
Comments
…y displays for color and fonts
…ting tailwind to v4
…y displays for color and fonts
…523) * pkp/pkp-lib#10850 Add css variables based from config file * pkp/pkp-lib#10850 Add CSS Variables derived from Tailwind config * pkp/pkp-lib#10850 Rename css file for tailwind theme css variables * pkp/pkp-lib#10850 Remove duplicate css variables * pkp/pkp-lib#10850 Add comments to the tw-theme-vars css variables
pkp/pkp-lib#10850 Add CSS Variables derived from Tailwind V3 config
pkp/pkp-lib#10850 Add CSS Variables derived from Tailwind V3 config
pkp/pkp-lib#10850 Add CSS Variables derived from Tailwind V3 config
Closing this issue due to compatibility concerns with older browsers, which do not fully support Tailwind CSS v4: Tailwind v4 not working with Safari 15 Browser Compatibility Table for Tailwind CSS v4 Upgrade
Note: Tailwind CSS v4 requires modern browser versions that support |
Upgrade Tailwind CSS to v4 for OJS/OMP/OPS.
https://tailwindcss.com/docs/upgrade-guide
UPDATE:
We’re not moving forward with Tailwind v4 due to browser compatibility concerns with older browsers. Tailwind v4 introduces
@theme
as the new way to extract theme values directly in CSS, replacing the tailwind.config.js. However, since@theme
relies on modern CSS features (@layer) that are not well-supported in older browsers, upgrading could lead to unexpected styling issues in legacy environments.For more details, see:
https://tailwindcss.com/blog/tailwindcss-v4#designed-for-the-modern-web
As a result, we will keep using Tailwind v3, and make our theme CSS variables accessible for plugin use.
Pull requests:
ui-library: pkp/ui-library#523 (merged)
ojs: pkp/ojs#4654 (merged)
omp: pkp/omp#1836 (merged)
ops: pkp/ops#872 (merged)
Links for Tailwind v4 changes:
ui-library: pkp/ui-library#524
ojs: pkp/ojs#4657
The text was updated successfully, but these errors were encountered: