aboutsummaryrefslogtreecommitdiffstats
path: root/cache.c
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>2026-09-18 06:18:33 -0400
commit2e40a36b56f26593fe8fab4f07ed831395d5f0d2 (patch)
tree310ee8aa0e591495d17378cf4b127e39baad3c8d /cache.c
parent044821677c774cd24f25f1818ea51d09cc64b006 (diff)
downloadcgit-2e40a36b56f26593fe8fab4f07ed831395d5f0d2.tar.gz
cgit-2e40a36b56f26593fe8fab4f07ed831395d5f0d2.tar.bz2
cgit-2e40a36b56f26593fe8fab4f07ed831395d5f0d2.zip
css: Support for dark mode
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 'cache.c')
0 files changed, 0 insertions, 0 deletions