+
}
diff --git a/src/vs/workbench/contrib/void/browser/react/src/styles.css b/src/vs/workbench/contrib/void/browser/react/src/styles.css
index 31742153..6c3a61c9 100644
--- a/src/vs/workbench/contrib/void/browser/react/src/styles.css
+++ b/src/vs/workbench/contrib/void/browser/react/src/styles.css
@@ -20,6 +20,17 @@
+.inherit-bg-all-restyle > * {
+ background-color: inherit !important;
+}
+
+
+/* redefine sidebar background to editor background */
+.my-code-editor {
+ --vscode-sideBar-background: var(--vscode-editor-background);
+}
+
+
/* html {
font-size: var(--vscode-font-size);
diff --git a/src/vs/workbench/contrib/void/browser/react/src/util/inputs.tsx b/src/vs/workbench/contrib/void/browser/react/src/util/inputs.tsx
index 7c3fc861..1ebdff20 100644
--- a/src/vs/workbench/contrib/void/browser/react/src/util/inputs.tsx
+++ b/src/vs/workbench/contrib/void/browser/react/src/util/inputs.tsx
@@ -303,14 +303,15 @@ export const VoidCodeEditor = ({ initValue, language }: { initValue: string, lan
const instantiationService = accessor.get('IInstantiationService')
const modelService = accessor.get('IModelService')
const languageDetectionService = accessor.get('ILanguageDetectionService')
+ const themeService = accessor.get('IThemeService')
initValue = normalizeIndentation(initValue)
return
- instantiationService.createInstance(
+ className='relative z-0 bg-red-500 @@my-code-editor' // text-sm
+ ctor={useCallback((container) => {
+ return instantiationService.createInstance(
CodeEditorWidget,
container,
{
@@ -354,7 +355,7 @@ export const VoidCodeEditor = ({ initValue, language }: { initValue: string, lan
{
isSimpleWidget: true,
})
- , [instantiationService])
+ }, [instantiationService])
}
onCreateInstance={useCallback((editor: CodeEditorWidget) => {