tailwindcss icon indicating copy to clipboard operation
tailwindcss copied to clipboard

Add `prefers-reduced-transparency` variants

Open lukewarlow opened this issue 9 months ago • 3 comments

Adds support for the prefers-reduced-transparency media query.

I've implemented and filed a Chrome Intent to Ship for this feature: https://groups.google.com/a/chromium.org/g/blink-dev/c/EiZ2vlPy9xs

lukewarlow avatar Jul 26 '23 14:07 lukewarlow

Draft while we wait for the 3 LGTM on the I2S. I'll comment here to let you know when I unflag the support.

lukewarlow avatar Jul 26 '23 14:07 lukewarlow

Got the 3 approvals to ship so this media query will be coming to chrome 118

lukewarlow avatar Aug 16 '23 19:08 lukewarlow

Hey!

You might have noticed that I forced pushed to this branch. The reason is because the PR now uses next as the base branch which is our working branch for Tailwind CSS v4. In other words, the feature you implemented here is now written in the new codebase.

The code is ported as-is, so no API changes of your feature happened while moving it to the new codebase.

I also made sure to add you as a co-author because you still deserve all the credit 💪

RobinMalfait avatar Apr 17 '24 21:04 RobinMalfait