1
0
mirror of https://github.com/httpie/cli.git synced 2025-08-10 22:42:05 +02:00

Don't make the pie-colors the bold

This commit is contained in:
Batuhan Taskaya
2022-05-05 18:30:28 +03:00
parent 34175e2d19
commit 6e75c5244d

View File

@@ -56,8 +56,7 @@ def _make_rich_color_theme(style_name: Optional[str]) -> 'Theme':
GenericColor.__members__, CUSTOM_STYLES GenericColor.__members__, CUSTOM_STYLES
).items(): ).items():
theme.styles[color.lower()] = Style( theme.styles[color.lower()] = Style(
color=color_set.apply_style(style, style_name=style_name), color=color_set.apply_style(style, style_name=style_name)
bold=style is Styles.PIE,
) )
# E.g translate GenericColor.BLUE into blue on key access # E.g translate GenericColor.BLUE into blue on key access