Skip to content

Commit 221b766

Browse files
committed
No longer set inspect.attr in the custom theme
1 parent 3a15f1a commit 221b766

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

examples/rich_theme.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,8 @@ 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),
32+
"traceback.exc_type": Style(color=Color.RED, bgcolor=Color.LIGHT_YELLOW3, bold=True),
3333
"argparse.args": Style(color=Color.AQUAMARINE3, underline=True),
34-
"inspect.attr": Style(color=Color.DARK_GOLDENROD, bold=True),
3534
}
3635
ru.set_theme(custom_theme)
3736

0 commit comments

Comments
 (0)