Skip to content

Commit 1fc6312

Browse files
Merge pull request #67 from stevecochrane/update-readme
Update README
2 parents 484f9af + 1d884fa commit 1fc6312

File tree

1 file changed

+18
-11
lines changed

1 file changed

+18
-11
lines changed

README.md

Lines changed: 18 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -351,18 +351,16 @@ While everything in the [CSS Logical Properties and Values Level 1](https://www.
351351
specification has been evaluated and most features are supported, this plugin does not generate utilities for
352352
everything. If something does not have a non-logical equivalent in Tailwind's defaults, it is not supported.
353353

354-
- Logical Values for the `caption-side` property: I just noticed as I was wrapping up v4.0.0 that Tailwind added
355-
support for `caption-side` in v4! I will add the logical equivalent in a future update.
354+
- Logical Values for the `caption-side` property: Tailwind only has `caption-side` utilities for the vertical axis, and
355+
according to the spec, `top` and `bottom` qualify as logical values already.
356356
- Flow-relative Border Styles: Tailwind only has `border-style` utilities for all sides of an element at once.
357357

358358
As for other logical properties and values from outside of the main specification:
359359

360-
- Flow-relative Overflow properties `overflow-block` and `overflow-inline`: while Tailwind does support `overflow`,
361-
this plugin does not support `overflow-block` or `overflow-inline` yet, due to a lack of browser support and
362-
polyfills. As of June 2024,
363-
[only Firefox supports them](https://caniuse.com/mdn-css_properties_overflow-block), and as far as I can
364-
tell there are no polyfills available. (Neither postcss-preset-env nor postcss-logical apply any transformations on
365-
these properties.)
360+
- Flow-relative Overflow properties `overflow-block` and `overflow-inline`: for several years these were only supported
361+
by Firefox, but now they are considered Baseline 2025 and are
362+
[supported by all major browsers](https://caniuse.com/mdn-css_properties_overflow-block). I aim to add support for
363+
these in the near future.
366364

367365
If there are any notable omissions that you think should be supported, please
368366
[file an issue](https://github.com/stevecochrane/tailwindcss-logical/issues) and let me know.
@@ -407,21 +405,30 @@ values will be converted to attribute selectors that any browser can understand.
407405
At this point I consider this plugin feature complete, but I will continue to monitor official specifications, as well
408406
as Tailwind itself, and update this plugin accordingly when anything changes.
409407

410-
One thing I do plan to do is add support for `caption-side`, now that it is part of Tailwind itself. I will also
411-
consider dropping the legacy plugin API and building entirely with CSS in the Tailwind v4 way eventually, if there is
412-
enough value in doing so.
408+
I've tried dropping the legacy plugin API and building entirely with CSS the Tailwind v4 way, though the documentation isn't enough for my needs and all of the official Tailwind plugins still use the legacy API, so I haven't seen any functional examples. I might try again at some point if more examples appear and if there's enough value in doing so.
413409

414410
## Contributing
415411

416412
If you would like to contribute, pull requests are totally welcome, though I recommend starting by
417413
[filing an issue](https://github.com/stevecochrane/tailwindcss-logical/issues).
418414

415+
Updating the unit tests is a real pain and I would not wish that upon anybody, especially someone kind enough to
416+
contribute to this project, so if you contribute an update to the plugin, I can handle the tests.
417+
419418
1. Fork the project
420419
2. Check out a feature branch (e.g. `git checkout -b feature-foo-bar`)
421420
3. Commit changes (e.g. `git commit -am 'Add foo bar'`)
422421
4. Push the branch (e.g. `git push origin feature-foo-bar`)
423422
5. Create a new Pull Request
424423

424+
## Thanks
425+
426+
Mona Uppenkamp ([@MUppenkamp on GitHub](https://github.com/MUppenkamp)) for contributing support for custom spacing
427+
variables.
428+
429+
Mohamed Ashraf (سعدني, [@sa3dany on GitHub](https://github.com/sa3dany)) for making the demo more prominent in the
430+
README.
431+
425432
## Contact
426433

427434
Steve Cochrane (steve@stevecochrane.com)

0 commit comments

Comments
 (0)