Skip to content

Add custom variant as an alternative to docs#592

Merged
dcastil merged 2 commits intodcastil:mainfrom
kidonng:patch-1
Jun 17, 2025
Merged

Add custom variant as an alternative to docs#592
dcastil merged 2 commits intodcastil:mainfrom
kidonng:patch-1

Conversation

@kidonng
Copy link
Contributor

@kidonng kidonng commented Jun 17, 2025

As per discussion in #568.

The section hints at changing specificity since there can be many ways to approach it (like using @layer), but only :where() is listed as an example as that's what I find most straightforward.

@github-actions github-actions bot added the context-v3 Related to tailwind-merge v3 label Jun 17, 2025
Copy link
Owner

@dcastil dcastil left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the addition! Just need to fix the comment syntax, but otherwise good to go.

Co-authored-by: Dany Castillo <31006608+dcastil@users.noreply.github.com>
@dcastil dcastil added the documentation Improvements or additions to documentation label Jun 17, 2025
@dcastil dcastil changed the title Add custom variant as an alternative Add custom variant as an alternative to docs Jun 17, 2025
@codspeed-hq
Copy link

codspeed-hq bot commented Jun 17, 2025

CodSpeed Performance Report

Merging #592 will not alter performance

Comparing kidonng:patch-1 (f06f9df) with main (40d8fee)

Summary

✅ 5 untouched benchmarks

@dcastil dcastil merged commit 229ad66 into dcastil:main Jun 17, 2025
5 checks passed
@github-actions
Copy link

github-actions bot commented Nov 9, 2025

This was addressed in release v3.4.0.

Repository owner deleted a comment from github-actions bot Feb 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

context-v3 Related to tailwind-merge v3 documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments