Skip to content

Commit 2125b00

Browse files
committed
Overrode "traceback.exc_type"
1 parent 4adaf0d commit 2125b00

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

examples/rich_theme.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ def __init__(self, *args, **kwargs):
2929
Cmd2Style.HELP_HEADER: Style(color=Color.CYAN, bgcolor="#44475a"),
3030
Cmd2Style.HELP_LEADER: Style(color="#f8f8f2", bgcolor="#282a36"), # use RGB hex colors
3131
Cmd2Style.TABLE_BORDER: Style(color="turquoise2"), # use a rich standard color
32+
"traceback.exc_type": Style(color=Color.RED, bgcolor=Color.LIGHT_YELLOW3),
3233
"argparse.args": Style(color=Color.AQUAMARINE3, underline=True),
3334
"inspect.attr": Style(color=Color.DARK_GOLDENROD, bold=True),
3435
}

0 commit comments

Comments
 (0)