X-Git-Url: http://www.git.stargrave.org/?a=blobdiff_plain;f=lib%2FPublicInbox%2FUserContent.pm;h=468e6cf168b5a5021460d8cb6e14a1c7f22d50d8;hb=8b8577f91109e76d12fcfa55a2e7388f54a41be6;hp=514cd952c6d2f0e3f0b67963557805e7ac4053de;hpb=603d9ebc517fcf89ab6d2e7845b118aa6b8e9069;p=public-inbox.git diff --git a/lib/PublicInbox/UserContent.pm b/lib/PublicInbox/UserContent.pm index 514cd952..468e6cf1 100644 --- a/lib/PublicInbox/UserContent.pm +++ b/lib/PublicInbox/UserContent.pm @@ -38,22 +38,24 @@ sub CSS () { *.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. + * highlight 3.x colors (tested 3.18) for displaying blobs. + * 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.num { color:#f30 } /* number */ + .hl.esc { color:#f0f } /* escape character */ + .hl.str { color:#f30 } /* string */ + .hl.ppc { color:#f0f } /* preprocessor */ + .hl.pps { color:#f30 } /* preprocessor string */ + .hl.slc { color:#09f } /* single-line comment */ + .hl.com { color:#09f } /* multi-line comment */ + /* .hl.opt { color:#ccc } */ /* operator */ + /* .hl.ipl { color:#ccc } */ /* interpolation */ + /* .hl.lin { color:#ccc } */ /* line-number (unused by public-inbox) */ + + /* keyword groups kw[a-z] */ .hl.kwa { color:#ff0 } - .hl.kwb { color:#0ff } + .hl.kwb { color:#0f0 } .hl.kwc { color:#ff0 } /* .hl.kwd { color:#ccc } */ _