-
Notifications
You must be signed in to change notification settings - Fork 363
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
Different primary colour for pre-release versions #4810
Conversation
You could set the icon in manifest.json to always be blue, then in .github/workflows/gen-manifest.js change it to the regular one Also maybe export-ignore the blue logos? Would that only affect the release version or would it also affect the beta? |
|
Sure. I didn't realize how dark it was until I used it for the header. |
I wanted to make it clear it's a pre-release version on the popup, but it doesn't fit on one line. Should I put the version under the title? |
Maybe |
If feasible, we should change the "brand orange" used throughout the extension as well. (This would probably require a bit of CSS modification to reduce headache on version bump.) |
OK. Should I reverse the blue and orange, or just change the orange? |
Changing everything to the blue would be best. |
@lisa-wolfgang Done. I also made a transparent logo so I could remove the messy logo swapping code. |
We use Also it's |
Defaults to the extension icon instead, is fine.
This reverts commit 328498a.
I found a race condition, but I don't run into it very often. |
What race condition? |
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.
Lgtm
About 1/4 of the time after reloading the extension, the primary colour isn't changed. Re-opening the popup corrects it. |
How does it look now? |
Wow, I still think blue should be orange too |
I tried that, but reverted it because it turned things like links orange, and I didn't want to make another css variable, but I can do that if you want. |
Links aren't the same blue. |
A little bit offtopic: I see that you change it so the logo is transparent. This would make my idea of making the extension logo to be larger (as large as I did on the website) to be easier. I would follow it up on the next PR after this gets merged. |
Also, for the others, can we start doing a shorter |
In light mode they are.
I don't think the logo should be much larger than the "Scratch Addons" title. |
|
And so |
Resolves #4805
Changes
Adds
-pre
to the popup version (there wasn't enough space for the full version name) and automatically turns the logo and primary color blue on pre-release versions. The logo shown of the extensions page has to be manually updated.Reason for changes
It makes it easier to identify pre-release versions of the extension.
Tests
Tested on Chromium 103.