Skip to content

Commit 0d96b7a

Browse files
committed
Small tweaks + solarized colors
1 parent 1682f11 commit 0d96b7a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

cf_xarray/formatting.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ def _format_subtitle(name: str, rich: bool) -> str:
2424

2525
def _format_cf_name(name: str, rich: bool) -> str:
2626
if rich:
27-
return f"[dodger_blue1]{name}[/dodger_blue1]"
27+
return f"[color(33)]{name}[/color(33)]"
2828
else:
2929
return name
3030

@@ -105,12 +105,12 @@ def _maybe_panel(textgen, title: str, rich: bool):
105105
from rich.panel import Panel
106106

107107
return Panel(
108-
text.rstrip(),
108+
f"[color(241)]{text.rstrip()}[/color(241)]",
109109
expand=True,
110110
title_align="left",
111-
title=f"[bold]{title}[/bold]",
111+
title=f"[bold][color(244)]{title}[/bold][/color(244)]",
112112
highlight=True,
113-
width=120,
113+
width=100,
114114
)
115115
else:
116116
return title + ":\n" + text

0 commit comments

Comments
 (0)