From 6c7ae50ec8b94f8dcf364208c8d020ed5d0aeae5 Mon Sep 17 00:00:00 2001 From: ruinivist Date: Sun, 21 Jun 2026 16:36:34 +0000 Subject: [PATCH] feat: gruvbox theme on code --- hugo.toml | 3 +++ themes/starless/layouts/_default/baseof.html | 4 ++++ 2 files changed, 7 insertions(+) diff --git a/hugo.toml b/hugo.toml index 686fff2..ecb6e9b 100644 --- a/hugo.toml +++ b/hugo.toml @@ -8,6 +8,9 @@ disableHugoGeneratorInject = true [outputs] home = ["HTML", "RSS", "JSON"] +[markup.highlight] +style = "gruvbox" + [markup.goldmark.extensions.passthrough] enable = true diff --git a/themes/starless/layouts/_default/baseof.html b/themes/starless/layouts/_default/baseof.html index 06bb7f5..b13868f 100644 --- a/themes/starless/layouts/_default/baseof.html +++ b/themes/starless/layouts/_default/baseof.html @@ -120,6 +120,10 @@ background: rgba(12, 11, 10, 0.86); } + .highlight pre { + padding: 0.5rem 1rem; + } + @media (max-width: 768px) { #search-dialog { margin-top: 1rem;