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
9bc551f0ac
commit
cffe558cf5
2 changed files with 2 additions and 2 deletions
|
|
@ -25,7 +25,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
.bg-editor-override {
|
.bg-editor-style-override {
|
||||||
--vscode-sideBar-background: var(--vscode-editor-background);
|
--vscode-sideBar-background: var(--vscode-editor-background);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -309,7 +309,7 @@ export const VoidCodeEditor = ({ initValue, language }: { initValue: string, lan
|
||||||
|
|
||||||
return <div ref={divRef}>
|
return <div ref={divRef}>
|
||||||
<WidgetComponent
|
<WidgetComponent
|
||||||
className='relative z-0 @@bg-editor-override' // text-sm
|
className='relative z-0 @@bg-editor-style-override' // text-sm
|
||||||
ctor={useCallback((container) => {
|
ctor={useCallback((container) => {
|
||||||
return instantiationService.createInstance(
|
return instantiationService.createInstance(
|
||||||
CodeEditorWidget,
|
CodeEditorWidget,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue