Skip to content

Conversation

@RobinMalfait
Copy link
Member

This PR is a followup of #18867, but this time we won't allow @custom-variant to end with - or _.

The same reasoning applies here where Oxide doesn't pick this up but Intellisense and Tailwind CSS' core does.

RobinMalfait and others added 4 commits September 3, 2025 17:04
Co-Authored-By: Jordan Pittman <thecrypticace@gmail.com>
Co-Authored-By: Jordan Pittman <thecrypticace@gmail.com>
Test that `@custom-variant` cannot end with `-` or `__`

Co-Authored-By: Jordan Pittman <thecrypticace@gmail.com>
Co-Authored-By: Jordan Pittman <thecrypticace@gmail.com>
@RobinMalfait RobinMalfait requested a review from a team as a code owner September 3, 2025 15:23
Co-Authored-By: Jordan Pittman <thecrypticace@gmail.com>
@RobinMalfait RobinMalfait enabled auto-merge (squash) September 3, 2025 15:28
@RobinMalfait RobinMalfait merged commit 65dc530 into main Sep 3, 2025
7 checks passed
@RobinMalfait RobinMalfait deleted the fix/disallow-variants-ending-in-dash-or-underscore branch September 3, 2025 15:30
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.

3 participants