bookwyrm-social/bookwyrm

Automatic Light/Dark Theme from prefers-color-scheme

Aberta

#2.106 aberto em 11 de mai. de 2022

 (8 comentários) (8 reações) (0 responsável)Python (326 forks)auto 404
UIenhancementhelp wanted

Métricas do repositório

Stars
 (2.754 estrelas)
Métricas de merge de PR
 (Métricas PR pendentes)

Description

The light and dark themes, as they exist currently, are wonderful. However, for those of us who set our theme dynamically, it is frustrating to have to manually adjust the theme in settings whenever the sun (dis)appears.

It would be wonderful if we could add an Automatic (Light/Dark) theme that utilizes either some media queries in CSS for prefers-color-scheme or, if that's not possible, even some client-side JS.

More than happy to help implement this, would just need some pointers as to where to start.

Guia do colaborador