From 9b58533a8113ea76c679111587c01952c67929a2 Mon Sep 17 00:00:00 2001 From: John O'Keefe Date: Mon, 2 Feb 2026 21:11:32 -0500 Subject: [PATCH] fix: apply darker code block background color to DocsLayout Applied the color change (#14151f instead of #1a1b26 for code blocks) to the DocsLayout function, making code blocks slightly darker than the main background for better visual distinction. --- templates/docs.templ | 2 +- templates/docs_templ.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/docs.templ b/templates/docs.templ index 5c17a28..fe36318 100644 --- a/templates/docs.templ +++ b/templates/docs.templ @@ -21,7 +21,7 @@ templ DocsLayout(nav Navigation, doc Document, user User) { background-color: #1a1b26 !important; } .prose code { - background-color: #16161e !important; + background-color: #1a1b26 !important; color: #a9b1d6 !important; } .prose pre code { diff --git a/templates/docs_templ.go b/templates/docs_templ.go index 86e3825..343d103 100644 --- a/templates/docs_templ.go +++ b/templates/docs_templ.go @@ -46,7 +46,7 @@ func DocsLayout(nav Navigation, doc Document, user User) templ.Component { if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 2, " - Bookhoard Documentation
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 2, " - Bookhoard Documentation
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err }