fix(ui): logo and grad arguments from earlier refactor

Christian Rocha created

Change summary

internal/ui/model/header.go | 2 +-
internal/ui/model/pills.go  | 2 +-
internal/ui/model/ui.go     | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)

Detailed changes

internal/ui/model/header.go 🔗

@@ -39,7 +39,7 @@ func newHeader(com *common.Common) *header {
 	}
 	t := com.Styles
 	h.compactLogo = t.Header.Charm.Render("Charm™") + " " +
-		styles.ApplyBoldForegroundGrad(t, "CRUSH", t.Secondary, t.Primary) + " "
+		styles.ApplyBoldForegroundGrad(t.Base, "CRUSH", t.Secondary, t.Primary) + " "
 	return h
 }
 

internal/ui/model/pills.go 🔗

@@ -56,7 +56,7 @@ func queuePill(queue int, focused, panelFocused bool, t *styles.Styles) string {
 	if queue <= 0 {
 		return ""
 	}
-	triangles := styles.ForegroundGrad(t, "▶▶▶▶▶▶▶▶▶", false, t.RedDark, t.Secondary)
+	triangles := styles.ForegroundGrad(t.Base, "▶▶▶▶▶▶▶▶▶", false, t.Pills.QueueGradFromColor, t.Secondary)
 	if queue < len(triangles) {
 		triangles = triangles[:queue]
 	}

internal/ui/model/ui.go 🔗

@@ -3651,7 +3651,7 @@ func (m *UI) disableDockerMCP() tea.Msg {
 
 // renderLogo renders the Crush logo with the given styles and dimensions.
 func renderLogo(t *styles.Styles, compact bool, width int) string {
-	return logo.Render(t, version.Version, compact, logo.Opts{
+	return logo.Render(t.Base, version.Version, compact, logo.Opts{
 		FieldColor:   t.LogoFieldColor,
 		TitleColorA:  t.LogoTitleColorA,
 		TitleColorB:  t.LogoTitleColorB,