Skip to content

Conversation

trueadm
Copy link
Collaborator

@trueadm trueadm commented Oct 22, 2024

Fixes #422 (comment). Turns out Safari fixed hsl support in v18, before that it is majorly broken.

Copy link

vercel bot commented Oct 22, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
omnisite ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 22, 2024 0:56am

@Conduitry
Copy link
Member

Once we confirm this works well, I think it would be nice to leave the original HSL values there in comments - along with some sort of note about why we're not using them directly - so that future changes can be made more easily. A fancier build process that converts HSL to RGB is probably overkill at this point - I think just having the comments would be fine.

@Rich-Harris
Copy link
Member

We don't need to move away from hsl, we just need to use the old-fashioned form:

-hsl(0 1 2)
+hsl(0, 1%, 2%)

@trueadm
Copy link
Collaborator Author

trueadm commented Oct 22, 2024

I'll do that instead then

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

syntax highlighting is broken in safari

3 participants