diff options
author | Eric Wong <e@80x24.org> | 2019-01-27 11:38:42 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2019-01-27 11:43:34 +0000 |
commit | 603d9ebc517fcf89ab6d2e7845b118aa6b8e9069 (patch) | |
tree | dd5b7906bd1cc02992a058aa350f8686f0f87d99 /lib/PublicInbox/UserContent.pm | |
parent | fd8e62c1ed9b9f7eb851a263a9ada2cb8c182193 (diff) | |
download | public-inbox-603d9ebc517fcf89ab6d2e7845b118aa6b8e9069.tar.gz |
And update 216dark.css to match a color scheme I'm used to; which is fairly minimal and doesn't use all the classes "highlight" provides.
Diffstat (limited to 'lib/PublicInbox/UserContent.pm')
-rw-r--r-- | lib/PublicInbox/UserContent.pm | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/lib/PublicInbox/UserContent.pm b/lib/PublicInbox/UserContent.pm index b34ebf91..514cd952 100644 --- a/lib/PublicInbox/UserContent.pm +++ b/lib/PublicInbox/UserContent.pm @@ -36,6 +36,26 @@ sub CSS () { *.del { color:#f0f } *.head { color:#fff } *.hunk { color:#c93 } + + /* + * highlight 3.x colors (tested 3.18) + * this doesn't use most of the colors available (I find too many + * colors overwhelming). So the #ccc default is commented out. + */ + .hl.num { color:#f30 } + .hl.esc { color:#f0f } + .hl.str { color:#f30 } + .hl.pps { color:#f30 } + /* .hl.slc { color:#ccc } */ + .hl.com { color:#09f } + .hl.ppc { color:#f0f } + /* .hl.opt { color:#ccc } */ + /* .hl.ipl { color:#ccc } */ + /* .hl.lin { color:#ccc } */ + .hl.kwa { color:#ff0 } + .hl.kwb { color:#0ff } + .hl.kwc { color:#ff0 } + /* .hl.kwd { color:#ccc } */ _ } # end of auto-updated sub |