[icons] New UI icon for Spellchecker

GitOrigin-RevId: 0b2cf33e2f336c8767d5712f30baf1393e4db271
This commit is contained in:
Yuriy Artamonov
2024-12-24 10:36:27 +00:00
committed by intellij-monorepo-bot
parent 2312ed4161
commit 0741b4685e
4 changed files with 16 additions and 4 deletions
@@ -11,12 +11,9 @@ import javax.swing.*;
* DO NOT EDIT IT BY HAND, run "Generate icon classes" configuration instead
*/
public final class SpellcheckerIcons {
private static @NotNull Icon load(@NotNull String path, int cacheKey, int flags) {
return IconManager.getInstance().loadRasterizedIcon(path, SpellcheckerIcons.class.getClassLoader(), cacheKey, flags);
}
private static @NotNull Icon load(@NotNull String expUIPath, @NotNull String path, int cacheKey, int flags) {
return IconManager.getInstance().loadRasterizedIcon(path, expUIPath, SpellcheckerIcons.class.getClassLoader(), cacheKey, flags);
}
/** 16x16 */ public static final @NotNull Icon Dictionary = load("icons/newui/dictionary.svg", "icons/dictionary.svg", -2094657776, 2);
/** 16x16 */ public static final @NotNull Icon Spellcheck = load("icons/spellcheck.svg", 1919442669, 2);
/** 16x16 */ public static final @NotNull Icon Spellcheck = load("icons/newui/addToDictionary.svg", "icons/spellcheck.svg", 1919442669, 2);
}
@@ -1,6 +1,7 @@
{
"icons": {
"newui": {
"addToDictionary.svg": "icons/spellcheck.svg",
"dictionary.svg": "icons/dictionary.svg"
}
}
@@ -0,0 +1,7 @@
<svg version="1.1" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg">
<g transform="translate(1.5,1.5)" fill="#6C707E" fill-rule="evenodd">
<path d="m3.15 3-0.654-1.6-0.646 1.6zm-1.04-3h0.781l2.11 5h-1.1l-0.5-1h-1.8l-0.5 1h-1.1z"/>
<polygon points="9.84 0 9.84 0.786 6.95 4.06 9.84 4.06 9.84 5 5.49 5 5.49 4.21 8.38 0.938 5.6 0.938 5.6 0"/>
</g>
<path d="m4.5 10.5 3 3 6.5-6.5" fill="none" stroke="#55a76a" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"/>
</svg>

After

Width:  |  Height:  |  Size: 499 B

@@ -0,0 +1,7 @@
<svg version="1.1" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg">
<g transform="translate(1.5,1.5)" fill="#CED0D6" fill-rule="evenodd">
<path d="m3.15 3-0.654-1.6-0.646 1.6zm-1.04-3h0.781l2.11 5h-1.1l-0.5-1h-1.8l-0.5 1h-1.1z"/>
<polygon points="9.84 0 9.84 0.786 6.95 4.06 9.84 4.06 9.84 5 5.49 5 5.49 4.21 8.38 0.938 5.6 0.938 5.6 0"/>
</g>
<path d="m4.5 10.5 3 3 6.5-6.5" fill="none" stroke="#57965C" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"/>
</svg>

After

Width:  |  Height:  |  Size: 499 B