tailwindlabs / tailwindcss

A utility-first CSS framework for rapid UI development.
https://tailwindcss.com/
MIT License
83.27k stars 4.22k forks source link

Implement compat for `<alpha-value>` from v3 #15033

Closed thecrypticace closed 2 days ago

thecrypticace commented 3 days ago

This implements backwards compatibility for colors that use the old <alpha-value> feature from v3. We can do this by replacing <alpha-value> with 1 because we use color-mix to actually apply opacity modifiers in v4.