Skip to content

Conversation

@thecrypticace
Copy link
Contributor

Fixes tailwindlabs/tailwindcss-intellisense#1313

Right now given this CSS:

@theme reference { --text-header: 1.5rem; } @utility text-header { text-transform: uppercase; }

You'll see two entries for text-header in IntelliSense completions but we only want you to see one. This PR solves this by merging their modifier lists and de-duping by class name.

@thecrypticace thecrypticace force-pushed the fix/dupe-utility-suggestions branch from 7bd0709 to 57300d5 Compare May 9, 2025 17:38
@thecrypticace thecrypticace marked this pull request as ready for review May 9, 2025 17:43
@thecrypticace thecrypticace requested a review from a team as a code owner May 9, 2025 17:43
@thecrypticace thecrypticace enabled auto-merge (squash) May 9, 2025 20:09
@thecrypticace thecrypticace merged commit f0986ce into main May 9, 2025
7 checks passed
@thecrypticace thecrypticace deleted the fix/dupe-utility-suggestions branch May 9, 2025 20:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants