From 8c6a7b5de4bd59a03efe90f1a02d81c16b0c12a5 Mon Sep 17 00:00:00 2001 From: Devin Torres Date: Fri, 3 Dec 2010 17:49:26 -0600 Subject: [PATCH] Use more color in the repl, loosely inspired by TextMate's SunBurst theme --- lib/util.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/util.js b/lib/util.js index c943ea0835..aa8e132431 100644 --- a/lib/util.js +++ b/lib/util.js @@ -59,15 +59,15 @@ exports.inspect = function(obj, showHidden, depth, colors) { 'yellow' : [33, 39] }; var style = - { 'special': 'grey', + { 'special': 'cyan', 'number': 'blue', - 'boolean': 'blue', - 'undefined': 'red', - 'null': 'red', + 'boolean': 'yellow', + 'undefined': 'grey', + 'null': 'bold', 'string': 'green', 'date': 'magenta', // "name": intentionally not styling - 'regexp': 'cyan' }[styleType]; + 'regexp': 'red' }[styleType]; if (style) { return '\033[' + styles[style][0] + 'm' + str +