Skip to content

Commit

Permalink
Add high-resolution icons for Retina displays
Browse files Browse the repository at this point in the history
  • Loading branch information
siarheiburliayeu committed Mar 26, 2024
1 parent 6874db3 commit 7780dc6
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/main/java/icons/Icons.java
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
package icons;

import javax.swing.*;

import com.intellij.openapi.util.IconLoader;
import javax.swing.Icon;

/*
* https://www.jetbrains.org/intellij/sdk/docs/reference_guide/work_with_icons_and_images.html
* https://plugins.jetbrains.com/docs/intellij/icons.html
*/
public interface Icons {

/**
* Icon: Terminal
* From: <a href="https://jetbrains.design/intellij/resources/icons_list/">Terminal Icon</a>
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/META-INF/plugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<actions>
<action id="com.sburlyaev.cmd.plugin.actions.OpenTerminal"
class="com.sburlyaev.cmd.plugin.actions.OpenProjectDirectoryAction"
text="Terminal"
text="External Terminal"
description="Open the project directory in external terminal"
icon="Icons.TERMINAL_ICON">
<add-to-group group-id="MainToolBar" anchor="last"/>
Expand Down
6 changes: 6 additions & 0 deletions src/main/resources/icons/terminal@20x20.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 6 additions & 0 deletions src/main/resources/icons/terminal@20x20_dark.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 7780dc6

Please sign in to comment.