-
Notifications
You must be signed in to change notification settings - Fork 816
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
Removed 'Muli' font. Added 'Manrope' font. Extended 'Poppins' with 'Manrope' for Cyrillic&Greek chars. #12933
Conversation
A Storybook has been deployed to preview UI for the latest push |
A Storybook has been deployed to preview UI for the latest push |
A Storybook has been deployed to preview UI for the latest push |
kindly ping @petemill @bsclifton @zenparsing - can you please take a look when you have some time? This fixes a P2 issue |
@boocmp needs rebase |
build/rust/config.gni
Outdated
@@ -47,7 +47,8 @@ if (use_lld) { | |||
|
|||
# https://bugzilla.mozilla.org/show_bug.cgi?id=1188030#c14 | |||
# Supposedly this bug was fixed, but it's still happening for us. | |||
too_many_personality_profiles_workaround = is_apple && use_lld && !is_component_build |
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.
why is this being changed in this PR?
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.
linter has gone crazy :(
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.
Because this PR is modifying a lot of places, I'd like to propose backing out this lint change (and any any others not absolutely needed). If the file was being modified already, then lint change makes sense. But general lint cleanups can happen in a different PR
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.
reverted
I'll take a look at reviewing this, but I'll need to do a build to see the difference. I would suggest you append some more items the description:
Some before and after screenshots would be helpful too. Thanks! |
Oh wow - this'll be a great one! (adding Cyrillic support). I can pull down and try after it's rebased ++ on everything @petemill mentioned 😄 Many of the UIs may look the same before/after and it's fine to skip screenshots. But for ones which have a difference (hopefully not a big spacing difference or line height difference, etc) it's good to see what that could be |
A Storybook has been deployed to preview UI for the latest push |
A Storybook has been deployed to preview UI for the latest push |
A Storybook has been deployed to preview UI for the latest push |
A Storybook has been deployed to preview UI for the latest push |
Fonts.zip |
Yeah it's looking pretty good at first glance of the screenshots. We'll want to get a designer to look over them to check the font-weight and size differences especially between Muli and Poppins. I think this is a good way of doing it since it'll improve cyrillic font display even for users who are currently viewing pages in non-cyrillic languages. Only issue may be that we have to be granular when choosing a font for different character sets. Still some TODOs:
In general we have way too many css definitions of font-family. It only really needs it once per UI since the css value is inherited! |
@jenn-rhim @bradleyrichter can you please look at screenshots and confirm they look good? #12933 (comment) |
A Storybook has been deployed to preview UI for the latest push |
A Storybook has been deployed to preview UI for the latest push |
- Remove Muli in favor of Poppins
…emove muli from more places
ce5eb0c
to
b12feeb
Compare
I've pushed a rebase and now that Poppins is correctly replacing instances of the brave-ui theme variable that resulted in Muli being requested via css, I've manually tweaked some of the items in #12933 (comment) - font weights and sizes. I basically changed many instances of I think it's best to merge this and then cover anything additional in follow-up. I think I got the main items with Welcome and Rewards Page, and Brave Talk widget on NTP. |
A Storybook has been deployed to preview UI for the latest push |
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.
Rewards CSS changes look good.
Confirmed that the change in brave-ui ref in package.json only brings in the Muli replacement with Poppins and does not remove any more recent commits from brave-ui. brave/brave-ui@8339e7d...e4c0498 |
…anrope' for Cyrillic&Greek chars. (#12933) * Reference to Manrope (Cyrillic & Greek) added for the Poppins font. * License. * Bye, bye 'Muli' it's a Poppin's time. * Overrided Poppins with Manrope. * Load font from resources instead of hardcode. * Lint. * GN fixed. * Lint. * Format. * Clean up. * Removed Mult files. * Font weight fixes. * Safety check padding. * Font-weight on active state. * Added comment. * Update brave-ui ref to include brave/brave-ui#607 - Remove Muli in favor of Poppins * Rebase. * Reverted package and package-lock jsons. * Rebased. * extra muli -> poppins text styles as a result of brave-ui update to remove muli from more places Co-authored-by: Pete Miller <miller.pete@gmail.com>
Resolves brave/brave-browser#4309
Resolves brave/brave-browser#25527
Submitter Checklist:
QA/Yes
orQA/No
;release-notes/include
orrelease-notes/exclude
;OS/...
) to the associated issuenpm run test -- brave_browser_tests
,npm run test -- brave_unit_tests
,npm run lint
,npm run gn_check
,npm run tslint
git rebase master
(if needed)Reviewer Checklist:
gn
After-merge Checklist:
changes has landed on
Test Plan:
On respective Issues