@@ -8,9 +8,9 @@ description: >-
8
8
## Summary
9
9
10
10
The Material Design tokens updated the mapping of 4 color roles (only in Light
11
- mode) to be more visually appealing while retaining accessible contrast. There
12
- are not any breakages identified in Flutter testing of this change, which
13
- applied to the following color properties:
11
+ mode) to be more visually appealing while retaining accessible contrast. Testing
12
+ identified this change as [ non-breaking ] in Flutter, but some customers might
13
+ notice this small change. The update affected the following color properties:
14
14
15
15
* On-primary-container (Primary10 to Primary30)
16
16
* On-secondary-container (Secondary10 to Secondary30)
@@ -20,15 +20,15 @@ applied to the following color properties:
20
20
Widgets that have been using these roles with their default value might look
21
21
different.
22
22
23
- Additionally, the Material 3 tokens also updated the border color of Chips from
23
+ Additionally, the Material 3 tokens updated the border color of Chips from
24
24
` ColorScheme.outline ` to ` ColorScheme.outlineVariant ` to improve visual
25
25
hierarchy between chips and buttons. Chips (` Chip ` , ` ActionChip ` , ` ChoiceChip ` ,
26
26
` FilterChip ` , and ` InputChip ` ) that have been using the chip border tokens may
27
27
look different.
28
28
29
29
## Migration guide
30
30
31
- The differences in the mappings of the color roles are small. Using
31
+ The differences in the mappings of the color roles are small. Use
32
32
` ColorScheme.copyWith ` to revert to the original default colors:
33
33
34
34
Code before migration:
@@ -99,3 +99,4 @@ Relevant PRs:
99
99
[ `Chip` ] : {{site.api}}/flutter/material/Chip-class.html
100
100
[ Update tokens to v5.0.0 ] : {{site.repo.flutter}}/pull/153385
101
101
[ Update tokens to v6.1.0 ] : {{site.repo.flutter}}/pull/153722
102
+ [ non-breaking ] : {{site.repo.flutter}}/flutter/blob/master/docs/contributing/Tree-hygiene.md#1-determine-if-your-change-is-a-breaking-change
0 commit comments