Skip to content

Commit 9c55a0d

Browse files
authored
Fix some colors in summary table. (#177)
1 parent 9747cb4 commit 9c55a0d

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

docs/source/changes.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ all releases are available on `PyPI <https://pypi.org/project/pytask>`_ and
2020
information.
2121
- :gh:`173` replaces ``ColorCode`` with custom rich themes.
2222
- :gh:`174` restructures loosely defined outcomes to clear ``enum.Enum``.
23-
- :gh:`176` implements a summary panel which holds aggregate information about the
24-
number of successes, fails and other status.
23+
- :gh:`176` and :gh:`177` implement a summary panel which holds aggregate information
24+
about the number of successes, fails and other status.
2525

2626

2727
0.1.3 - 2021-11-30

src/_pytask/console.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,7 @@ def create_summary_panel(
162162
Padding(str(n_total), pad=_HORIZONTAL_PADDING),
163163
Padding(description_total, pad=_HORIZONTAL_PADDING),
164164
Padding("", pad=_HORIZONTAL_PADDING),
165+
style="#ffffff",
165166
)
166167
for outcome, value in counts.items():
167168
if value:
@@ -181,8 +182,9 @@ def create_summary_panel(
181182

182183
panel = Panel(
183184
grid,
184-
title="Summary",
185+
title="[bold #ffffff]Summary[/bold #ffffff]",
185186
expand=False,
187+
style="none",
186188
border_style=outcome_enum.FAIL.style
187189
if counts[outcome_enum.FAIL]
188190
else outcome_enum.SUCCESS.style,

0 commit comments

Comments
 (0)