@@ -41,7 +41,7 @@ namespace vix::cli::util
4141 os << " " << ACCENT << " •" << RESET << " "
4242 << LABEL << k << RESET
4343 << " : "
44- << WARNING << value << RESET << " \n " ;
44+ << value << " \n " ;
4545 }
4646
4747 inline void section (std::ostream &os, std::string_view title)
@@ -92,7 +92,7 @@ namespace vix::cli::util
9292
9393 inline std::string faint_sep ()
9494 {
95- return std::string (GRAY ) + " ────────────────────────────────────────" + RESET ;
95+ return std::string (MUTED ) + " ────────────────────────────────────────" + RESET ;
9696 }
9797
9898 inline void one_line_spacer (std::ostream &os)
@@ -107,29 +107,24 @@ namespace vix::cli::util
107107 std::string_view desc,
108108 std::string_view repo)
109109 {
110- os << " " << CYAN << BOLD << id << RESET ;
110+ os << " " << LABEL << id << RESET ;
111111
112112 if (!latest.empty ())
113113 {
114- os << " "
115- << GRAY << " (" << RESET
116- << YELLOW << " latest" << RESET
117- << GRAY << " : " << RESET
118- << YELLOW << BOLD << latest << RESET
119- << GRAY << " )" << RESET ;
114+ os << " ("
115+ << LABEL << " latest" << RESET
116+ << " : " << latest << " )" ;
120117 }
121118
122119 os << " \n " ;
123120
124121 if (!desc.empty ())
125- os << " " << GRAY << desc << RESET << " \n " ;
122+ os << " " << MUTED << desc << RESET << " \n " ;
126123
127124 if (!repo.empty ())
128125 {
129- os << " "
130- << GRAY << " repo: " << RESET
131- << CYAN << UNDERLINE << repo << RESET
132- << " \n " ;
126+ os << " " << LABEL << " repo" << RESET << " : "
127+ << link (std::string (repo)) << " \n " ;
133128 }
134129 }
135130
@@ -140,31 +135,28 @@ namespace vix::cli::util
140135 std::string_view commit,
141136 std::string_view repo)
142137 {
143- os << " " << CYAN << BOLD << id << RESET ;
138+ os << " " << LABEL << id << RESET ;
144139
145140 // Secondary: version
146141 if (!version.empty ())
147142 {
148- os << " "
149- << GRAY << " (" << RESET
150- << YELLOW << " version" << RESET
151- << GRAY << " : " << RESET
152- << YELLOW << BOLD << version << RESET
153- << GRAY << " )" << RESET ;
143+ os << " ("
144+ << LABEL << " version" << RESET
145+ << " : " << version << " )" ;
154146 }
155147
156148 os << " \n " ;
157149
158150 if (!commit.empty ())
159151 {
160- os << " " << GRAY << " commit: " << RESET
161- << YELLOW << commit << RESET << " \n " ;
152+ os << " " << LABEL << " commit" << RESET << " : "
153+ << commit << " \n " ;
162154 }
163155
164156 if (!repo.empty ())
165157 {
166- os << " " << GRAY << " repo: " << RESET
167- << CYAN << UNDERLINE << repo << RESET << " \n " ;
158+ os << " " << LABEL << " repo" << RESET << " : "
159+ << link ( std::string ( repo)) << " \n " ;
168160 }
169161 }
170162
0 commit comments