Skip to content

Conversation

@doong-jo
Copy link

@doong-jo doong-jo commented Jul 9, 2024

Hello,

I am finding this open source project very useful. Currently, the latest version of Tailwind CSS is version 3, and the ['responsive'] parameter used previously is no longer valid in this major version. Therefore, it seems necessary to update this open source project to address this change.

image

Breaking changes

Since the intended responsive prefix might not work in version 2, it would be advisable to mention any breaking changes when releasing the new version.

Playground

iShot_2024-07-09_11.34.22.mp4

@reslear
Copy link
Owner

reslear commented Jul 9, 2024

LGTM 🔥
I don't know if it's possible to switch the project to typescript yet?

@doong-jo
Copy link
Author

doong-jo commented Jul 10, 2024

@reslear
I think it's possible, but I don't think this project is actually necessary (tailwind v3 still supports esm). My screenshot is simply a capture of the d.ts file from tailwind (in node_modules). I didn't consider switching to typescript from plugin. 😄

@reslear
Copy link
Owner

reslear commented Dec 18, 2024

so, i found in docs this is already default values:

respectPrefix lets you specify whether Tailwind should automatically prefix your classes with the user's configured prefix. Defaults to true.
respectImportant lets you specify whether Tailwind should automatically mark declarations as !important if the user has configured that in their config file. Defaults to true.

tailwindlabs/tailwindcss#412

i close PR but update tailwind, thx for investigate.

@reslear reslear closed this Dec 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants