Re: [csswg-drafts] [css-color-5] Interpolation of system color keywords (#5780)

@kbabbitt @emilio  so [in CSS Color 4] we still have:

> Interpolating to or from currentcolor is possible. The numerical value used for this purpose is the used value.
> https://drafts.csswg.org/css-color-4/#interpolation

followed by a link to #445 where I said:

> If there is only one special keyword, handling it isn't too bad. If we also need to consider the percentage of system colors, or add new functionality like currentBackground then this becomes rather more complex.

It sounds like, instead of the used values, the proposal is that the result of `color-mix() would need to be:

1. the percentage of all actual resolved colors
2. the percentage of `currentColor`
3. the percentage of `Canvas`
4. ...
19. the percentage of `GrayText`

This seems very complex and heavyweight. Do I understand the proposal correctly? 


-- 
GitHub Notification of comment by svgeesus
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/5780#issuecomment-1019490769 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Sunday, 23 January 2022 13:54:46 UTC