mirror of
				https://github.com/reduxjs/redux-devtools.git
				synced 2025-11-04 01:47:25 +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';
 | 
			
		||||
    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 (
 | 
			
		||||
      <li style={{ ...styles.base, backgroundColor }} onClick={::this.handleClick}>
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -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 (
 | 
			
		||||
      <li style={{ ...styles.base, backgroundColor }} onClick={::this.handleClick}>
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -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 (
 | 
			
		||||
      <li style={{ ...styles.base, backgroundColor }} onClick={::this.handleClick}>
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -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 (
 | 
			
		||||
      <li style={{ ...styles.base, backgroundColor }} onClick={::this.handleClick}>
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue
	
	Block a user