Skip to content

Commit deb383c

Browse files
committed
Theme: replace remaining 'bold cyan' help category headers
Follow-up to 7587eb4. The earlier sweep regex matched [color] and [color ...] forms but missed [bold cyan] in HelpCommand category and statement-help headers. The dark teal Spectre 'cyan' (256-color #51) bypasses terminal theming and is unreadable on light backgrounds. Replaced both with Theme.ConnectedPromptColorName ('aqua') so the headers now follow the terminal palette. Verified the rest of the codebase by sweeping every named non-ANSI-16 Spectre color (cyan/magenta/violet/orchid/gold1/plum3/deepskyblue1/ seagreen2/lightyellow3/etc.); only doc comments remain.
1 parent 7587eb4 commit deb383c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

CosmosDBShell/Azure.Data.Cosmos.Shell.Commands/HelpCommand.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -568,7 +568,7 @@ private static void PrintCommandCategory(string categoryName, List<CommandFactor
568568
return;
569569
}
570570

571-
AnsiConsole.MarkupLine(INDENT + $"[bold cyan]{categoryName}[/]");
571+
AnsiConsole.MarkupLine(INDENT + $"[bold {Theme.ConnectedPromptColorName}]{categoryName}[/]");
572572
ShellInterpreter.WriteLine();
573573

574574
var table = new Table()
@@ -628,7 +628,7 @@ private static void PrintSingleStatementHelp((string Name, string Key, string? D
628628
// Use consistent styling with command help
629629
if (!string.IsNullOrWhiteSpace(s.Description))
630630
{
631-
AnsiConsole.MarkupLine($"{INDENT}[bold cyan]{Markup.Escape(s.Description)}[/]");
631+
AnsiConsole.MarkupLine($"{INDENT}[bold {Theme.ConnectedPromptColorName}]{Markup.Escape(s.Description)}[/]");
632632
}
633633

634634
ShellInterpreter.WriteLine();

0 commit comments

Comments
 (0)