Skip to content

Commit

Permalink
Make gray text readable on Solarized Dark theme (#118)
Browse files Browse the repository at this point in the history
  • Loading branch information
s0meone authored and rizowski committed Jun 14, 2017
1 parent 7f8a3f6 commit a8924bd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/formatters/simple-detail.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ function simpleDetail(results) {
let totalWarnings = 0;
let output = '';
let cleanMsg = '';
let messageTime = chalk.gray(`(${new Date().toLocaleTimeString()})`);
let messageTime = chalk.dim(`(${new Date().toLocaleTimeString()})`);
logger.debug(results);
results.forEach(function (result) {
let messages = result.messages;
Expand Down Expand Up @@ -53,12 +53,12 @@ function simpleDetail(results) {
message.line || 0,
message.column || 0,
chalk.dim(message.message.replace(/\.$/, '')),
chalk.gray(message.ruleId || '')];
chalk.dim(message.ruleId || '')];
}), tableSettings);

output += chalk.white.underline(result.filePath) + ` (${chalk.red(errors)}/${chalk.yellow(warnings)})${c.endLine}`;
output += tableText.split(c.endLine).map(function (el) {
return el.replace(/(\d+)\s+(\d+)/, (m, p1, p2) => chalk.gray(`${p1}:${p2}`));
return el.replace(/(\d+)\s+(\d+)/, (m, p1, p2) => chalk.dim(`${p1}:${p2}`));
}).join(c.endLine) + c.endLine + c.endLine;
});

Expand Down

0 comments on commit a8924bd

Please sign in to comment.