Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make gray text readable on Solarized Dark theme #118

Merged
merged 2 commits into from
Jun 14, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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