diff --git a/spellchecker/gen/icons/SpellcheckerIcons.java b/spellchecker/gen/icons/SpellcheckerIcons.java index 4499422f68c7..fb859c8508ac 100644 --- a/spellchecker/gen/icons/SpellcheckerIcons.java +++ b/spellchecker/gen/icons/SpellcheckerIcons.java @@ -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); } diff --git a/spellchecker/resources/SpellcheckerIconMappings.json b/spellchecker/resources/SpellcheckerIconMappings.json index 3e70d64c955b..35f9db08b610 100644 --- a/spellchecker/resources/SpellcheckerIconMappings.json +++ b/spellchecker/resources/SpellcheckerIconMappings.json @@ -1,6 +1,7 @@ { "icons": { "newui": { + "addToDictionary.svg": "icons/spellcheck.svg", "dictionary.svg": "icons/dictionary.svg" } } diff --git a/spellchecker/resources/icons/newui/addToDictionary.svg b/spellchecker/resources/icons/newui/addToDictionary.svg new file mode 100644 index 000000000000..a9d1722be3ed --- /dev/null +++ b/spellchecker/resources/icons/newui/addToDictionary.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/spellchecker/resources/icons/newui/addToDictionary_dark.svg b/spellchecker/resources/icons/newui/addToDictionary_dark.svg new file mode 100644 index 000000000000..877909828917 --- /dev/null +++ b/spellchecker/resources/icons/newui/addToDictionary_dark.svg @@ -0,0 +1,7 @@ + + + + + + +