From 8fb36a9d528dfd808740adfcadc8631ada913a3a Mon Sep 17 00:00:00 2001 From: Dustin Decker Date: Thu, 7 Aug 2025 15:27:13 -0700 Subject: [PATCH] fix glamour dep --- pkg/tui/common/style.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pkg/tui/common/style.go b/pkg/tui/common/style.go index 8b91d9afa..2003869ad 100644 --- a/pkg/tui/common/style.go +++ b/pkg/tui/common/style.go @@ -1,8 +1,8 @@ package common import ( - "github.com/charmbracelet/glamour" gansi "github.com/charmbracelet/glamour/ansi" + "github.com/charmbracelet/glamour/styles" ) func strptr(s string) *string { @@ -12,7 +12,8 @@ func strptr(s string) *string { // StyleConfig returns the default Glamour style configuration. func StyleConfig() gansi.StyleConfig { noColor := strptr("") - s := glamour.DarkStyleConfig + s := styles.DarkStyleConfig + s.H1.BackgroundColor = noColor s.H1.Prefix = "# " s.H1.Suffix = ""