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:
Iliya Brook 2024-03-05 00:43:58 +02:00
parent 851d858a91
commit a77d8edb07
2 changed files with 5 additions and 1 deletions

View File

@ -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 = {

View File

@ -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 {