Skip to content

Specify different icons for light and dark mode #104

@jwortmann

Description

@jwortmann

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": ""
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions