Skip to content

chore: migrate to Tailwind CSS v3 and update config - #1194

Open
lightning-sagar wants to merge 10 commits into
asyncapi:masterfrom
lightning-sagar:feat/tailwind-v3-migration
Open

chore: migrate to Tailwind CSS v3 and update config#1194
lightning-sagar wants to merge 10 commits into
asyncapi:masterfrom
lightning-sagar:feat/tailwind-v3-migration

Conversation

@lightning-sagar

Copy link
Copy Markdown

Description

Changes proposed in this pull request:

  • upgraded styling dependencies:
    • tailwindcss@3.4.17
    • postcss@8
    • autoprefixer@10
    • @tailwindcss/typography@0.5.9
  • replaced deprecated purge option with the new content field in tailwind.config.js
  • removed unused darkMode configuration (darkMode: false)
  • removed default fontSize values only those are already provided by tailwind v3
  • updated borderColor signature from theme => ({}) to ({ theme }) => ({})
  • updated plugin function from borderColor to typography
    these changes are done for the Library Dir, and the rest are already using tailwind-v3.

Related issue(s)

Resolves #1150

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Welcome to AsyncAPI. Thanks a lot for creating your first pull request. Please check out our contributors guide useful for opening a pull request.
Keep in mind there are also other channels you can use to interact with AsyncAPI community. For more details check out this issue.

@lightning-sagar

Copy link
Copy Markdown
Author

maintainers, please let me know if you would prefer migrating directly to tailwindcsss v4.

since the issue mentions upgrading to v3, I have completed the migration accordingly. but, tailwind v4 has been released, so if the project intends to move to the latest version instead, I can update the migration work to v4 in a follow up pr or adjust this one as needed.

@sonarqubecloud

Copy link
Copy Markdown

@AceTheCreator AceTheCreator left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for picking this up @lightning-sagar, i left you some reviews 👍🏾

Comment thread library/tailwind.config.js
Comment thread library/tailwind.config.js Outdated
@lightning-sagar

Copy link
Copy Markdown
Author

@AceTheCreator thanks,
also i want to ask one thing for my understanding:
the main reason we are migrating to tailwind css v3 is to align the library Tailwind version with other packages like playground right??

I understand the task, but I was a confused what's the main reason... so just wanted to double check that I am on the same page....

@AceTheCreator

Copy link
Copy Markdown
Member

@lightning-sagar any update on this?

@sonarqubecloud

Copy link
Copy Markdown

@lightning-sagar

Copy link
Copy Markdown
Author

@AceTheCreator please review again.. i have updated all the changes mentioned above.

@sonarqubecloud

Copy link
Copy Markdown

@github-actions

Copy link
Copy Markdown
Contributor

This pull request has been automatically marked as stale because it has not had recent activity 😴

It will be closed in 120 days if no further activity occurs. To unstale this pull request, add a comment with detailed explanation.

There can be many reasons why some specific pull request has no activity. The most probable cause is lack of time, not lack of interest. AsyncAPI Initiative is a Linux Foundation project not owned by a single for-profit company. It is a community-driven initiative ruled under open governance model.

Let us figure out together how to push this pull request forward. Connect with us through one of many communication channels we established here.

Thank you for your patience ❤️

@github-actions github-actions Bot added the stale label Jul 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Migrate to Tailwind CSS v3

2 participants