bookwyrm-social/bookwyrm

Automatic Light/Dark Theme from prefers-color-scheme

開放

#2,106 建立於 2022年5月11日

 (8 則留言) (8 個反應) (0 位負責人)Python (326 個分叉)auto 404
UIenhancementhelp wanted

倉庫指標

星標
 (2,754 顆星)
PR 合併指標
 (PR 指標待抓取)

描述

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.

貢獻者指南