code editor bg

This commit is contained in:
Mathew Pareles 2025-01-03 01:34:42 -08:00
parent 01d7878671
commit 9bc551f0ac
2 changed files with 2 additions and 3 deletions

View file

@ -25,8 +25,7 @@
}
/* redefine sidebar background to editor background */
.my-code-editor {
.bg-editor-override {
--vscode-sideBar-background: var(--vscode-editor-background);
}

View file

@ -309,7 +309,7 @@ export const VoidCodeEditor = ({ initValue, language }: { initValue: string, lan
return <div ref={divRef}>
<WidgetComponent
className='relative z-0 bg-red-500 @@my-code-editor' // text-sm
className='relative z-0 @@bg-editor-override' // text-sm
ctor={useCallback((container) => {
return instantiationService.createInstance(
CodeEditorWidget,