2
0
mirror of https://git.zx2c4.com/cgit/ synced 2024-11-13 19:12:05 +00:00
cgit/filters/html-converters
Samuel Lidén Borell 8ed1bef90f 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>
2023-02-08 13:50:05 -03:00
..
man2html filters: misc cleanups 2015-10-12 16:47:47 +02:00
md2html css: Support for dark mode 2023-02-08 13:50:05 -03:00
rst2html filters: misc cleanups 2015-10-12 16:47:47 +02:00
txt2html filters: apply HTML escaping 2015-08-12 14:13:44 +02:00