diff options
author | Samuel Lidén Borell <samuel@kodafritt.se> | 2023-01-29 17:55:29 +0100 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2023-02-08 13:50:05 -0300 |
commit | 8ed1bef90f631989c0cadc326a163b874a64e02d (patch) | |
tree | a5fa7dbbba44450a08c5f91f36774dc8c4016059 /filter.c | |
parent | f37dd0dd3a8e48eb0ee59ba6fe53b6ebf92566b1 (diff) | |
download | cgit-jd/zx2c4-deployment.tar.gz cgit-jd/zx2c4-deployment.tar.bz2 cgit-jd/zx2c4-deployment.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 'filter.c')
0 files changed, 0 insertions, 0 deletions