commit 6e7af3f2eea3c3fce7bd7439e00c9d1217075e26
parent f575493521a81eb3aef441400ddb566268483a01
Author: FIGBERT <figbert@figbert.com>
Date: Fri, 29 Jul 2022 21:41:20 -0700
Get rid of bold style on meta title
Diffstat:
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/meta.go b/meta.go
@@ -14,7 +14,6 @@ func getReaderModeMetaBlock(title string, url string, lineWidth int) string {
MarginTop(1).
MarginBottom(1).
Width(lineWidth)
- bold := lipgloss.NewStyle().Bold(true)
blue := lipgloss.NewStyle().Foreground(lipgloss.Color("32"))
green := lipgloss.NewStyle().Foreground(lipgloss.Color("34"))
@@ -26,8 +25,7 @@ func getReaderModeMetaBlock(title string, url string, lineWidth int) string {
return style.Render(
fmt.Sprintf(
"%s\n%s\n%s",
- bold.Render(title),
- blue.Render(url),
+ title, blue.Render(url),
green.Render("Reader Mode"),
),
)