diff --git a/src/lib/components/JSONEditor.scss b/src/lib/components/JSONEditor.scss index b5be93ef..8fe5e3fe 100644 --- a/src/lib/components/JSONEditor.scss +++ b/src/lib/components/JSONEditor.scss @@ -1,4 +1,3 @@ -@import '../themes/jse-theme-default'; // do not put the .css extension here, else the file will not be bundled @import '../styles'; .jse-main { @@ -6,8 +5,8 @@ height: 100%; min-width: 0; min-height: $contents-min-height; - font-family: var(--jse-font-family); - font-size: var(--jse-font-size); + font-family: $font-family; + font-size: $font-size; line-height: normal; position: relative; display: flex; diff --git a/src/lib/components/__snapshots__/JSONEditor.test.ts.snap b/src/lib/components/__snapshots__/JSONEditor.test.ts.snap index da7ee1f2..78d05f50 100644 --- a/src/lib/components/__snapshots__/JSONEditor.test.ts.snap +++ b/src/lib/components/__snapshots__/JSONEditor.test.ts.snap @@ -1482,11 +1482,11 @@ exports[`JSONEditor > render tree mode 1`] = ` class="jse-json-node jse-expanded s-BfIc3EpAoT-Y jse-root" data-path="" role="treeitem" + style="--level: 0;" tabindex="-1" >