Open timja opened 2 years ago
I'm not sure if that can be done in the plugin SVG or if the CSS that wraps the SVG needs to be adapted in core.
Hey, icon theming isn't possible for SVGs that are loaded via the `` tag sadly. Just thinking off the top of my head I don't think it's possible for plugin developers to use icon theming for things like sidebar icons etc (yet) - this will be resolved when custom symbols are merged in.
Since Jenkins 2.335 core SVG icons in the side panel are colored in blue (using a corresponding CSS class and the SVG attribute stroke='currectColor'). This coloring seems not to be applied to SVG icons that are not part of Jenkins core. It would be helpful if those icons would be colored in the same way.
In this example, the Coverage Report is painted in black, but the Delete Pipeline is painted in blue.
Originally reported by drulli, imported from: New icon theming not applied to non-core icons