[Pkg-javascript-commits] [node-tap-mocha-reporter] 59/137: Use 255m instead of 8m to specify white backgrounds

Bastien Roucariès rouca at moszumanska.debian.org
Thu Sep 7 09:49:26 UTC 2017


This is an automated email from the git hooks/post-receive script.

rouca pushed a commit to branch master
in repository node-tap-mocha-reporter.

commit 52ead95d50463c4cf75ab529f25fa5f83abac8e1
Author: isaacs <i at izs.me>
Date:   Thu May 14 14:03:43 2015 -0700

    Use 255m instead of 8m to specify white backgrounds
    
    Because solarized is too clever.
---
 lib/reporters/classic.js | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/lib/reporters/classic.js b/lib/reporters/classic.js
index d6b1ca5..69ee70d 100644
--- a/lib/reporters/classic.js
+++ b/lib/reporters/classic.js
@@ -68,15 +68,15 @@ function doDiff (found, wanted, palette) {
       var removed = '\u001b[48;5;224m\u001b[38;5;52m'
       var added = '\u001b[48;5;194m\u001b[38;5;22m'
       var plain = '\u001b[38;5;233m'
-      var bg = '\u001b[48;5;8m'
+      var bg = '\u001b[48;5;255m'
       break
 
     case 4:
       // orange/cyan pastel option, most r/g-colorblind friendly
       var removed = '\u001b[48;5;223m\u001b[38;5;52m'
-      var added = '\u001b[48;5;158m\u001b[38;5;22m'
+      var added = '\u001b[48;5;15255m\u001b[38;5;22m'
       var plain = '\u001b[38;5;233m'
-      var bg = '\u001b[48;5;8m'
+      var bg = '\u001b[48;5;255m'
       break
 
     case 5:
@@ -84,7 +84,7 @@ function doDiff (found, wanted, palette) {
       var removed = '\u001b[48;5;224m\u001b[38;5;52m'
       var added = '\u001b[48;5;158m\u001b[38;5;22m'
       var plain = '\u001b[38;5;233m'
-      var bg = '\u001b[48;5;8m'
+      var bg = '\u001b[48;5;255m'
       break
 
     case 6:
@@ -92,7 +92,7 @@ function doDiff (found, wanted, palette) {
       var removed = '\u001b[48;5;218m\u001b[38;5;52m'
       var added = '\u001b[48;5;193m\u001b[38;5;22m'
       var plain = '\u001b[38;5;233m'
-      var bg = '\u001b[48;5;8m'
+      var bg = '\u001b[48;5;255m'
       break
 
     case 7:
@@ -100,7 +100,7 @@ function doDiff (found, wanted, palette) {
       var removed = '\u001b[48;5;218m\u001b[38;5;52m'
       var added = '\u001b[48;5;194m\u001b[38;5;22m'
       var plain = '\u001b[38;5;233m'
-      var bg = '\u001b[48;5;8m'
+      var bg = '\u001b[48;5;255m'
       break
 
     case 8:
@@ -108,7 +108,7 @@ function doDiff (found, wanted, palette) {
       var removed = '\u001b[48;5;224m\u001b[38;5;52m'
       var added = '\u001b[48;5;189m\u001b[38;5;17m'
       var plain = '\u001b[38;5;233m'
-      var bg = '\u001b[48;5;8m'
+      var bg = '\u001b[48;5;255m'
       break
 
     case 9:
@@ -116,7 +116,7 @@ function doDiff (found, wanted, palette) {
       var removed = '\u001b[48;5;224m\u001b[38;5;52m'
       var added = '\u001b[48;5;193m\u001b[38;5;22m'
       var plain = '\u001b[38;5;233m'
-      var bg = '\u001b[48;5;8m'
+      var bg = '\u001b[48;5;255m'
       break
 
   }

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-tap-mocha-reporter.git



More information about the Pkg-javascript-commits mailing list