[Refactor/Chore] Update to Tailwind CSS v4 #21381

Open
opened 2026-02-21 20:12:18 -05:00 by yindo · 4 comments
Owner

Originally created by @hyoban on GitHub (Dec 30, 2025).

Self Checks

  • I have read the Contributing Guide and Language Policy.
  • This is only for refactors or chores; if you would like to ask a question, please head to Discussions.
  • I have searched for existing issues search for existing issues, including closed ones.
  • I confirm that I am using English to submit this report, otherwise it will be closed.
  • 【中文用户 & Non English User】请使用英语提交,否则会被关闭 :)
  • Please do not modify this template :) and fill in all the required fields.

Description

Tailwind CSS v4.0 is designed for Safari 16.4+, Chrome 111+, and Firefox 128+. If you need to support older browsers, stick with v3.4 until your browser support requirements change.

Motivation

No response

Additional Context

No response

Originally created by @hyoban on GitHub (Dec 30, 2025). ### Self Checks - [x] I have read the [Contributing Guide](https://github.com/langgenius/dify/blob/main/CONTRIBUTING.md) and [Language Policy](https://github.com/langgenius/dify/issues/1542). - [x] This is only for refactors or chores; if you would like to ask a question, please head to [Discussions](https://github.com/langgenius/dify/discussions/categories/general). - [x] I have searched for existing issues [search for existing issues](https://github.com/langgenius/dify/issues), including closed ones. - [x] I confirm that I am using English to submit this report, otherwise it will be closed. - [x] 【中文用户 & Non English User】请使用英语提交,否则会被关闭 :) - [x] Please do not modify this template :) and fill in all the required fields. ### Description > Tailwind CSS v4.0 is designed for Safari 16.4+, Chrome 111+, and Firefox 128+. If you need to support older browsers, stick with v3.4 until your browser support requirements change. - [Upgrade guide](https://tailwindcss.com/docs/upgrade-guide) - [ESLint plugin](https://github.com/schoero/eslint-plugin-better-tailwindcss) ### Motivation _No response_ ### Additional Context _No response_
yindo added the stale label 2026-02-21 20:12:18 -05:00
Author
Owner

@SherlockShemol commented on GitHub (Dec 30, 2025):

I'd like to take the task.

@SherlockShemol commented on GitHub (Dec 30, 2025): I'd like to take the task.
Author
Owner

@hyoban commented on GitHub (Dec 30, 2025):

Thank you. But I think the browser requirement blocks us.

@hyoban commented on GitHub (Dec 30, 2025): Thank you. But I think the browser requirement blocks us.
Author
Owner

@hyoban commented on GitHub (Jan 14, 2026):

According to #20717, this issue is no longer blocked.

@hyoban commented on GitHub (Jan 14, 2026): According to #20717, this issue is no longer blocked.
Author
Owner

@dosubot[bot] commented on GitHub (Feb 14, 2026):

Hi, @hyoban. I'm Dosu, and I'm helping the Dify team manage their backlog and am marking this issue as stale.

Issue Summary:

  • You proposed upgrading the project to Tailwind CSS version 4 for better modern browser support and ESLint integration.
  • Initially, you noted browser requirements as a blocker.
  • Later, you clarified the issue is no longer blocked due to progress in issue #20717.
  • The discussion showed readiness to proceed with the upgrade.

Next Steps:

  • Please let me know if this issue is still relevant to the latest version of Dify by commenting here.
  • Otherwise, this issue will be automatically closed in 15 days.

Thanks for your understanding and contribution!

@dosubot[bot] commented on GitHub (Feb 14, 2026): Hi, @hyoban. I'm [Dosu](https://dosu.dev), and I'm helping the Dify team manage their backlog and am marking this issue as stale. **Issue Summary:** - You proposed upgrading the project to Tailwind CSS version 4 for better modern browser support and ESLint integration. - Initially, you noted browser requirements as a blocker. - Later, you clarified the issue is no longer blocked due to progress in issue #20717. - The discussion showed readiness to proceed with the upgrade. **Next Steps:** - Please let me know if this issue is still relevant to the latest version of Dify by commenting here. - Otherwise, this issue will be automatically closed in 15 days. Thanks for your understanding and contribution!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#21381