You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, the icon has some attributes (e.g., preserveAspectRatio="xMidYMid meet") that can be removed and running SVGO, the tool of choice for optimizing SVG files and reducing their size, leads to a size reduction (0.671 KiB - 10.2% = 0.603 KiB).
Therefore, and including the Font Awesome license comment, it is possible to achieve an icon with an approximate size of 0.582 KiB, a size smaller than the current one (0.619 KiB). The optimized and licensed SVG icon looks like this:
Hi! 👋
Is your feature request related to a problem? Please describe.
As a follow-up to a PR recently opened in the JupyterLab repo, I would like to propose optimizing the main SVG icon of this extension.
Currently, the icon has some attributes (e.g.,
preserveAspectRatio="xMidYMid meet"
) that can be removed and running SVGO, the tool of choice for optimizing SVG files and reducing their size, leads to a size reduction (0.671 KiB - 10.2% = 0.603 KiB
).Also, if I'm correct, the comment about Font Awesome licensing is missing.
Describe the solution you'd like
The icon for this extension should be as small as possible. To achieve this, I propose the following steps:
superpowers
icon from the Font Awesome website.jp-icon3
) and license comment.Therefore, and including the Font Awesome license comment, it is possible to achieve an icon with an approximate size of
0.582 KiB
, a size smaller than the current one (0.619 KiB
). The optimized and licensed SVG icon looks like this:Describe alternatives you've considered
Additional context
Let me know what you think and if I can open a PR. Thanks!
The text was updated successfully, but these errors were encountered: