Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ import { isDark } from '../../../../platform/theme/common/theme.js';
import { IAccessibilityService } from '../../../../platform/accessibility/common/accessibility.js';
import { resolveVoiceGlowColors } from '../../chat/browser/voiceClient/voiceGlow.js';
import { editorBackground } from '../../../../platform/theme/common/colorRegistry.js';
import { editorWidgetBorder, widgetShadow } from '../../../../platform/theme/common/colors/editorColors.js';
import { inputBackground, inputBorder } from '../../../../platform/theme/common/colors/inputColors.js';
import { AgentsVoiceWidget } from './agentsVoiceWidget.js';
import { bindWidgetToController } from './agentsVoiceWidgetBinding.js';
Expand Down Expand Up @@ -140,11 +141,13 @@ export class AgentsVoiceWindowService extends Disposable implements IAgentsVoice
const theme = this.themeService.getColorTheme();
const bgColor = theme.getColor(editorBackground)?.toString() ?? '#1e1e1e';
const inputBg = theme.getColor(inputBackground)?.toString() ?? '#3C3C3C';
const inputBd = theme.getColor(inputBorder)?.toString() ?? 'transparent';
const inputBd = theme.getColor(inputBorder)?.toString() ?? theme.getColor(editorWidgetBorder)?.toString() ?? 'transparent';
const shadow = theme.getColor(widgetShadow)?.toString() ?? 'transparent';

auxiliaryWindow.container.style.setProperty('--vscode-agents-background', bgColor);
auxiliaryWindow.container.style.backgroundColor = inputBg;
auxiliaryWindow.container.style.border = `1px solid ${inputBd}`;
auxiliaryWindow.container.style.boxShadow = `0 2px 8px ${shadow}`;
auxiliaryWindow.container.style.boxSizing = 'border-box';
auxiliaryWindow.window.document.body.style.setProperty('background-color', inputBg, 'important');

Expand Down
Loading