mirror of
https://github.com/ToolJet/ToolJet
synced 2026-05-23 08:58:26 +00:00
Set default theme for react-json-view (#373)
This commit is contained in:
parent
4ba35cc6d1
commit
7bc5af7115
1 changed files with 3 additions and 3 deletions
|
|
@ -629,7 +629,7 @@ class Editor extends React.Component {
|
|||
<div className="mb-2">
|
||||
<ReactJson
|
||||
style={{ fontSize: '0.7rem' }}
|
||||
theme={this.props.darkMode ? 'shapeshifter' : ''}
|
||||
theme={this.props.darkMode ? 'shapeshifter' : 'rjv-default'}
|
||||
enableClipboard={false}
|
||||
src={currentState.globals}
|
||||
name={'globals'}
|
||||
|
|
@ -645,7 +645,7 @@ class Editor extends React.Component {
|
|||
<div className="mb-2">
|
||||
<ReactJson
|
||||
src={currentState.components}
|
||||
theme={this.props.darkMode ? 'shapeshifter' : ''}
|
||||
theme={this.props.darkMode ? 'shapeshifter' : 'rjv-default'}
|
||||
name={'components'}
|
||||
style={{ fontSize: '0.7rem' }}
|
||||
enableClipboard={false}
|
||||
|
|
@ -661,7 +661,7 @@ class Editor extends React.Component {
|
|||
<div className="mb-2">
|
||||
<ReactJson
|
||||
src={currentState.queries}
|
||||
theme={this.props.darkMode ? 'shapeshifter' : ''}
|
||||
theme={this.props.darkMode ? 'shapeshifter' : 'rjv-default'}
|
||||
name={'queries'}
|
||||
style={{ fontSize: '0.7rem' }}
|
||||
enableClipboard={false}
|
||||
|
|
|
|||
Loading…
Reference in a new issue