Skip to content

Commit 30e5a37

Browse files
authored
Style coding agent button (microsoft#253147)
buttons are not automatically styled
1 parent d62faa3 commit 30e5a37

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/vs/workbench/contrib/chat/browser/promptSyntax/promptCodingAgentActionOverlay.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,15 +31,16 @@ export class PromptCodingAgentActionOverlayWidget extends Disposable implements
3131
) {
3232
super();
3333

34-
// Create DOM structure
3534
this._domNode = $('.prompt-coding-agent-action-overlay');
3635

3736
this._button = this._register(new Button(this._domNode, {
3837
supportIcons: true,
39-
title: localize('runPromptWithCodingAgent', "Run with Coding Agent")
38+
title: localize('runPromptWithCodingAgent', "Run prompt file in a remote coding agent")
4039
}));
4140

42-
this._button.label = localize('runWithCodingAgent.label', "{0} Run with Coding Agent", '$(cloud-upload)');
41+
this._button.element.style.background = 'var(--vscode-button-background)';
42+
this._button.element.style.color = 'var(--vscode-button-foreground)';
43+
this._button.label = localize('runWithCodingAgent.label', "{0} Push to Copilot coding agent", '$(cloud-upload)');
4344

4445
this._register(this._button.onDidClick(async () => {
4546
await this._execute();

0 commit comments

Comments
 (0)