-
Notifications
You must be signed in to change notification settings - Fork 371
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Switch to SVGs for most icons #393
Conversation
@@ -1585,54 +1586,54 @@ public boolean test(SCMTraitDescriptor<?> scmTraitDescriptor) { | |||
|
|||
IconSet.icons.addIcon( | |||
new Icon("icon-github-logo icon-sm", | |||
"plugin/github-branch-source/images/16x16/github-logo.png", | |||
Icon.ICON_SMALL_STYLE)); | |||
"plugin/github-branch-source/images/svgs/sprite-github.svg#github-logo", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've left the old github-logo image file in as it's used here:
Line 82 in 42a2234
+ "/plugin/github-branch-source/images/" + size + "/github-logo.png"); |
I'm not aware of a way to trigger that code though
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could we return the same SVG regardless of size
value?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes we can, I'm just wary of touching UI code I can't test.
My point was I don't know if this code is possible to hit, at least on github.com
This looks good to me. |
@timja What are we waiting on here? |
nothing |
@bitwiseman can this get re-released please? |
@timja Updating to use the 2.289.x LTS. This means we now have three release lines. 😭 |
Description
A brief summary describing the changes in this pull request. See
JENKINS-XXXXX for further information.
Light branch
Dark branch
Light repo
Dark repo
Light github logo
Dark github logo
Fixes jenkinsci/dark-theme-plugin#104
Requires jenkinsci/jenkins#5065
I've left the scm navigator icon alone, it's only used on the new job page as far as I could tell, I didn't think any of the icons I found were a good fit
Submitter checklist
Reviewer checklist
Documentation changes
Users/aliases to notify
@bitwiseman @dwnusbaum @fqueiruga