Use quickinput colors in quick chat (#190897)

should have used this from the beginning.
This commit is contained in:
Tyler James Leonhardt 2023-08-21 09:33:30 -07:00 committed by GitHub
parent a29a3782af
commit f8e8da47f9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -10,7 +10,7 @@ import { IContextKeyService, IScopedContextKeyService } from 'vs/platform/contex
import { IInstantiationService } from 'vs/platform/instantiation/common/instantiation';
import { ServiceCollection } from 'vs/platform/instantiation/common/serviceCollection';
import { IQuickInputService, IQuickWidget } from 'vs/platform/quickinput/common/quickInput';
import { editorBackground, editorForeground, inputBackground } from 'vs/platform/theme/common/colorRegistry';
import { inputBackground, quickInputBackground, quickInputForeground } from 'vs/platform/theme/common/colorRegistry';
import { IChatWidgetService, IQuickChatService } from 'vs/workbench/contrib/chat/browser/chat';
import { IChatViewOptions } from 'vs/workbench/contrib/chat/browser/chatViewPane';
import { ChatWidget } from 'vs/workbench/contrib/chat/browser/chatWidget';
@ -142,10 +142,10 @@ class QuickChat extends Disposable {
ChatWidget,
{ resource: true, renderInputOnTop: true, renderStyle: 'compact' },
{
listForeground: editorForeground,
listBackground: editorBackground,
listForeground: quickInputForeground,
listBackground: quickInputBackground,
inputEditorBackground: inputBackground,
resultEditorBackground: editorBackground
resultEditorBackground: quickInputBackground
}));
this.widget.render(parent);
this.widget.setVisible(true);