aboutsummaryrefslogtreecommitdiffstats
path: root/filters/syntax-highlighting.sh
diff options
context:
space:
mode:
authorsaturneric <[email protected]>2025-11-09 02:18:51 +0000
committersaturneric <[email protected]>2025-11-09 02:18:51 +0000
commit22bde5a56741782dad55853707979b9fd2deb209 (patch)
treed163c4376fa28485e40b3a9aa3264823f857c7be /filters/syntax-highlighting.sh
parentchore(ui): update `cgit.png` asset (diff)
downloadcgit-22bde5a56741782dad55853707979b9fd2deb209.tar.gz
cgit-22bde5a56741782dad55853707979b9fd2deb209.zip
style(html-rendering): update theme to dark mode
* Switches syntax highlighting style to `monokai` and `darkplus` * Adjusts CSS for improved dark mode readability * Enhances accessibility and visual consistency for dark backgrounds
Diffstat (limited to 'filters/syntax-highlighting.sh')
-rwxr-xr-xfilters/syntax-highlighting.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/filters/syntax-highlighting.sh b/filters/syntax-highlighting.sh
index 3de95fa..f19be13 100755
--- a/filters/syntax-highlighting.sh
+++ b/filters/syntax-highlighting.sh
@@ -118,4 +118,4 @@ EXTENSION="${BASENAME##*.}"
#exec highlight --force -f -I -X -S "$EXTENSION" 2>/dev/null
# This is for version 3
-exec highlight --force --inline-css -f -I -O xhtml -S "$EXTENSION" 2>/dev/null
+exec highlight --force --style=darkplus --inline-css -f -I -O xhtml -S "$EXTENSION" 2>/dev/null