- From: Joey Arhar via GitHub <sysbot+gh@w3.org>
- Date: Tue, 30 Mar 2021 23:43:26 +0000
- To: public-css-archive@w3.org
> I would be interested to know about these magic numbers What I currently have implemented in chrome is [a check to see if the relative luminance is less than 0.5](https://source.chromium.org/chromium/chromium/src/+/master:ui/native_theme/native_theme_base.cc;l=156-158;drc=8c9f1381dfb11c18406d5bea790ec4e8a59ab2e7), which is sort of a magic number that I imagine will be adjusted unless we decide to do something really different here. There is some similar [chrome UI code which has a separate magic number](https://source.chromium.org/chromium/chromium/src/+/master:ui/gfx/color_utils.cc;l=33-36;drc=184bf7b03160ebf2217ab4711118d013a750908a), which I could see myself reusing... -- GitHub Notification of comment by josepharhar Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/6159#issuecomment-810648646 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Tuesday, 30 March 2021 23:43:28 UTC