-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat/breaking: Tailwind CSS v4 support (#7)
* add support for transform-style * feat: add support for new rotate utilities * feat: add perspective utilities * feat: add perspective-origin utilities * feat: add linear gradient angles * feat: add radial and conic gradients * feat: add inset-shadow and inset-ring utilities * feat: add field-sizing utilities * feat: add color-scheme utilities * feat: add font-stretch utilities * feat: add renamed utilities and mark deprecated but still supported classes * feat: add support for arbitrary custom properties (CSS variables) and re-achitect TwMergeConfig * feat: add support for important modifier at the end of base class name * feat: remove configurable separator * feat: add support for new prefix syntax * test: add test case for arbitrary variant without & symbol * feat: add OrderSensitiveModifiers * build(deps): add compatibility with .NET 9 * refactor: use StringBuilder for CSS classes concatenation * test: add test for modifiers order * docs: create limitations.md * docs: create README.md * docs: create what-is-it-for.md * docs: create api-reference.md * docs: create configuration.md * docs: update features.md * chore: update README.md * ci(build-test): add .net9 compatibility * ci(nuget-publish): add .net9 compatibility
- Loading branch information
1 parent
836cd41
commit 923fc3c
Showing
29 changed files
with
3,512 additions
and
2,380 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
<div align="center"> | ||
<br /> | ||
<a href="https://github.com/desmondinho/tailwind-merge-dotnet"> | ||
<img src="https://raw.githubusercontent.com/desmondinho/tailwind-merge-dotnet/HEAD/assets/logo.svg" alt="tailwind-merge-dotnet" height="150px" /> | ||
</a> | ||
</div> | ||
|
||
# tailwind-merge-dotnet | ||
|
||
A utility service to efficiently merge [Tailwind CSS](https://tailwindcss.com) classes in C# without style conflicts. | ||
|
||
- Supports Tailwind CSS v4 (if you use Tailwind v3, use tailwind-merge-dotnet v0.3.0) | ||
- Thread-safe LRU caching | ||
- Compatible with .NET 8 and 9 | ||
|
||
## Get Started | ||
|
||
- [What is it for](./what-is-it-for.md) | ||
- [Features](./features.md) | ||
- [Limitations](./limitations.md) | ||
- [Configuration](./configuration.md) | ||
- [API reference](./api-reference.md) | ||
|
||
## Contributing | ||
|
||
Contributions are always welcome! | ||
|
||
See [CONTRIBUTING.md](CONTRIBUTING.md) for ways to get started. Please adhere to this project's [CODE_OF_CONDUCT](CODE_OF_CONDUCT.md). | ||
|
||
## Acknowledgements 🙏 | ||
|
||
This project is a C# adaptation of [tailwind-merge](https://github.com/dcastil/tailwind-merge) originally developed by [dcastil](https://github.com/dcastil). |
Oops, something went wrong.