summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSyndamia <kamen@syndamia.com>2026-03-21 14:15:49 +0200
committerSyndamia <kamen@syndamia.com>2026-03-21 14:15:49 +0200
commit55dcd5d261773ed083a44f1e6aa7d9a74310f88a (patch)
treeaa71630bf92ca4da6aea797d7f06278ec0ea2ef2
parent3248d04627a3bf27cfa565e3a96a176a95c048ab (diff)
downloadcgit_theme-55dcd5d261773ed083a44f1e6aa7d9a74310f88a.tar
cgit_theme-55dcd5d261773ed083a44f1e6aa7d9a74310f88a.tar.gz
cgit_theme-55dcd5d261773ed083a44f1e6aa7d9a74310f88a.zip
feat: Code highlight gruvbox colors
-rw-r--r--theme_userscript.js38
1 files changed, 19 insertions, 19 deletions
diff --git a/theme_userscript.js b/theme_userscript.js
index f695b0e..fb59555 100644
--- a/theme_userscript.js
+++ b/theme_userscript.js
@@ -368,7 +368,6 @@ div#cgit table.blob td.hashes,
div#cgit table.blob td.lines {
margin: 0; padding: 0 0 0 0.5em;
vertical-align: top;
- color: black;
}
div#cgit table.blob td.linenumbers {
@@ -1018,24 +1017,25 @@ div#cgit table.ssdiff td.space div {
min-height: 3em;
}
-/* Style definition file generated by highlight 3.13, http://www.andre-simon.de/ */
-
-body.hl { background-color:#e0eaee; }
-pre.hl { color:#000000; background-color:#e0eaee; font-size:10pt; font-family:'Courier New',monospace;}
-.hl.num { color:#b07e00; }
-.hl.esc { color:#ff00ff; }
-.hl.str { color:#bf0303; }
-.hl.pps { color:#818100; }
-.hl.slc { color:#838183; font-style:italic; }
-.hl.com { color:#838183; font-style:italic; }
-.hl.ppc { color:#008200; }
-.hl.opt { color:#000000; }
-.hl.ipl { color:#0057ae; }
-.hl.lin { color:#555555; }
-.hl.kwa { color:#000000; font-weight:bold; }
-.hl.kwb { color:#0057ae; }
-.hl.kwc { color:#000000; font-weight:bold; }
-.hl.kwd { color:#010181; }
+/* syndamia.com highlighting style (desaturated gruvbox) 21.03.2026 */
+
+td.lines { color:#ffeede; }
+
+.hl.erm { color:#ff0000; font-weight:bold; border:solid 1px red; margin-left: 3em; }
+.hl.err { color:#ff0000; font-weight:bold; }
+.hl.kwf { color:#750dc3; }
+
+.hl.slc, .hl.com { color: #928374; }
+.hl.pps, .hl.sng { color: #b8bb26; }
+.hl.kwb, .hl.kwc { color: #fabd2f; }
+.hl.num { color: #d3869b; }
+.hl.ipl { color: #d3869b; }
+.hl.kwd { color: #b8bb26; font-weight: bold; }
+.hl.kwa { color: #fb4934; }
+.hl.opt { color: #fa8019; }
+.hl.ppc { color: #8ec07c; }
+.hl.esc { color: #fa8019; }
+.hl.kwe { color: inherit; }
`
document.styleSheets[0].disabled = true