Project side navigation icon color

What about icon colors in side project navigation? When project theme is default the icon color is the same with standard Jira icons, but if theme is dars, the colors are different. We use svg as suggested in docs.

  •         name:
              value: "Git Commits"
            location: "jira.project.sidebar.plugins.navigation"
            key: "{key}"
            url: "{url}"
            context: "product"
            icon:
              width: 20
              height: 20
              url: "/ui/images/plugin-icon-dark.svg"
    

Why doesn’t Jira load icons as html svg? So if developers used svg icons with ‘currentColor’, Jira would able to set required color. Or if it’s difficult, it could be resolved by css filters

Using this way https://codepen.io/sosuke/pen/Pjoqqp it will be simple