Skip to content

Commit

Permalink
chenges color of json viewer dark theme (#200)
Browse files Browse the repository at this point in the history
  • Loading branch information
trean authored Aug 12, 2024
1 parent accb8d8 commit 69c6fef
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/components/Points/DataGridList.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ export const DataGridList = function ({ data = {}, specialCases = {}, onConditio
displayDataTypes={false}
defaultInspectDepth={4}
rootName={false}
style={theme.palette.mode === 'dark' ? { backgroundColor: theme.palette.background.card } : {}}
/>
)}

Expand Down
1 change: 1 addition & 0 deletions src/theme/dark-theme.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ export const darkThemeOptions = {
palette: {
background: {
code: '#1e1e1e',
card: background.paper,
},
},
components: {
Expand Down

0 comments on commit 69c6fef

Please sign in to comment.