From bdb1cac1f5436945edff00b3dfdd6d834428979f Mon Sep 17 00:00:00 2001 From: Hadi <112569860+anotherhadi@users.noreply.github.com> Date: Thu, 27 Aug 2026 00:07:55 +0200 Subject: [PATCH] --no-colors: no bold & italics Signed-off-by: Hadi <112569860+anotherhadi@users.noreply.github.com> --- cmd/default-creds-tui/cli.go | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/cmd/default-creds-tui/cli.go b/cmd/default-creds-tui/cli.go index 4e8ff48..0d15be9 100644 --- a/cmd/default-creds-tui/cli.go +++ b/cmd/default-creds-tui/cli.go @@ -42,19 +42,19 @@ func runSearchCLI(mode creds.Mode, apiURL, query string, noColors bool) error { } func renderEntryCLI(e creds.Entry, noColors bool) string { - manufacturerStyle := lipgloss.NewStyle().Bold(true) - nameStyle := lipgloss.NewStyle().Bold(true) + manufacturerStyle := lipgloss.NewStyle() + nameStyle := lipgloss.NewStyle() versionStyle := lipgloss.NewStyle() credStyle := lipgloss.NewStyle() - commentStyle := lipgloss.NewStyle().Italic(true) + commentStyle := lipgloss.NewStyle() tagStyle := lipgloss.NewStyle() if !noColors { - manufacturerStyle = manufacturerStyle.Foreground(style.S.Subtle) - nameStyle = nameStyle.Foreground(style.S.Primary) + manufacturerStyle = manufacturerStyle.Bold(true).Foreground(style.S.Subtle) + nameStyle = nameStyle.Bold(true).Foreground(style.S.Primary) versionStyle = versionStyle.Foreground(style.S.Subtle) credStyle = credStyle.Foreground(style.S.Success) - commentStyle = commentStyle.Foreground(style.S.Muted) + commentStyle = commentStyle.Italic(true).Foreground(style.S.Muted) tagStyle = tagStyle.Foreground(style.S.Subtle) }