W3C home > Mailing lists > Public > www-style@w3.org > August 2012

Re: [media-queries] and Ambient Light Sensor API

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Thu, 23 Aug 2012 07:34:02 -0700
Message-ID: <CAAWBYDDGdu3B_hi5K31soUBwZ3nM1KSx85HmsAGZa6y2QENuDA@mail.gmail.com>
To: Fran├žois REMY <fremycompany_pub@yahoo.fr>
Cc: www-style@w3.org, Florian Rivoal <florian@rivoal.net>
On Thu, Aug 23, 2012 at 3:32 AM, Fran├žois REMY
<fremycompany_pub@yahoo.fr> wrote:
> |  The level of contrast you want to pick for your web page
> |  should depend not only on the ambient light level, but also
> |  on the brightness of the screen.
> |  ...
> |  Also, most web authors would probably have no idea
> |  a which level of luminosity they should switch their styling.
> Exactly. This is why I was proposing keywords. However a
> two-state filter can't make the trick here.
> In my sense, we should at least support 4 keywords:
>     - In dark mode, you could switch to a white on black color scheme.
>     - In normal mode, you could use the dark gray on white color scheme.
>     - In bright mode, you could use black on white and remove gradients.
>     - In washed mode, you could switch to pure black/white, use bolder font.

Do you know of any examples of devices that do even 4 levels?  Every
device I know of that adjusts to ambient light just has a two-stage
switch between light and dark.  For example, that's what google maps

Received on Thursday, 23 August 2012 14:35:23 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:20 UTC