mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2024-11-26 11:33:54 +03:00
Update color scheme and styling in CodeBlock & Collapsible components
The changes provide a more readable color scheme and enhances component appearance for the CodeBlock and Collapsible components within redux-devtools-inspector-monitor-trace-tab. The updated styling features a lighter background color, adjusted text color, and included new border specifications.
This commit is contained in:
parent
a77d8edb07
commit
e71d599cd0
|
@ -10,17 +10,19 @@ import React, { CSSProperties } from 'react';
|
|||
const preStyle: CSSProperties = {
|
||||
position: 'relative',
|
||||
display: 'block',
|
||||
backgroundColor: '#000',
|
||||
backgroundColor: '#f7f7f7',
|
||||
padding: '0.5em',
|
||||
marginTop: '0.5em',
|
||||
marginBottom: '0.5em',
|
||||
overflowX: 'auto',
|
||||
whiteSpace: 'pre-wrap',
|
||||
borderRadius: '0.25rem',
|
||||
border: '1px solid #ddd',
|
||||
};
|
||||
|
||||
const codeStyle = {
|
||||
fontFamily: 'Consolas, Menlo, monospace',
|
||||
color: '#333',
|
||||
};
|
||||
|
||||
interface CodeBlockPropsType {
|
||||
|
|
|
@ -19,6 +19,7 @@ const _collapsibleStyle: CSSProperties = {
|
|||
fontSize: '1em',
|
||||
padding: '0px 5px',
|
||||
lineHeight: '1.5',
|
||||
borderBottom: '1px solid #ddd',
|
||||
};
|
||||
|
||||
const collapsibleCollapsedStyle: CSSProperties = {
|
||||
|
|
Loading…
Reference in New Issue
Block a user