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 17:50:05 +0100 |
commit | 8ed1bef90f631989c0cadc326a163b874a64e02d (patch) | |
tree | a5fa7dbbba44450a08c5f91f36774dc8c4016059 /source-code-pro/OTF | |
parent | f37dd0dd3a8e48eb0ee59ba6fe53b6ebf92566b1 (diff) | |
download | cgit-8ed1bef90f631989c0cadc326a163b874a64e02d.tar.gz cgit-8ed1bef90f631989c0cadc326a163b874a64e02d.tar.xz |
css: Support for dark modeorigin/jd/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 'source-code-pro/OTF')
0 files changed, 0 insertions, 0 deletions