Skip to content

Commit 041c2bc

Browse files
committed
fix: use cyan in help text
Signed-off-by: jposnick1 <jposnick1@bloomberg.net>
1 parent 7b185c2 commit 041c2bc

8 files changed

Lines changed: 410 additions & 410 deletions

File tree

packages/core/src/parameter/flag/formatting.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,8 +122,8 @@ export function formatDocumentationForFlagParameters(
122122
return [row.aliases, row.flagName, row.brief, row.suffix ?? ""];
123123
}
124124
return [
125-
row.hidden ? `\x1B[90m${row.aliases}\x1B[39m` : `\x1B[97m${row.aliases}\x1B[39m`,
126-
row.hidden ? `\x1B[90m${row.flagName}\x1B[39m` : `\x1B[97m${row.flagName}\x1B[39m`,
125+
row.hidden ? `\x1B[90m${row.aliases}\x1B[39m` : `\x1B[36m${row.aliases}\x1B[39m`,
126+
row.hidden ? `\x1B[90m${row.flagName}\x1B[39m` : `\x1B[36m${row.flagName}\x1B[39m`,
127127
row.hidden ? `\x1B[90m${row.brief}\x1B[39m` : `\x1B[03m${row.brief}\x1B[23m`,
128128
row.suffix ?? "",
129129
];

packages/core/src/parameter/positional/formatting.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export function formatDocumentationForPositionalParameters(
1313
): readonly string[] {
1414
if (positional.kind === "array") {
1515
const name = positional.parameter.placeholder ?? "args";
16-
const argName = args.ansiColor ? `\x1B[97m${name}...\x1B[39m` : `${name}...`;
16+
const argName = args.ansiColor ? `\x1B[36m${name}...\x1B[39m` : `${name}...`;
1717
const brief = args.ansiColor ? `\x1B[3m${positional.parameter.brief}\x1B[23m` : positional.parameter.brief;
1818
return formatRowsWithColumns([[argName, brief]], [" "]);
1919
}
@@ -33,7 +33,7 @@ export function formatDocumentationForPositionalParameters(
3333
suffix = `[${defaultKeyword} ${def.default}]`;
3434
}
3535
return [
36-
args.ansiColor ? `\x1B[97m${name}\x1B[39m` : name,
36+
args.ansiColor ? `\x1B[36m${name}\x1B[39m` : name,
3737
args.ansiColor ? `\x1B[3m${def.brief}\x1B[23m` : def.brief,
3838
suffix ?? "",
3939
];

packages/core/src/routing/route-map/documentation.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ export function* generateRouteMapHelpLines<CONTEXT extends CommandContext>(
9292
return [row.routeName, row.brief];
9393
}
9494
return [
95-
row.hidden ? `\x1B[90m${row.routeName}\x1B[39m` : `\x1B[97m${row.routeName}\x1B[39m`,
95+
row.hidden ? `\x1B[90m${row.routeName}\x1B[39m` : `\x1B[36m${row.routeName}\x1B[39m`,
9696
row.hidden ? `\x1B[90m${row.brief}\x1B[39m` : `\x1B[03m${row.brief}\x1B[23m`,
9797
];
9898
}),

0 commit comments

Comments
 (0)