Closed Triloworld closed 2 years ago
The fact that the plugin disables default utilities should be mentioned in the documentation.
Hey! So this plugin is not deprecated, as it's still useful if you need to support Safari 14, which I suspect most people still do. For example, even on the new Tailwind CSS documentation website we're still using this plugin for all areas that we need aspect ratio support (other than on the new aspect-ratio utilities page, of course).
@kamilmedrala Yes, good call, it's on our TODO list 👍
Looks great!
About adding plugin in PlayCDN: https://github.com/tailwindlabs/tailwindcss.com/pull/1060
Why default settings is exclusive rather inclusive of variety of options? Adding plugin is a way to add more options. Just editing default setting won't break anything and only be aligned with expectation from newcomers. That's win - win for anybody and don't need documentation for that type. Just curious, maybe something working differently than expected?
What version of @tailwindcss/aspect-ratio are you using?
0.4.0
What version of Node.js are you using?
v14.17.2
What browser are you using?
Chrome
What operating system are you using?
Windows
Reproduction repository
Tailwind 3.0.0 now in core have this plugin! Check official docs
Describe your issue
By default this plugin is no longer needed for new version. Pleas block usage of it or write message and in console.log warm about incompatibility.
Doc: https://tailwindcss.com/docs/aspect-ratio
Right now Plugin remove default one options and replace with one provided in readme.md (not merge plugin and core options) This isn't needed as can be used in syntax [] for any variants, new options can be defined in tailwindcss.config.js and no need separate plugin.