aboutsummaryrefslogtreecommitdiff
path: root/handle_repo_tree.go
diff options
context:
space:
mode:
authorRunxi Yu <me@runxiyu.org>2025-02-10 15:11:17 +0800
committerRunxi Yu <me@runxiyu.org>2025-02-10 15:11:17 +0800
commite4a4866859dd386844d9a6a34a1a25da6e09a4b1 (patch)
treefef254ede63226ed660a116f4e9a2d7af8a71cb1 /handle_repo_tree.go
parentrepo_tree: Attempt to use the xcode theme (diff)
downloadforge-e4a4866859dd386844d9a6a34a1a25da6e09a4b1.tar.gz
forge-e4a4866859dd386844d9a6a34a1a25da6e09a4b1.tar.zst
forge-e4a4866859dd386844d9a6a34a1a25da6e09a4b1.zip
repo_tree: Attempt to use the autumn theme
Diffstat (limited to 'handle_repo_tree.go')
-rw-r--r--handle_repo_tree.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/handle_repo_tree.go b/handle_repo_tree.go
index 1a2c810..af4d2be 100644
--- a/handle_repo_tree.go
+++ b/handle_repo_tree.go
@@ -81,7 +81,7 @@ func handle_repo_tree(w http.ResponseWriter, r *http.Request) {
return
}
var formatted_unencapsulated bytes.Buffer
- style := chroma_styles.Get("xcode")
+ style := chroma_styles.Get("autumn")
formatter := chroma_formatters_html.New(chroma_formatters_html.WithClasses(true), chroma_formatters_html.TabWidth(8))
formatter.Format(&formatted_unencapsulated, style, iterator)
formatted_encapsulated := template.HTML(formatted_unencapsulated.Bytes())