Repository with sources and generator of https://larlet.fr/david/ https://larlet.fr/david/
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

index.md 1.2KB

title: S’adapter à la luminosité ambiante

Ambient light detection is one of those features that looks great in simple demos, but which we struggle to put to practical use. It’s not new – many satnav systems automatically change the contrast for driving at night or in tunnels, and our laptops may alter the screen brightness or keyboard backlighting to better adapt to our surroundings. Using web technologies we can adapt our presentation to be better suited to ambient light levels.

Making Sites More Responsive, Responsibly (cache)

Je vous ai déjà parlé de f.lux (prenez 2 minutes pour lire les conditions d’utilisation quand même) pour adapter la luminosité/le rendu de votre écran. Il se trouve qu’il existe aussi des plugins pour changer le thème de votre éditeur. Ça me donne envie d’essayer les événements de lumière ambiante en JavaScript (uniquement disponible sous Gecko/Firefox à ce jour).