Skip to content

Commit 5ec0319

Browse files
authored
style: Blue works better on light terminals and still looks good on dark. (#95)
1 parent 2ca0e80 commit 5ec0319

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

lib/reporter/pretty.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ function printResult(result, prefixLength) {
156156
const padding = PADDING - prefixLength > 0 ? PADDING - prefixLength : 0;
157157
process.stdout.write(" ".repeat(padding));
158158

159-
const color = "cyan";
159+
const color = "blue";
160160

161161
if (result.opsSec !== undefined) {
162162
const opsSecReported =

lib/reporter/text.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ function textReport(results) {
2323
: result.opsSec.toFixed(0);
2424
process.stdout.write(
2525
styleText(
26-
["cyan", "bold"],
26+
["blue", "bold"],
2727
`${formatter.format(opsSecReported)} ops/sec`,
2828
),
2929
);
@@ -49,7 +49,7 @@ function textReport(results) {
4949
}
5050

5151
process.stdout.write(
52-
styleText(["cyan", "bold"], `${timeFormatted} total time`),
52+
styleText(["blue", "bold"], `${timeFormatted} total time`),
5353
);
5454
}
5555

0 commit comments

Comments
 (0)