mirror of
https://github.com/voideditor/void
synced 2026-05-24 01:48:25 +00:00
colors
This commit is contained in:
parent
59afe2d6ff
commit
fc327e3fcb
1 changed files with 7 additions and 0 deletions
|
|
@ -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<HTMLTextAreaElement, InputBox2Props>(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
|
||||
|
|
|
|||
Loading…
Reference in a new issue