Skip to content

Commit

Permalink
UI: Do not set black as color, not visible on dark themes
Browse files Browse the repository at this point in the history
Just use the implicit standard color.

Signed-off-by: Stefan Marr <git@stefan-marr.de>
  • Loading branch information
smarr committed Jul 19, 2018
1 parent bfbc01a commit edb5293
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions rebench/ui.py
Expand Up @@ -98,7 +98,7 @@ def _prepare_details(self, run_id, cmd, cwd):
def _output_detail_header(self, run_id, cmd, cwd):
text = self._prepare_details(run_id, cmd, cwd)
if text:
self._output(text, 'black')
self._output(text, None)

@staticmethod
def output(text, *args, **kw):
Expand Down Expand Up @@ -126,7 +126,7 @@ def error(self, text, run_id=None, cmd=None, cwd=None, **kw):
def verbose_output_info(self, text, run_id=None, cmd=None, cwd=None, **kw):
if self._verbose:
self._output_detail_header(run_id, cmd, cwd)
self._output(text, 'black', faint=True, **kw)
self._output(text, None, faint=True, **kw)

def verbose_error_info(self, text, run_id=None, cmd=None, cwd=None, **kw):
if self._verbose:
Expand All @@ -136,7 +136,7 @@ def verbose_error_info(self, text, run_id=None, cmd=None, cwd=None, **kw):
def debug_output_info(self, text, run_id=None, cmd=None, cwd=None, **kw):
if self._debug:
self._output_detail_header(run_id, cmd, cwd)
self._output(text, 'black', faint=True, **kw)
self._output(text, None, faint=True, **kw)

def debug_error_info(self, text, run_id=None, cmd=None, cwd=None, **kw):
if self._debug:
Expand Down

0 comments on commit edb5293

Please sign in to comment.