-
Notifications
You must be signed in to change notification settings - Fork 156
Update icons to Zotero 7 style #502
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
base: master
Are you sure you want to change the base?
Conversation
22d62f2 to
b8964ce
Compare
|
Updated and now also adds icon badges. Closes #503 |
b8964ce to
8832030
Compare
|
@dstillman Would be great to merge this. |
|
This will need to be rebased, sorry. |
|
Rebased |
|
I've made a few fixes in adomasven#1 to expand the new icons to the Safari connector, add support for dark mode and fix some missing icons. Beyond that, any ETA on when this PR could be merged? |
|
@dstillman Pending your review, but really this is good and we should merge. @thebluepotato I'll look into your changes after this is merged. |
Fixed |
|
Necessary fixes that remain:
|
Thanks for the notes. All of these are fixed, along with some other issues I've discovered. |
|
For dark mode: if you remove the exclusion from let isDark = window.matchMedia && window.matchMedia('(prefers-color-scheme: dark)').matches;
icon = 'images/toolbar/' + icon.replace('.svg', isDark ? '-dark.png' : '.png');You'll have implemented 99% of the changes from my PR (save for a tweak or two) and I can then delete it 😄 |
This does not work on Chrome, where the background page is a service worker. Thanks for the other notes. |
|
@dstillman this can be merged |
|
Any ETA on this? |
|
(Let's also update this to the latest |
- Add a Z badge to toolbar icons (and add additional badged icon svgs to the repo for future use) - Stop generating greyscale icons for Safari, since Safari now supports color - Generate pngs from svg for toolbar using rsvg-convert since toolbars do not support svgs - Update Zotero submodule (for new icons) - Update utilities submodule (for zoteroTypeSchemaData.json)
Also update Zotero submodule and use our svgs for tick, cross and progress bar
7667bf6 to
4bb7264
Compare
|
Rebased and requests addressed.
For the toolbar we have to build pngs from svgs, since svgs are not supported with browserExt. I was building all from |

Closes #501