From fc327e3fcb7834c68c64b1819ce79f195722d83b Mon Sep 17 00:00:00 2001 From: Andrew Pareles Date: Mon, 13 Jan 2025 04:16:16 -0800 Subject: [PATCH] colors --- .../contrib/void/browser/react/src/util/inputs.tsx | 7 +++++++ 1 file changed, 7 insertions(+) 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 c4f9836a..5df81ded 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 @@ -13,6 +13,8 @@ import { Checkbox } from '../../../../../../../base/browser/ui/toggle/toggle.js' import { CodeEditorWidget } from '../../../../../../../editor/browser/widget/codeEditor/codeEditorWidget.js' import { useAccessor } from './services.js'; import { ITextModel } from '../../../../../../../editor/common/model.js'; +import { asCssVariable } from '../../../../../../../platform/theme/common/colorUtils.js'; +import { inputBackground, inputForeground } from '../../../../../../../platform/theme/common/colorRegistry.js'; // type guard @@ -113,6 +115,11 @@ export const VoidInputBox2 = forwardRef(fun disabled={!isEnabled} className="w-full resize-none max-h-[500px] overflow-y-auto" + style={{ + background: asCssVariable(inputBackground), + color: asCssVariable(inputForeground) + // inputBorder: asCssVariable(inputBorder), + }} onChange={useCallback(() => { const r = textAreaRef.current