Use my bland colours for highlighting
authorChris Morgan <me@chrismorgan.info>
committerChris Morgan <me@chrismorgan.info>
Imperfect, but a good start.
static/gitweb.css

index 025f996de2841f5c758c88af5c10d2154e8b9e4c..e549474ae072f805b0bdaac6cfc4557ce69bc830 100644 (file)
@@ -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 #[…]. */