on main help sign in
fix(ui): logo and grad arguments from earlier refactor
commit511916ab376490ecd924fd662de1ee0606185b29 authorChristian Rocha <christian@rocha.is> dateThu 23 Apr 2026, 17:11 (6 months ago) parent7cbb1db
3 files changed+3−3
internal/ui/model/header.go+1−1 internal/ui/model/pills.go+1−1 internal/ui/model/ui.go+1−1
internal/ui/model/header.go+1−1
@@ -39,7 +39,7 @@ func newHeader(com *common.Common) *header {
3939 }
4040 t := com.Styles
4141 h.compactLogo = t.Header.Charm.Render("Charm™") + " " +
42− styles.ApplyBoldForegroundGrad(t, "CRUSH", t.Secondary, t.Primary) + " "
42+ styles.ApplyBoldForegroundGrad(t.Base, "CRUSH", t.Secondary, t.Primary) + " "
4343 return h
4444}
4545
internal/ui/model/pills.go+1−1
@@ -56,7 +56,7 @@ func queuePill(queue int, focused, panelFocused bool, t *styles.Styles) string {
5656 if queue <= 0 {
5757 return ""
5858 }
59− triangles := styles.ForegroundGrad(t, "▶▶▶▶▶▶▶▶▶", false, t.RedDark, t.Secondary)
59+ triangles := styles.ForegroundGrad(t.Base, "▶▶▶▶▶▶▶▶▶", false, t.Pills.QueueGradFromColor, t.Secondary)
6060 if queue < len(triangles) {
6161 triangles = triangles[:queue]
6262 }
internal/ui/model/ui.go+1−1
@@ -3651,7 +3651,7 @@ func (m *UI) disableDockerMCP() tea.Msg {
36513651
36523652// renderLogo renders the Crush logo with the given styles and dimensions.
36533653func renderLogo(t *styles.Styles, compact bool, width int) string {
3654− return logo.Render(t, version.Version, compact, logo.Opts{
3654+ return logo.Render(t.Base, version.Version, compact, logo.Opts{
36553655 FieldColor: t.LogoFieldColor,
36563656 TitleColorA: t.LogoTitleColorA,
36573657 TitleColorB: t.LogoTitleColorB,