-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Migration guide for M3 token update #11480
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
Changes from 3 commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -0,0 +1,92 @@ | ||||||
| --- | ||||||
| title: Material 3 Tokens Update in Flutter | ||||||
| description: >- | ||||||
| The latest Material Design 3 tokens(v6.1) have been applied to the Flutter | ||||||
| Material library. | ||||||
| --- | ||||||
|
|
||||||
| ## Summary | ||||||
|
|
||||||
| The Material Design tokens updated the mapping of 4 color roles (only in Light | ||||||
| mode) to be more visually appealing while retaining accessible contrast. There | ||||||
| are not any breakages identified in Flutter testing of this change, which | ||||||
| applied to the following color properties: | ||||||
|
||||||
| applied to the following color properties: | |
| The update affected the following color properties: |
Outdated
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.
| Additionally, the Material 3 tokens also updated the border color of Chips from | |
| Additionally, the Material 3 tokens updated the border color of Chips from |
Additionally + also can be redundant, I do this all the time myself 😅
Outdated
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.
| The differences in the mappings of the color roles are small. Using | |
| The differences in the mappings of the color roles are small. Use |
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.
Thanks so much for all the suggestions!
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.
Might be good to include some API references like in other migration guides. ColorScheme, Theme, and Chip classes look relevant to include here.
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.
Maybe we should also have non-breaking link to the breaking changes policy?
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.
Also, replace "may" with might in line 13.