mirror of
				https://github.com/reduxjs/redux-devtools.git
				synced 2025-11-04 09:57:26 +03:00 
			
		
		
		
	Update color scheme in StackTrace and StackFrame
The changes introduce new color attributes for various elements in both StackTrace and StackFrame components. Specifically, the color and background color of StackTrace have been revised, alongside the color adjustments of linkStyle, anchorStyle and codeAnchorStyle properties in StackFrame.
This commit is contained in:
		
							parent
							
								
									851d858a91
								
							
						
					
					
						commit
						a77d8edb07
					
				| 
						 | 
				
			
			@ -16,16 +16,18 @@ import type { ErrorLocation } from '../utils/parseCompileError';
 | 
			
		|||
const linkStyle: CSSProperties = {
 | 
			
		||||
  fontSize: '0.9em',
 | 
			
		||||
  marginBottom: '0.9em',
 | 
			
		||||
  color: '#0645AD',
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
const anchorStyle: CSSProperties = {
 | 
			
		||||
  textDecoration: 'none',
 | 
			
		||||
  color: theme.base05,
 | 
			
		||||
  color: '#0645AD',
 | 
			
		||||
  cursor: 'pointer',
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
const codeAnchorStyle: CSSProperties = {
 | 
			
		||||
  cursor: 'pointer',
 | 
			
		||||
  color: '#333',
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
const toggleStyle: CSSProperties = {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -19,6 +19,8 @@ const traceStyle = {
 | 
			
		|||
  flex: '0 1 auto',
 | 
			
		||||
  minHeight: '0px',
 | 
			
		||||
  overflow: 'auto',
 | 
			
		||||
  color: '#000',
 | 
			
		||||
  backgroundColor: '#f7f7f7',
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
interface Props {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue
	
	Block a user