Skip to content

Commit c38fa31

Browse files
Use New UI Icons
Follow the Jetbrains guide to provide icons, see https://plugins.jetbrains.com/docs/intellij/icons.html#new-ui-icons Fixes #2
1 parent a3bf4bc commit c38fa31

File tree

4 files changed

+11
-10
lines changed

4 files changed

+11
-10
lines changed

src/main/kotlin/io/github/ethersync/Icons.kt

Lines changed: 0 additions & 8 deletions
This file was deleted.
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"icons": {
3+
"expui": {
4+
"toolbar.svg": "toolbar.svg"
5+
}
6+
}
7+
}

src/main/resources/META-INF/plugin.xml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,12 @@
2626

2727
<toolWindow
2828
id="ethersync"
29-
icon="io.github.ethersync.Icons.PluginIcon"
29+
icon="/toolbar.svg"
3030
factoryClass="io.github.ethersync.EthersyncToolWindowFactory"/>
3131

3232
<terminal.shellCommandHandler
3333
implementation="io.github.ethersync.StartEthersyncDaemonTerminalShellCommandHandler"/>
34+
<iconMapper mappingFile="EthersyncIconMappings.json"/>
3435
</extensions>
3536

3637
<actions>
@@ -39,7 +40,7 @@
3940
class="io.github.ethersync.StartEthersyncDaemonAction"
4041
text="Code with Ethersync"
4142
description="Connect to a running ethersync daemon or start a new peer"
42-
icon="io.github.ethersync.Icons.PluginIcon">
43+
icon="/toolbar.svg">
4344
<add-to-group group-id="ToolsMenu" anchor="first"/>
4445
</action>
4546
</actions>
Lines changed: 1 addition & 0 deletions
Loading

0 commit comments

Comments
 (0)