mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2025-01-31 19:54:35 +03:00
Change highlight color to white with 0.1 alpha
This commit is contained in:
parent
c6811b0302
commit
184853cb14
|
@ -22,8 +22,8 @@ export default class JSONBooleanNode extends React.Component {
|
|||
const truthString = (this.props.value) ? 'true' : 'false';
|
||||
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.06)`;
|
||||
const bgColor = hexToRgb(this.props.theme.base06);
|
||||
backgroundColor = `rgba(${bgColor.r}, ${bgColor.g}, ${bgColor.b}, 0.1)`;
|
||||
}
|
||||
return (
|
||||
<li style={{ ...styles.base, backgroundColor }} onClick={::this.handleClick}>
|
||||
|
|
|
@ -21,8 +21,8 @@ export default class JSONNullNode extends React.Component {
|
|||
render() {
|
||||
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.06)`;
|
||||
const bgColor = hexToRgb(this.props.theme.base06);
|
||||
backgroundColor = `rgba(${bgColor.r}, ${bgColor.g}, ${bgColor.b}, 0.1)`;
|
||||
}
|
||||
return (
|
||||
<li style={{ ...styles.base, backgroundColor }} onClick={::this.handleClick}>
|
||||
|
|
|
@ -21,8 +21,8 @@ export default class JSONNumberNode extends React.Component {
|
|||
render() {
|
||||
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.06)`;
|
||||
const bgColor = hexToRgb(this.props.theme.base06);
|
||||
backgroundColor = `rgba(${bgColor.r}, ${bgColor.g}, ${bgColor.b}, 0.1)`;
|
||||
}
|
||||
return (
|
||||
<li style={{ ...styles.base, backgroundColor }} onClick={::this.handleClick}>
|
||||
|
|
|
@ -21,8 +21,8 @@ export default class JSONStringNode extends React.Component {
|
|||
render() {
|
||||
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.06)`;
|
||||
const bgColor = hexToRgb(this.props.theme.base06);
|
||||
backgroundColor = `rgba(${bgColor.r}, ${bgColor.g}, ${bgColor.b}, 0.1)`;
|
||||
}
|
||||
return (
|
||||
<li style={{ ...styles.base, backgroundColor }} onClick={::this.handleClick}>
|
||||
|
|
Loading…
Reference in New Issue
Block a user