@@ -54,7 +54,7 @@ namespace vix::cli::build
5454 const char *duration_color (long long milliseconds) noexcept
5555 {
5656 if (milliseconds >= 10000 )
57- return style::ERROR ;
57+ return style::ERROR_TEXT ;
5858 if (milliseconds >= 3000 )
5959 return style::WARNING ;
6060 return style::SUCCESS ;
@@ -107,7 +107,7 @@ namespace vix::cli::build
107107 static std::string label_color (const std::string &label)
108108 {
109109 if (label == " error:" )
110- return style::ERROR ;
110+ return style::ERROR_TEXT ;
111111
112112 if (label == " hint:" )
113113 return style::WARNING ;
@@ -410,7 +410,7 @@ namespace vix::cli::build
410410 case BuildMessageKind::Warning:
411411 return colorize (style::WARNING , " !" );
412412 case BuildMessageKind::Error:
413- return colorize (style::ERROR , " ✖" );
413+ return colorize (style::ERROR_TEXT , " ✖" );
414414 default :
415415 return " •" ;
416416 }
@@ -534,7 +534,7 @@ namespace vix::cli::build
534534 : diagnostic.title ;
535535
536536 out << " "
537- << style::ERROR
537+ << style::ERROR_TEXT
538538 << style::BOLD
539539 << " ✖ "
540540 << title
@@ -581,7 +581,7 @@ namespace vix::cli::build
581581 if (!pointer.empty ())
582582 {
583583 out << " | "
584- << colorize (style::ERROR , pointer)
584+ << colorize (style::ERROR_TEXT , pointer)
585585 << " \n " ;
586586 }
587587 }
@@ -738,7 +738,7 @@ namespace vix::cli::build
738738 << (static_cast <double >(milliseconds) / 1000.0 );
739739
740740 out << " "
741- << colorize (style::ERROR , " ✖" )
741+ << colorize (style::ERROR_TEXT , " ✖" )
742742 << " "
743743 << message
744744 << " after "
0 commit comments