mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2024-11-22 09:36:43 +03:00
made highlight of diff slightly more visible
This commit is contained in:
parent
43983785b4
commit
da140c1545
|
@ -23,7 +23,7 @@ export default class JSONBooleanNode extends React.Component {
|
||||||
let backgroundColor = 'transparent';
|
let backgroundColor = 'transparent';
|
||||||
if (this.props.previousValue !== this.props.value) {
|
if (this.props.previousValue !== this.props.value) {
|
||||||
const bgColor = hexToRgb(this.props.theme.base08);
|
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 (
|
return (
|
||||||
<li style={{ ...styles.base, backgroundColor }} onClick={::this.handleClick}>
|
<li style={{ ...styles.base, backgroundColor }} onClick={::this.handleClick}>
|
||||||
|
|
|
@ -22,7 +22,7 @@ export default class JSONNullNode extends React.Component {
|
||||||
let backgroundColor = 'transparent';
|
let backgroundColor = 'transparent';
|
||||||
if (this.props.previousValue !== this.props.value) {
|
if (this.props.previousValue !== this.props.value) {
|
||||||
const bgColor = hexToRgb(this.props.theme.base08);
|
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 (
|
return (
|
||||||
<li style={{ ...styles.base, backgroundColor }} onClick={::this.handleClick}>
|
<li style={{ ...styles.base, backgroundColor }} onClick={::this.handleClick}>
|
||||||
|
|
|
@ -22,7 +22,7 @@ export default class JSONNumberNode extends React.Component {
|
||||||
let backgroundColor = 'transparent';
|
let backgroundColor = 'transparent';
|
||||||
if (this.props.previousValue !== this.props.value) {
|
if (this.props.previousValue !== this.props.value) {
|
||||||
const bgColor = hexToRgb(this.props.theme.base08);
|
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 (
|
return (
|
||||||
<li style={{ ...styles.base, backgroundColor }} onClick={::this.handleClick}>
|
<li style={{ ...styles.base, backgroundColor }} onClick={::this.handleClick}>
|
||||||
|
|
|
@ -22,7 +22,7 @@ export default class JSONStringNode extends React.Component {
|
||||||
let backgroundColor = 'transparent';
|
let backgroundColor = 'transparent';
|
||||||
if (this.props.previousValue !== this.props.value) {
|
if (this.props.previousValue !== this.props.value) {
|
||||||
const bgColor = hexToRgb(this.props.theme.base08);
|
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 (
|
return (
|
||||||
<li style={{ ...styles.base, backgroundColor }} onClick={::this.handleClick}>
|
<li style={{ ...styles.base, backgroundColor }} onClick={::this.handleClick}>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user