ikas-mc / ContextMenuForWindows11

Add Custom Context Menu For Windows11
GNU Lesser General Public License v3.0
1.85k stars 90 forks source link

Specify different icons for light and dark mode #104

Closed jwortmann closed 4 months ago

jwortmann commented 8 months ago

The icons for the context menu items which are built-in (from Windows) use different colors in light and dark mode. I created new icons for my custom menu entry, that match the style from the built-in icons. But there is no way to use different icons for the different modes, so at the moment I have to decide to either always use the dark icon, or always use the light icon.

ContextMenu

Would it be possible to add an option to specify different icons, dependent on whether light or dark mode is currently active?

My current config:

{
    "title": "Mit Sublime Text öffnen",
    "exe": "\"C:\\Program Files\\Sublime Text\\sublime_text.exe\"",
    "param": "\"{path}\"",
    "icon": "\"C:\\Icons\\sublime_text_dark.ico\"",
    "index": 0,
    "acceptDirectory": false,
    "acceptExts": "*",
    "acceptFileFlag": 1,
    "acceptFileRegex": "",
    "acceptMultipleFilesFlag": 0,
    "pathDelimiter": "",
    "paramForMultipleFiles": ""
}
ikas-mc commented 8 months ago

a new config item needs to be added, will add in the future

ikas-mc commented 4 months ago

https://github.com/ikas-mc/ContextMenuForWindows11/releases/tag/5.0.0.0