Closed
Description
Subtle bug using safari 15.8
Tailwind 4.1 oklch colors don't work on old safary if decimal is provided instead of percentage.
oklch(70% 0.15 162) This will work ✅
oklch(0.70 0.15 162) This won't ❌
System
Using Vite (svelte) + Tailwind 4.1.7 + node 22.14
Reproduction sample:
https://play.tailwindcss.com/fPW5BsNPNT
Note
Using decimal for lightness oklch(0.70 0.15 162) works on safari 15.8 plain css... So its seems to be a tailwind bug.
Thanks fort the support!
Metadata
Metadata
Assignees
Labels
No labels