Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vltansky/tailwind-merge-logical-plugin
https://github.com/vltansky/tailwind-merge-logical-plugin
Last synced: 22 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/vltansky/tailwind-merge-logical-plugin
- Owner: vltansky
- License: mit
- Created: 2021-12-02T09:05:26.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2021-12-02T10:49:44.000Z (about 3 years ago)
- Last Synced: 2024-04-25T04:01:37.438Z (10 months ago)
- Language: TypeScript
- Size: 219 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# tailwind-merge-logical-plugin
[Tailwind Logical](https://github.com/stevecochrane/tailwindcss-logical) Plugin for [Tailwind Merge](https://github.com/dcastil/tailwind-merge)
```ts
import { extendTailwindMerge } from 'tailwind-merge'
import { withLogical } from 'tailwind-merge-logical-plugin'const customTwMergeWithPluginLogical = extendTailwindMerge(withLogical)
customTwMergeWithPluginLogical(
'mlb-1 mlb-3 hover:border-bs-black',
'hover:border-bs-yellow inset-block-end-[15px]'
)
// → 'mlb-3 hover:border-bs-yellow inset-block-end-[15px]'
```