git-machete-intellij-plugin
git-machete-intellij-plugin copied to clipboard
Use frontend icon files in docs
It's different format (SVG vs PNG). For now I would rather stick to present solution (for the sake of quick release). I will create an issue to investigate and solve that redundancy.
Originally posted by @mkondratek in https://github.com/VirtusLab/git-machete-intellij-plugin/pull/864#discussion_r880344546
Now we use copies in PNG format for the docs. Try to reuse existing frontend icons.
Can you please provide a little bit more context on this? Sorry, I am new to this topic, so I had difficulty understanding the issue.
There is a redundancy in the scope of icons. We have the same icons in two formats - svg (for the plugin use) and png (for the docs). It would be nice to have them in one format only. For now it's a bit more complicated when an icon changes (for some reason. e.g. update) - we need to remember about docs. Ideally we update the icon in one place and it gets updated everywhere.
Is it clear now? :)
totally clear 💯
example: docs/left_bar_actions/edit.png frontend/base/src/main/resources/edit.svg
I would say, since .svg is more flexible for resizing maybe we can just work with .svg
+1 for svg-only; png can be easily generated out of svg if needed, but not the other way round
TBD if svgs can be easily embedded in GitHub Markdown