elementary/website

Support dark color schemes

Aberta

#2.192 aberto em 15 de mai. de 2019

 (5 comentários) (4 reações) (0 responsável)PHP (712 forks)github user discovery
HacktoberfestStatus: In Progress

Métricas do repositório

Stars
 (1.263 estrelas)
Métricas de merge de PR
 (Mesclagem média 20h 18m) (40 fundiu PRs em 30d)

Description

With browsers across macOS, Android, Windows, and soon iOS and GNOME Web supporting the prefers-color-scheme media query, we should support it for our site as well. This involves a few tasks:

  • Support the media query itself with a specific dark color scheme
  • Check images and ensure major ones (i.e. on the front page) don't have hardcoded white backgrounds—instead, we should use transparent PNGs
  • Test at least on macOS Safari and Chrome Canary for Android

More info: https://webkit.org/blog/8840/dark-mode-support-in-webkit/

Guia do colaborador