Re: [ambient-light] Request for Ambient Light Sensor web developer feedback (#64)

The use case is not in question: it's a great and valid use case. However, what's in question is the solution (ALS) to address the use case. 

The use case seems very tied to `prefers-color-scheme` (literally for UIs, as mentioned). The ALS doesn't have a nice way of hooking into CSS. Wouldn't it make more sense to just add `"dusk"` or whatever to `prefers-color-scheme`? That would afford users control over when the UI is applied, without the need ASL at all (ALS can still be used by the browser to make the "dusk" determination - or the user can just choose "I always prefer dusk... or just let the system decide (auto), like in MacOS"). 



-- 
GitHub Notification of comment by marcoscaceres
Please view or discuss this issue at https://github.com/w3c/ambient-light/issues/64#issuecomment-960422853 using your GitHub account


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

Received on Thursday, 4 November 2021 03:18:13 UTC