Skip to content

Commit

Permalink
Merge pull request #8272 from mokibit/explain-mismatching-ansi-colors
Browse files Browse the repository at this point in the history
www: Explain ansi colors discrepancy in builds logs output
  • Loading branch information
p12tic authored Dec 15, 2024
2 parents 6a8076d + d8c7e89 commit 1fb0f12
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion www/base/src/components/LogViewer/LogViewerText.scss
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,14 @@
// zebra pattern
background: repeating-linear-gradient(-45deg,rgb(10, 10, 10),rgb(40, 40, 40) 7%, rgb(10,10,10) 10%)
}
.log_o, .ansi_white, .ansi30 {
.log_o, .ansi_white {
color: $bb-color-log-white;
}
// note: As log output window is always black and text always has to be visible, background and
// foreground text color ansi classes are reverted: ansi30 refers to white (whereas by SGR code 30
// is actually a black display) and ansi40 refers to black (whereas by SGR code 40 is actually a
// 40 black background).
.ansi30 {
color: $bb-color-log-white;
}
.log_e, .ansi_red, .ansi31 {
Expand Down

0 comments on commit 1fb0f12

Please sign in to comment.