Skip to content

Commit 115fd15

Browse files
committed
set the code editor in the json view dark mode to be the same colour as the background
1 parent 43c9b60 commit 115fd15

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/compass-crud/src/components/json-editor.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,10 @@ const editorStyles = css({
3737

3838
const editorDarkModeStyles = css({
3939
'& .cm-editor': {
40-
backgroundColor: `${palette.gray.dark4} !important`,
40+
backgroundColor: `${palette.black} !important`,
4141
},
4242
'& .cm-gutters': {
43-
backgroundColor: `${palette.gray.dark4} !important`,
43+
backgroundColor: `${palette.black} !important`,
4444
},
4545
});
4646

0 commit comments

Comments
 (0)