Skip to content

Commit

Permalink
Changed the foreground color of the box labels showing the percentage…
Browse files Browse the repository at this point in the history
…s for Code, Complexity, Achitecture, and Style from black to white because for some reason on Windows (10) systems black as foreground color doesn't seem to work (see #37) (#600)

Signed-off-by: Jan-Christoph Ihrens <[email protected]>

Signed-off-by: Jan-Christoph Ihrens <[email protected]>
  • Loading branch information
enigmatic-user authored Sep 15, 2022
1 parent 4d00775 commit 0743eb7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/Application/Console/Formatters/Console.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,25 +51,25 @@ final class Console implements Formatter

private const QUALITY = <<<EOD
<%quality_color%>%block_size%</>
<fg=black;options=bold;%quality_color%> %quality% </>
<fg=white;options=bold;%quality_color%> %quality% </>
<%quality_color%>%block_size%</>
EOD;

private const COMPLEXITY = <<<EOD
<%complexity_color%>%block_size%</>
<fg=black;options=bold;%complexity_color%> %complexity% </>
<fg=white;options=bold;%complexity_color%> %complexity% </>
<%complexity_color%>%block_size%</>
EOD;

private const STRUCTURE = <<<EOD
<%structure_color%>%block_size%</>
<fg=black;options=bold;%structure_color%> %structure% </>
<fg=white;options=bold;%structure_color%> %structure% </>
<%structure_color%>%block_size%</>
EOD;

private const STYLE = <<<EOD
<%style_color%>%block_size%</>
<fg=black;options=bold;%style_color%> %style% </>
<fg=white;options=bold;%style_color%> %style% </>
<%style_color%>%block_size%</>
EOD;

Expand Down

0 comments on commit 0743eb7

Please sign in to comment.