From da140c15459eb25397c06761a844123bf84f2a80 Mon Sep 17 00:00:00 2001 From: dzannotti Date: Mon, 10 Aug 2015 20:57:29 +0100 Subject: [PATCH] made highlight of diff slightly more visible --- src/react/JSONTree/JSONBooleanNode.js | 2 +- src/react/JSONTree/JSONNullNode.js | 2 +- src/react/JSONTree/JSONNumberNode.js | 2 +- src/react/JSONTree/JSONStringNode.js | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/react/JSONTree/JSONBooleanNode.js b/src/react/JSONTree/JSONBooleanNode.js index 01a8b8a1..d0b14d4c 100644 --- a/src/react/JSONTree/JSONBooleanNode.js +++ b/src/react/JSONTree/JSONBooleanNode.js @@ -23,7 +23,7 @@ export default class JSONBooleanNode extends React.Component { let backgroundColor = 'transparent'; if (this.props.previousValue !== this.props.value) { const bgColor = hexToRgb(this.props.theme.base08); - backgroundColor = `rgba(${bgColor.r}, ${bgColor.g}, ${bgColor.b}, 0.04)`; + backgroundColor = `rgba(${bgColor.r}, ${bgColor.g}, ${bgColor.b}, 0.06)`; } return (
  • diff --git a/src/react/JSONTree/JSONNullNode.js b/src/react/JSONTree/JSONNullNode.js index 1a09c1a8..a2411873 100644 --- a/src/react/JSONTree/JSONNullNode.js +++ b/src/react/JSONTree/JSONNullNode.js @@ -22,7 +22,7 @@ export default class JSONNullNode extends React.Component { let backgroundColor = 'transparent'; if (this.props.previousValue !== this.props.value) { const bgColor = hexToRgb(this.props.theme.base08); - backgroundColor = `rgba(${bgColor.r}, ${bgColor.g}, ${bgColor.b}, 0.04)`; + backgroundColor = `rgba(${bgColor.r}, ${bgColor.g}, ${bgColor.b}, 0.06)`; } return (
  • diff --git a/src/react/JSONTree/JSONNumberNode.js b/src/react/JSONTree/JSONNumberNode.js index 622a7c3b..f57b5f90 100644 --- a/src/react/JSONTree/JSONNumberNode.js +++ b/src/react/JSONTree/JSONNumberNode.js @@ -22,7 +22,7 @@ export default class JSONNumberNode extends React.Component { let backgroundColor = 'transparent'; if (this.props.previousValue !== this.props.value) { const bgColor = hexToRgb(this.props.theme.base08); - backgroundColor = `rgba(${bgColor.r}, ${bgColor.g}, ${bgColor.b}, 0.04)`; + backgroundColor = `rgba(${bgColor.r}, ${bgColor.g}, ${bgColor.b}, 0.06)`; } return (
  • diff --git a/src/react/JSONTree/JSONStringNode.js b/src/react/JSONTree/JSONStringNode.js index 74926a3e..fd9e2e5f 100644 --- a/src/react/JSONTree/JSONStringNode.js +++ b/src/react/JSONTree/JSONStringNode.js @@ -22,7 +22,7 @@ export default class JSONStringNode extends React.Component { let backgroundColor = 'transparent'; if (this.props.previousValue !== this.props.value) { const bgColor = hexToRgb(this.props.theme.base08); - backgroundColor = `rgba(${bgColor.r}, ${bgColor.g}, ${bgColor.b}, 0.04)`; + backgroundColor = `rgba(${bgColor.r}, ${bgColor.g}, ${bgColor.b}, 0.06)`; } return (