From 9d47af589ee5b7de58cac20a19adb16e69b19211 Mon Sep 17 00:00:00 2001 From: eosfor <9363027+eosfor@users.noreply.github.com> Date: Sat, 22 Aug 2026 21:36:33 -0700 Subject: [PATCH] Improve code syntax contrast --- hugo.yaml | 4 ++-- themes/powershell-community/layouts/_default/baseof.html | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/hugo.yaml b/hugo.yaml index 0e01925c3..40f7316db 100644 --- a/hugo.yaml +++ b/hugo.yaml @@ -19,7 +19,7 @@ markup: renderer: unsafe: false highlight: - style: github + style: github-dark lineNos: true codeFences: true @@ -186,4 +186,4 @@ related: - name: tags weight: 80 - name: categories - weight: 60 \ No newline at end of file + weight: 60 diff --git a/themes/powershell-community/layouts/_default/baseof.html b/themes/powershell-community/layouts/_default/baseof.html index 9e5211d20..4c39f3621 100644 --- a/themes/powershell-community/layouts/_default/baseof.html +++ b/themes/powershell-community/layouts/_default/baseof.html @@ -175,7 +175,7 @@ terminal chrome renders flush; Prism handles token colors. */ .ps-terminal pre { background: transparent; color: #ccc; margin: 0; border-radius: 0; padding: 1.25rem; overflow-x: auto; } - /* Hugo/Chroma highlighted blocks (.highlight) carry their own light + /* Hugo/Chroma highlighted blocks (.highlight) carry their own background; trim the heavier .prose pre padding/margins so they don't read as a wall of whitespace. */ .prose .highlight { margin: 1.25rem 0; border-radius: 0.5rem; overflow: hidden; } @@ -361,4 +361,4 @@ {{ block "scripts" . }}{{ end }} - \ No newline at end of file +