Skip to content

feat/question: usage of .svg sources directly as Actions icons and how to customize Action's icon color? #217

@dalthviz

Description

@dalthviz

Description

Currently, over napari, some .svg sources are used to generated themed/colored icons + QSS to use the generated files/icons over Qt elements. Could it be worthy to be able to allow to pass as an Action's icon definition a path to a .svg besides iconify/supertqt.fonticon identifiers?

If that doesn't seem like the right approach, what would be the proper way to provide/set colored Action's icons? I saw #132 (although seems like there only a dark and a light color could be configured?) and checking superqt fonticon utilities seems like you can create font plugins, right? Should napari eventually try to create a font including the .svg files currently being used? 🤔

Edit: This is part of the elements that started to be discussed over an exploration to use QModelToolBars for buttons over napari. For more details on that you can see napari/napari#7133

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions