From: Chris Morgan Date: Wed, 2 Feb 2022 15:21:57 +0000 (+1100) Subject: Use my bland colours for highlighting X-Git-Url: https://git.chrismorgan.info/gitweb/commitdiff_plain/1e764923eb029c7fbe20af5935905f7ab173cf3e Use my bland colours for highlighting Imperfect, but a good start. --- diff --git a/static/gitweb.css b/static/gitweb.css index 025f996..e549474 100644 --- a/static/gitweb.css +++ b/static/gitweb.css @@ -689,20 +689,14 @@ div.remote { } -/* Style definition generated by highlight 2.4.5, http://www.andre-simon.de/ */ - -/* Highlighting theme definition: */ - -.num { color:#2928ff; } -.esc { color:#ff00ff; } -.str { color:#ff0000; } -.dstr { color:#818100; } -.slc { color:#838183; font-style:italic; } -.com { color:#838183; font-style:italic; } -.dir { color:#008200; } -.sym { color:#000000; } -.line { color:#555555; } -.kwa { color:#000000; font-weight:bold; } -.kwb { color:#830000; } -.kwc { color:#000000; font-weight:bold; } -.kwd { color:#010181; } +/* Unknown ones included because something like them was in upstream gitweb: str, dstr, dir, sym. */ +.num { color: #00c; } +.esc { color: #c00; font-weight: bold; font-style: italic; } +.str, .dstr, .sng, .pps { color: #c00; } +.slc, .com { color: #090; font-style: italic; } +.ppc, .pps { font-style: italic; } +/*.dir { color: #008200; }*/ +/*.sym { color: #000000; }*/ +/*.line { color: #555555; }*/ +.kwa, .kwb, .kwc { color: #000; font-weight: bold; } +/* Problems with the current syntax highligher: (a) macros and functions are highlighted the same (kwd); (b) attributes highlight the rest of the line, not just inside the #[…]. */