Skip to content

Commit 501a87c

Browse files
gtrrz-victorclaude
andcommitted
polish(repo): color mirror get clone URLs cyan, not secondary gray
The clone URL is the payload of `mirror get <owner/repo>` — the one thing it shows that the grouped list doesn't. Left unstyled it picked up printTable's muted secondary-column gray and read as de-emphasized; cyan makes it prominent and matches the list's cluster accent (the URL is the cluster-bearing value). Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Entire-Checkpoint: 01KY77Q3GSPH4JH3MZXJTNW32K
1 parent 93eba95 commit 501a87c

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

cmd/entire/cli/repo_mirror.go

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1088,14 +1088,18 @@ func mirrorGetRow(m coreapi.Mirror) []string {
10881088
}
10891089

10901090
// mirrorGetRowStyled colors the per-cluster rows the way the list view does:
1091-
// private gray, status by lifecycle. NAME and CLONE URL stay the default
1092-
// foreground — the clone URL is the copy target of this view.
1091+
// private gray, status by lifecycle, and the CLONE URL cyan — it is the
1092+
// payload of this view (the one thing `get` shows that the grouped list
1093+
// doesn't), and a cell left unstyled here would instead pick up printTable's
1094+
// muted secondary-column gray, reading as de-emphasized. Cyan also matches
1095+
// the list's cluster accent, and the URL is the cluster-bearing value.
10931096
func mirrorGetRowStyled(st statusStyles) func(coreapi.Mirror) []string {
10941097
return func(m coreapi.Mirror) []string {
10951098
cells := mirrorGetRow(m)
10961099
if !st.colorEnabled {
10971100
return cells
10981101
}
1102+
cells[1] = st.render(st.cyan, cells[1])
10991103
cells[2] = st.render(st.gray, cells[2])
11001104
if style, ok := repoStatusColor(st, cells[3]); ok {
11011105
cells[3] = st.render(style, cells[3])

0 commit comments

Comments
 (0)