Permalink
Browse files

🐛 Fix weird link color in certain themes

  • Loading branch information...
1 parent 1557604 commit 3204c565bd009015c71d69e335fcc05011010a45 @steelbrain steelbrain committed Mar 11, 2016
Showing with 8 additions and 3 deletions.
  1. +2 −2 lib/main.js
  2. +1 −1 src/main.js
  3. +5 −0 styles/atom-text-editor.less
View
@@ -175,7 +175,7 @@ module.exports = {
}
if (column > range[1][1]) {
range[1][1] = column - 1;
- }
+ };
var ret = {
filePath: filePath,
type: severity === 1 ? 'Warning' : 'Error',
@@ -184,7 +184,7 @@ module.exports = {
if (showRule) {
var elName = ruleId ? 'a' : 'span';
var href = ruleId ? ' href=' + (0, _helpers.ruleURI)(ruleId) : '';
- ret.html = '<' + elName + href + ' class="badge badge-flexible">' + ((ruleId || 'Fatal') + '</' + elName + '> ' + (0, _escapeHtml2.default)(message));
+ ret.html = '<' + elName + href + ' class="badge badge-flexible eslint">' + ((ruleId || 'Fatal') + '</' + elName + '> ' + (0, _escapeHtml2.default)(message));
} else {
ret.text = message;
}
View
@@ -166,7 +166,7 @@ module.exports = {
if (showRule) {
const elName = ruleId ? 'a' : 'span'
const href = ruleId ? ` href=${ruleURI(ruleId)}` : ''
- ret.html = `<${elName}${href} class="badge badge-flexible">` +
+ ret.html = `<${elName}${href} class="badge badge-flexible eslint">` +
`${ruleId || 'Fatal'}</${elName}> ${escapeHTML(message)}`
} else {
ret.text = message
@@ -0,0 +1,5 @@
+@import "ui-variables";
+
+#linter-inline a.eslint {
+ color: @text-color-selected;
+}

0 comments on commit 3204c56

Please sign in to comment.