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
Increase font on WooPay button #8715
base: develop
Are you sure you want to change the base?
Conversation
Test the buildOption 1. Jetpack Beta
Option 2. Jurassic Ninja - available for logged-in A12s🚀 Launch a JN site with this branch 🚀 ℹ️ Install this Tampermonkey script to get more options. Build info:
Note: the build is updated when a new commit is pushed to this PR. |
Size Change: +6 B (0%) Total Size: 1.25 MB
ℹ️ View Unchanged
|
b0a41f6
to
ab17872
Compare
@pierorocca and @nikkivias for reviewing the look please. |
I'm on mobile and afk. At a quick glance the size looks good but the font weight seems heavier than the dev guidelines? Could you confirm the logic is getting applied to the light and outline theme options? |
Thanks for taking a look @pierorocca .
I only changed the font size. Where are the guidelines for weight? I can check into them. Can confirm it is the same for light and outline options. |
@LCmry what I'm seeing in the Figma is SF Pro Text Medium. Here's the Figma Large 54 px button for comparison. What web font is being used and current weight? |
@pierorocca the current font is 'SF Pro Text' and current weight is 500. |
Thanks @LCmry. 500 does correspond to Medium. It looks like Figma rendering can be different than what's actually rendered by different devices and browsers. https://forum.figma.com/t/font-sfprotext-medium-displays-different-between-figma-vs-ios/9513 @nikkivias any thoughts here? Keep weight at 500 or drop down to 400 to try and match Figma? |
Fixes #8136
Changes proposed in this Pull Request
Increase the font on the WooPay button so it is more in line with other PRB buttons.
Testing instructions
Borrowed from issue
npm run changelog
to add a changelog file, choosepatch
to leave it empty if the change is not significant. You can add multiple changelog files in one PR by running this command a few times.Post merge