mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2025-07-04 11:53:30 +03:00
Merge branch 'brook/stack_trace_bright_styles'
This commit is contained in:
commit
43c2b22132
|
@ -10,17 +10,19 @@ import React, { CSSProperties } from 'react';
|
||||||
const preStyle: CSSProperties = {
|
const preStyle: CSSProperties = {
|
||||||
position: 'relative',
|
position: 'relative',
|
||||||
display: 'block',
|
display: 'block',
|
||||||
backgroundColor: '#000',
|
backgroundColor: '#f7f7f7',
|
||||||
padding: '0.5em',
|
padding: '0.5em',
|
||||||
marginTop: '0.5em',
|
marginTop: '0.5em',
|
||||||
marginBottom: '0.5em',
|
marginBottom: '0.5em',
|
||||||
overflowX: 'auto',
|
overflowX: 'auto',
|
||||||
whiteSpace: 'pre-wrap',
|
whiteSpace: 'pre-wrap',
|
||||||
borderRadius: '0.25rem',
|
borderRadius: '0.25rem',
|
||||||
|
border: '1px solid #ddd',
|
||||||
};
|
};
|
||||||
|
|
||||||
const codeStyle = {
|
const codeStyle = {
|
||||||
fontFamily: 'Consolas, Menlo, monospace',
|
fontFamily: 'Consolas, Menlo, monospace',
|
||||||
|
color: '#333',
|
||||||
};
|
};
|
||||||
|
|
||||||
interface CodeBlockPropsType {
|
interface CodeBlockPropsType {
|
||||||
|
|
|
@ -19,6 +19,7 @@ const _collapsibleStyle: CSSProperties = {
|
||||||
fontSize: '1em',
|
fontSize: '1em',
|
||||||
padding: '0px 5px',
|
padding: '0px 5px',
|
||||||
lineHeight: '1.5',
|
lineHeight: '1.5',
|
||||||
|
borderBottom: '1px solid #ddd',
|
||||||
};
|
};
|
||||||
|
|
||||||
const collapsibleCollapsedStyle: CSSProperties = {
|
const collapsibleCollapsedStyle: CSSProperties = {
|
||||||
|
|
|
@ -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