rizzui icon indicating copy to clipboard operation
rizzui copied to clipboard

Some classnames do not work with Tailwind v4

Open mst-mkt opened this issue 11 months ago • 2 comments

description

Tailwind CSS v4 was recently released.

Several older utility classnames that were removed in the newer version are used by this library and will display poorly when used with v4.

ex: bg-opacity-[value] was remove

https://github.com/rizzui/rizzui/blob/824203d7046a265bed458876e6b31daefafe35c4/packages/ui/src/components/modal/modal.tsx#L13-L13

https://github.com/rizzui/rizzui/blob/824203d7046a265bed458876e6b31daefafe35c4/packages/ui/src/components/popover/popover-content.tsx#L74-L75

The removed classnames can be found below. https://tailwindcss.com/docs/upgrade-guide#removed-deprecated-utilities

mst-mkt avatar Jan 30 '25 20:01 mst-mkt

@mst-mkt We're working on adding support for Tailwind v4 in RizzUI. In the meantime, we recommend sticking with v3.

md-nahid avatar Feb 03 '25 13:02 md-nahid

@md-nahid I understand, thank you very much.

Should I close this Issue?

mst-mkt avatar Feb 03 '25 17:02 mst-mkt