Open twinkarma opened 3 weeks ago
I'm aware that the PR is becoming quite large so will stop here.
I will have a look next week. I browsed the changes quickly and saw that you added an icon. Could you use MUI's icon instead? You can use the Download or FileDownload icon from MUI for instance. Link to the documentation This will help to keep styling consistent.
Side note, we have a few custom icons we use, and in case you really need one, you can have a look at what I recently did for the tools refactoring in the tools.jsx file (in beta-master).
Basically I wrapped each icon in an SvgIcon
component which allows to have the same styling flexibility as MUI icons. We will eventually refactor all the other custom icons in the plugin to SvgIcons too.
There are some icons that don't have a direct equivalent like the keyframes or the forensic icon. Do you have a guideline on what you plan to be using?
I've made it optional so that both the image file and svg can be used for now with the intention of replacing all the icons to svg eventually.
Sorry @twinkarma I think my message was confusing, if there is no equivalent, feel free to use a custom SVG (SVG being better than JPEG because we can embed it in an MUI component and have consistent styling).
blob: