diff options
author | Arjun Satarkar <me@arjunsatarkar.net> | 2023-06-10 23:13:58 +0000 |
---|---|---|
committer | Arjun Satarkar <me@arjunsatarkar.net> | 2023-06-10 23:15:14 +0000 |
commit | d232e912d1ecc5461b284c1475bd36a7e54615f8 (patch) | |
tree | 9bc15e5ff2738a32fb7a4d0885598f517f0c7942 /filters/email-libravatar.lua | |
parent | 00ecfaadea2c40cc62b7a43e246384329e6ddb98 (diff) | |
download | cgit-d232e912d1ecc5461b284c1475bd36a7e54615f8.tar cgit-d232e912d1ecc5461b284c1475bd36a7e54615f8.tar.gz cgit-d232e912d1ecc5461b284c1475bd36a7e54615f8.zip |
Add dark mode support
This commit checks out cgit.css from commit
8ed1bef90f631989c0cadc326a163b874a64e02d (metadata reproduced below)
From: Samuel Lidén Borell <samuel@kodafritt.se>
Date: Sun, 29 Jan 2023 17:55:29 +0100
Subject: css: Support for dark mode
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
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 'filters/email-libravatar.lua')
0 files changed, 0 insertions, 0 deletions