Update inconsistent SVG icons - #14563
Conversation
|
Baseline images need to be updated. |
The label says otherwise. |
|
@pavithraes, you asked about test failures in yesterday's meeting. Everything is unrelated. Failures on Windows were resolved in PR #9087 (last commit) and bokehjs failures are addressed in PR #14573. |
|
I suppose commit 0d0a6b9 is responsible. |
|
Discussed this with Mateusz -- and both the issues seem to be related to masks, and needs further investigation. |
|
What works with the CSS mask approach is this: <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">
<path d="..." fill="currentColor" fill-opacity="0.4" />i.e. use I applied this change to all (?) new icons. Any future changes must follow this pattern:
All of this finally brings new icons on par with existing SVG icons (in terms of the structure of the SVG). |
ea9428f to
2ed1fe9
Compare
|
@mattpap There are three observations I want to mention.
Furthermore some icons defined in |
Just noting that yes, this was not redesigned. The png version was just converted into svg. |
|
Yes, good catch! I can update!
Indeed, I see on a local test run though, so I can update the baseline once CI completes for x-grip fix. :) |
|
Edit: This resolved after merging branch-3.8. There is a test failure, which I think is unrelated to this PR: |
mattpap
left a comment
There was a problem hiding this comment.
I still don't like how wheel zoom and related icons look look and there are icons (e.g. toggle-mode.svg) that are implemented in an awkward way. However, this is a huge improvement over the original, so let's get this merged and continue refining in future PRs.
|
This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |





All pull requests must have an associated issue in the issue tracker. If there
isn't one, please go open an issue describing the defect, deficiency or desired
feature. You can read more about our issue and PR processes in the
wiki.