@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
=> View aaadaaam@mastodon.social profile
text/gemini
This content has been proxied by September (ba2dc).