Skip to content
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

Warning will be thrown for .5 values #27

Closed
mdillgen opened this issue May 30, 2024 · 4 comments
Closed

Warning will be thrown for .5 values #27

mdillgen opened this issue May 30, 2024 · 4 comments

Comments

@mdillgen
Copy link

First of all, thank you!!! It is such a great plugin!

The plugin issues a “Missing end value” warning if decimal values are used, e.g. ~my-1.5/4
In some occasions “Start and end values are both 0.25rem”. Both is not true and everything is working as expected.

Reproduction repo:
https://github.com/mdillgen/next15.git

@barvian
Copy link
Owner

barvian commented May 31, 2024

Thanks for the repo! Looking into this

@mdillgen
Copy link
Author

@barvian Just wanted to add FYI: I have used next15rc for the repo but warnings also appear on latest (next 14.2.3).

barvian added a commit that referenced this issue May 31, 2024
@barvian
Copy link
Owner

barvian commented May 31, 2024

Alright so it looks like this was related to a known Tailwind limitation (see tailwindlabs/tailwindcss#9354). I just released v0.3.9 that now outputs all errors as CSS comments instead of console warnings, which should address this and probably improves the DX overall (see i.e. #20). Here's the updated portion of the docs, if you're interested.

Thanks for reporting! Feel free to leave another comment if you have any feedback

@barvian barvian closed this as completed May 31, 2024
@mdillgen
Copy link
Author

Thanks for the quick reaction!

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

No branches or pull requests

2 participants