This is identical to #2466 and #2745, but observed in v13.8.1 on both iTerm2 and Jupyter (on Mac):
When setting border_style for Panel, the text style is overwritten:
import rich
from rich.text import Text
from rich.panel import Panel
rich.print(Panel("Content", border_style="red", title=Text("Title", style="white")))
produces:
As a note, when the text is stylized with inline markup, it works fine:
Describe the bug
This is identical to #2466 and #2745, but observed in
v13.8.1
on both iTerm2 and Jupyter (on Mac):When setting
border_style
forPanel
, the text style is overwritten:produces:
As a note, when the text is stylized with inline markup, it works fine:
produces:
Platform
Click to expand
Platform: Mac Tested Terminals: iTerm2, Jupyter Rich version: `13.8.1` iTerm2 `rich.diagnose`: ``` ╭─────────────────────────