Toot

Written by Mia (web luddite) on 2024-09-18 at 23:30

@aaadaaam I'm seeing two different issues:

In all browsers, you have to remove the deg units from the hue calculation. The h returns a number (no unit), and it seems numbers and lengths aren't compatible for +/- operations in general. This isn't specific to relative colors.

In Safari 18TP (the only browser with full RCS support), light-dark() works fine at that point. I expect light-dark() has similar difficulties to currentColor.

=> More informations about this toot | View the thread | More toots from mia@front-end.social

Mentions

=> View aaadaaam@mastodon.social profile

Tags

Proxy Information
Original URL
gemini://mastogem.picasoft.net/toot/113161156271628534
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
253.177554 milliseconds
Gemini-to-HTML Time
0.855906 milliseconds

This content has been proxied by September (ba2dc).