The opacity function uses comma-separated rgb syntax while attempting to apply a non-trivial level of transparency:
|
return `rgb(${r}, ${g}, ${b} / ${opacity})` |
This breaks the shadow colors in dark mode:
vs
I'd expect this:
I'm using Tailwind 4.1.13 and version 0.5.18 of this plugin.
The
opacityfunction uses comma-separatedrgbsyntax while attempting to apply a non-trivial level of transparency:tailwindcss-typography/src/styles.js
Line 24 in b316f95
This breaks the shadow colors in dark mode:
vs
I'd expect this:
I'm using Tailwind 4.1.13 and version 0.5.18 of this plugin.