about summary refs log tree commit diff
path: root/ssh:
diff options
context:
space:
mode:
authorSamuel Lidén Borell <samuel@kodafritt.se>2023-01-29 17:55:29 +0100
committerRory& <root@rory.gay>2025-04-26 21:16:43 +0200
commitc7f7b235a8f0d8a3c3fbc8db78aff25d02e79eed (patch)
tree4816765899ffd7dd52f514a3337bb578784cc16e /ssh:
parentClean up flake imports (diff)
downloadcgit-magenta-c7f7b235a8f0d8a3c3fbc8db78aff25d02e79eed.tar.xz
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 'ssh:')
0 files changed, 0 insertions, 0 deletions