diff options
author | Samuel Lidén Borell <samuel@kodafritt.se> | 2023-01-29 16:55:29 +0000 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2023-02-08 16:50:05 +0000 |
commit | 8ed1bef90f631989c0cadc326a163b874a64e02d (patch) | |
tree | a5fa7dbbba44450a08c5f91f36774dc8c4016059 /cgit.h | |
parent | f37dd0dd3a8e48eb0ee59ba6fe53b6ebf92566b1 (diff) | |
download | cgit-8ed1bef90f631989c0cadc326a163b874a64e02d.tar cgit-8ed1bef90f631989c0cadc326a163b874a64e02d.tar.gz cgit-8ed1bef90f631989c0cadc326a163b874a64e02d.zip |
css: Support for dark modejd/zx2c4-deployment
Modern browsers have a "dark mode" preference, which enables alternate
styles on web sites that support this.
This patch adds a dark color scheme, that is automatically activated
via a CSS @media query.
Older browsers that do not support color schemes will simply show the
light scheme, but possibly without syntax highlighting.
Note that filters that use color (such as source highlighters) and
logotypes may need to be updated to work with a black background!
See the updated files in the filters/ directory.
Signed-off-by: Samuel Lidén Borell <samuel@kodafritt.se>
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'cgit.h')
0 files changed, 0 insertions, 0 deletions