diff --git a/src/vs/workbench/contrib/agentsVoice/browser/agentsVoiceWindowService.ts b/src/vs/workbench/contrib/agentsVoice/browser/agentsVoiceWindowService.ts index 5cd47a49cc3f76..fbffa2ce15349c 100644 --- a/src/vs/workbench/contrib/agentsVoice/browser/agentsVoiceWindowService.ts +++ b/src/vs/workbench/contrib/agentsVoice/browser/agentsVoiceWindowService.ts @@ -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'; @@ -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');