From 38a356a5c3cd4902b9f1bfd3fcb42b35704e494c Mon Sep 17 00:00:00 2001 From: josdejong Date: Mon, 8 Jul 2013 20:30:14 +0200 Subject: [PATCH] Changed color of booleans from orange to darkorange --- jsoneditor/js/node.js | 3 ++- lib/ace/theme-jsoneditor.js | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/jsoneditor/js/node.js b/jsoneditor/js/node.js index a4740bb..82a10c6 100644 --- a/jsoneditor/js/node.js +++ b/jsoneditor/js/node.js @@ -985,7 +985,7 @@ Node.prototype._updateDomValue = function () { color = 'red'; } else if (t == 'boolean') { - color = 'orange'; + color = 'darkorange'; } else if (this._hasChilds()) { // note: typeof(null)=="object", therefore check this.type instead of t @@ -1661,6 +1661,7 @@ Node.prototype._createDomTree = function () { var domTree = document.createElement('table'); var tbody = document.createElement('tbody'); domTree.style.borderCollapse = 'collapse'; // TODO: put in css + domTree.className = 'values'; domTree.appendChild(tbody); var tr = document.createElement('tr'); tbody.appendChild(tr); diff --git a/lib/ace/theme-jsoneditor.js b/lib/ace/theme-jsoneditor.js index 4ac763d..3e658b8 100644 --- a/lib/ace/theme-jsoneditor.js +++ b/lib/ace/theme-jsoneditor.js @@ -99,7 +99,7 @@ color: #484848\ color: #96DC5F\ }\ .ace-jsoneditor .ace_constant.ace_language {\ -color: orange\ +color: darkorange\ }\ .ace-jsoneditor .ace_constant.ace_numeric {\ color: red\