mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2024-11-29 21:13:54 +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 = {
|
const linkStyle: CSSProperties = {
|
||||||
fontSize: '0.9em',
|
fontSize: '0.9em',
|
||||||
marginBottom: '0.9em',
|
marginBottom: '0.9em',
|
||||||
|
color: '#0645AD',
|
||||||
};
|
};
|
||||||
|
|
||||||
const anchorStyle: CSSProperties = {
|
const anchorStyle: CSSProperties = {
|
||||||
textDecoration: 'none',
|
textDecoration: 'none',
|
||||||
color: theme.base05,
|
color: '#0645AD',
|
||||||
cursor: 'pointer',
|
cursor: 'pointer',
|
||||||
};
|
};
|
||||||
|
|
||||||
const codeAnchorStyle: CSSProperties = {
|
const codeAnchorStyle: CSSProperties = {
|
||||||
cursor: 'pointer',
|
cursor: 'pointer',
|
||||||
|
color: '#333',
|
||||||
};
|
};
|
||||||
|
|
||||||
const toggleStyle: CSSProperties = {
|
const toggleStyle: CSSProperties = {
|
||||||
|
|
|
@ -19,6 +19,8 @@ const traceStyle = {
|
||||||
flex: '0 1 auto',
|
flex: '0 1 auto',
|
||||||
minHeight: '0px',
|
minHeight: '0px',
|
||||||
overflow: 'auto',
|
overflow: 'auto',
|
||||||
|
color: '#000',
|
||||||
|
backgroundColor: '#f7f7f7',
|
||||||
};
|
};
|
||||||
|
|
||||||
interface Props {
|
interface Props {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user