Skip to content

Commit

Permalink
chore: Apply the new extension logo (microsoft#1144)
Browse files Browse the repository at this point in the history
  • Loading branch information
CsCherrYY authored Mar 1, 2021
1 parent 1ebc033 commit 07069dc
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
> Run and debug Java test cases in Visual Studio Code
<p align="center">
<img src="https://raw.githubusercontent.com/Microsoft/vscode-java-test/master/resources/logo.png" width="150" height="150" alt="">
<img src="https://raw.githubusercontent.com/Microsoft/vscode-java-test/master/resources/logo.png" width="128" height="128" alt="">
</p>
<p align="center">
<a href="https://github.com/microsoft/vscode-java-test/actions?query=workflow%3ACI+branch%3Amaster">
Expand Down
3 changes: 3 additions & 0 deletions resources/logo.lowers.dark.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions resources/logo.lowers.light.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed resources/logo.lowers.png
Binary file not shown.
Binary file modified resources/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 4 additions & 1 deletion src/testReportProvider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,10 @@ class TestReportProvider implements Disposable {
}

this.panel.webview.html = await testReportProvider.provideHtmlContent(tests, this.panel.webview);
this.panel.iconPath = Uri.file(path.join(this.resourceBasePath, '..', 'logo.lowers.png'));
this.panel.iconPath = {
light: Uri.file(path.join(this.resourceBasePath, '..', 'logo.lowers.light.svg')),
dark: Uri.file(path.join(this.resourceBasePath, '..', 'logo.lowers.dark.svg')),
};

this.panel.reveal(this.panel.viewColumn || position);
}
Expand Down

0 comments on commit 07069dc

Please sign in to comment.