- From: Tim Nguyen via GitHub <sysbot+gh@w3.org>
- Date: Thu, 21 Nov 2024 07:10:28 +0000
- To: public-css-archive@w3.org
> Using currentcolor for backgrounds seems not great if we're using it for foreground too. I'd much rather use `light-dark(rgba(0, 0, 0, .05), rgba(255, 255, 255, .1))` or so. Circling back to this, on second thought, I actually prefer `color-mix()` with `currentColor`. `light-dark(rgba(0, 0, 0, .05), rgba(255, 255, 255, .1))` has no guarantee of being visible against the background, whereas `color-mix()` tinted with `currentColor` is guaranteed to be shown (unless someone changes the foreground to be the same as the background) -- GitHub Notification of comment by nt1m Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/10909#issuecomment-2490235284 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Thursday, 21 November 2024 07:10:29 UTC