aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/hooks
diff options
context:
space:
mode:
authorSamuel Lidén Borell <samuel@kodafritt.se>2023-01-29 17:55:29 +0100
committerJason A. Donenfeld <Jason@zx2c4.com>2023-02-08 17:50:05 +0100
commit8ed1bef90f631989c0cadc326a163b874a64e02d (patch)
treea5fa7dbbba44450a08c5f91f36774dc8c4016059 /contrib/hooks
parentf37dd0dd3a8e48eb0ee59ba6fe53b6ebf92566b1 (diff)
downloadcgit-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 'contrib/hooks')
0 files changed, 0 insertions, 0 deletions