Skip to content

Commit e65fe4c

Browse files
committed
fix: address lipgloss styling gaps
1 parent 755ccfe commit e65fe4c

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

cmd/sandbox/list.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,9 +119,9 @@ func printSandboxes(cmd *cobra.Command, clients *shared.ClientFactory, token str
119119
if s.Status != "" {
120120
status := style.Secondary(fmt.Sprintf("Status: %s", strings.ToTitle(s.Status)))
121121
if strings.EqualFold(s.Status, "archived") {
122-
clients.IO.PrintInfo(ctx, false, " %s", style.Styler().Red(status))
122+
clients.IO.PrintInfo(ctx, false, " %s", style.Red(status))
123123
} else {
124-
clients.IO.PrintInfo(ctx, false, " %s", style.Styler().Green(status))
124+
clients.IO.PrintInfo(ctx, false, " %s", style.Green(status))
125125
}
126126
}
127127

internal/style/style.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ func Warning(text string) string {
153153
if !isCharmEnabled {
154154
return legacyWarning(text)
155155
}
156-
return render(lipgloss.NewStyle().Foreground(slackGreen).Bold(true), text)
156+
return render(lipgloss.NewStyle().Foreground(slackYellow).Bold(true), text)
157157
}
158158

159159
func Header(text string) string {

0 commit comments

Comments
 (0)