Skip to content

Conversation

@AloisH
Copy link
Contributor

@AloisH AloisH commented Mar 7, 2025

πŸ”— Linked issue

#1087

❓ Type of change

  • πŸ“– Documentation (updates to the documentation, readme or JSdoc annotations)
  • 🐞 Bug fix (a non-breaking change that fixes an issue)
  • πŸ‘Œ Enhancement (improving an existing functionality like performance)
  • ✨ New feature (a non-breaking change that adds functionality)
  • 🧹 Chore (updates to the build process or auxiliary tools and libraries)
  • ⚠️ Breaking change (fix or feature that would cause existing functionality to change)

πŸ“š Description

This change is required because we are currently not applyting properly tailwind negavite modifier with prefix.

  • Added handleNegativeVariants function to handle proper prefix application.
  • Ensured negative modifiers are correctly interpreted.

Resolves #1087

πŸ“ Checklist

  • I have linked an issue or discussion.
  • I have updated the documentation accordingly.

@AloisH AloisH force-pushed the fix-tailwind-negative-modifiers branch from 5bc4ec0 to ae8eb38 Compare March 7, 2025 17:56
@dbssman
Copy link

dbssman commented Jul 1, 2025

@sadeghbarati Could you take a look into this, it seems a correct fix and simple enough :) thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

shadcn-ui Changes depends on original repo

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Tailwind prefix misapplied on negative values

3 participants