mirror of
https://github.com/voideditor/void
synced 2026-05-24 09:58:23 +00:00
code editor bg
This commit is contained in:
parent
01d7878671
commit
9bc551f0ac
2 changed files with 2 additions and 3 deletions
|
|
@ -25,8 +25,7 @@
|
|||
}
|
||||
|
||||
|
||||
/* redefine sidebar background to editor background */
|
||||
.my-code-editor {
|
||||
.bg-editor-override {
|
||||
--vscode-sideBar-background: var(--vscode-editor-background);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in a new issue