-
Notifications
You must be signed in to change notification settings - Fork 29.7k
[Material] Updated icons and fonts #61778
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
Conversation
|
It looks like this pull request may not have tests. Please make sure to add tests before merging. If you need an exemption to this rule, contact Hixie on the #hackers channel in Chat. Reviewers: Read the Tree Hygiene page and make sure this patch meets those guidelines before LGTMing. |
JoseAlba
left a comment
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.
██╗ ██████╗ ████████╗███╗ ███╗
██║ ██╔════╝ ╚══██╔══╝████╗ ████║
██║ ██║ ███╗ ██║ ██╔████╔██║
██║ ██║ ██║ ██║ ██║╚██╔╝██║
███████╗╚██████╔╝ ██║ ██║ ╚═╝ ██║
╚══════╝ ╚═════╝ ╚═╝ ╚═╝ ╚═╝
rami-a
left a comment
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 with a few nits.
|
Having conversation around TTF/OTF. Do not merge yet. |
This reverts commit b0a6503d7350114a5902a4f5c49324ce2dff446e.
dnfield
left a comment
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
HansMuller
left a comment
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
|
@willlarche what about the two-tone icon style? Is it implemented in this PR? Also, great work to all? Such a needed feature 🤩 |
|
Thanks @jessusrp98 ! Unfortunately the font we use for icons can only display 1 color. Two tone fonts have be imported as an image. |
|
Oh, I see. So does it mean that there are no further plans to implement that style as an option in the future? Thanks! |
@willlarche did you make that update as well? |
|
Re two-tone, I'd love to see it happen. Operating system and web browser support for color fonts has historically been a problem for color but this has improved somewhat lately; https://www.colorfonts.wtf/#section3. Off the top of my head, to support twotone in Flutter we would need to:
There are doubtless additional issues. |
|
@tvolkert Thanks for reminding me. Done! |
|
so if I want to use rounded add_circle, how can i do that?
|
|
Make sure you're on the master channel as this hasn't landed in stable yet.
I do see add_circle_rounded as an icon.
…On Mon, Aug 3, 2020 at 2:28 PM vipul petkar ***@***.***> wrote:
so if I want to use rounded add_circle, how can i do that?
icon: Icon(Icons.add_circle)
this still displays filled icons
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#61778 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAJWNZL5OWBXEC3U5BT2N6LR636VXANCNFSM4O7KMXHQ>
.
|
Because flutter 1.22 support outlined icons for flutter/flutter#61778
Description
Additional icons, new icon styles (outline, rounded, sharp), and the latest Roboto and RobotoCondensed fonts.
update_icons.darthas been updated for additional names and to prevent regressions.Icon tree shaking has landed for iOS and Android (#56633). There is no icon tree shaking on web (#57181) so there will be an increase in bundle size for that platform.
NOTE: The fonts repo has changed a bit. The wiki on updating material fonts needs to be updated as well as the go link for the internal hosting of the icons font which is now being custom made for us by the Google Fonts team. (Thank you!)
Related Issues
fixes #52713
fixes #43747
fixes #31665
fixes #61777
fixes #27956
fixes #18384
fixes #49014
Tests
I added the following tests:
update_icons.darthas a function checking that the new codepoints are a superset of the old ones.Checklist
Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes (
[x]). This will ensure a smooth and quick review process.///).flutter analyze --flutter-repo) does not report any problems on my PR.Breaking Change
Did any tests fail when you ran them? Please read Handling breaking changes.