Added Material 3 colors to ColorScheme.#93427
Added Material 3 colors to ColorScheme.#93427darrenaustin merged 9 commits intoflutter:masterfrom darrenaustin:colorscheme_m3
Conversation
|
@Piinks if you get a chance, can you review my flutter fix for this to make sure I wasn't holding it wrong? There are two deprecated colors for ColorScheme: Thx. |
|
Gold has detected about 1 new digest(s) on patchset 9. |
|
Sure thing! Happy to check it out, thanks for writing a fix! :) |
|
@darrenaustin @rami-a There is a wrong in color scheme It must be 99 and not 90 according to Material Color design system for light theme. |
|
Thanks for the catch @Hacker437 . It looks like light theme's onSurface is incorrect too, it should be 10 not 0. @darrenaustin can we double check these all against the source of truth? |
|
I've made |
This helps unblock the roller. See flutter/flutter#93427 Change-Id: I4a75255c499ea7cdde40845a88c5441b344db67f Reviewed-on: https://fuchsia-review.googlesource.com/c/experiences/+/613961 Fuchsia-Auto-Submit: Darren Chan <[email protected]> Reviewed-by: Chase Latta <[email protected]> Commit-Queue: Darren Chan <[email protected]>
Move off of the deprecated fields. See flutter/flutter#93427. Change-Id: Ib45ef5ef6c343e591b080187a469ec26de054563 Reviewed-on: https://fuchsia-review.googlesource.com/c/experiences/+/613962 Reviewed-by: Chase Latta <[email protected]> Reviewed-by: Sanjay Chouksey <[email protected]> Commit-Queue: Darren Chan <[email protected]>
По primaryVariant и secondaryVariant руководствовался: flutter/flutter#93427 https://docs.google.com/document/d/1mY1ahBQEMAfsawGJMX5S34pXb7c8dHGatyotClReeas/edit# По isLight руководствовался: https://reddeveloper.ru/questions/jetpack-compose-polucheniye-svetlogo-i-temnogo-rezhima-ot-materialtheme-s-ispol-zovaniyem-materiala-3-LXGXw
По primaryVariant и secondaryVariant руководствовался: flutter/flutter#93427 https://docs.google.com/document/d/1mY1ahBQEMAfsawGJMX5S34pXb7c8dHGatyotClReeas/edit# По isLight руководствовался: https://reddeveloper.ru/questions/jetpack-compose-polucheniye-svetlogo-i-temnogo-rezhima-ot-materialtheme-s-ispol-zovaniyem-materiala-3-LXGXw
По primaryVariant и secondaryVariant руководствовался: flutter/flutter#93427 https://docs.google.com/document/d/1mY1ahBQEMAfsawGJMX5S34pXb7c8dHGatyotClReeas/edit# По isLight руководствовался: https://reddeveloper.ru/questions/jetpack-compose-polucheniye-svetlogo-i-temnogo-rezhima-ot-materialtheme-s-ispol-zovaniyem-materiala-3-LXGXw
This helps unblock the roller. See flutter/flutter#93427 Change-Id: I4a75255c499ea7cdde40845a88c5441b344db67f Reviewed-on: https://fuchsia-review.googlesource.com/c/experiences/+/613961 Fuchsia-Auto-Submit: Darren Chan <[email protected]> Reviewed-by: Chase Latta <[email protected]> Commit-Queue: Darren Chan <[email protected]>
Move off of the deprecated fields. See flutter/flutter#93427. Change-Id: Ib45ef5ef6c343e591b080187a469ec26de054563 Reviewed-on: https://fuchsia-review.googlesource.com/c/experiences/+/613962 Reviewed-by: Chase Latta <[email protected]> Reviewed-by: Sanjay Chouksey <[email protected]> Commit-Queue: Darren Chan <[email protected]>
|
Will the new surface colors be added? There are 7 new color roles which act as a replacement for the color tint. |
|
Yes, the issue for that is #115912 |
…Scheme` (flutter#127124) This PR is to remove deprecated `primaryVariant` and `secondaryVariant` from framework. These two apis are made obsolete in flutter#93427 Part of flutter#127042
As part of the migration to Material 3, this PR adds new colors to
ColorSchemeand deprecates two colors that are no longer being supported:The added colors include a new ‘tertiary’ group and ‘container’ variants for several of the colors:
The two colors being deprecated:
Includes flutter fix data to automatically remove references to the two deprecated colors and rename references to them with
primaryContainerandsecondaryContainer.See the design doc for more discussion about this change.
Fixes: #89852
Pre-launch Checklist
///).