mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
This PR is to
* Update the Material Design tokens to 5.0.0
* 4 color roles in **Light mode** have different default values
`onPrimaryContainer`: Primary10 -> Primary30
`onSecondaryContainer`: Secondary10 -> Secondary30
`onTertiaryContainer`: Tertiary10 -> Tertiary30
`onErrorContainer`: Error10 -> Error30

* new tokens added in list.json
* `md.comp.menu.list-item.*` tokens are deprecated and should be replaced by tokens in list.json and we've done the migration last year:)!(#122388)
13 lines
391 B
JSON
13 lines
391 B
JSON
{
|
|
"version": "5_0_0",
|
|
|
|
"md.comp.badge.color": "error",
|
|
"md.comp.badge.large.color": "error",
|
|
"md.comp.badge.large.label-text.color": "onError",
|
|
"md.comp.badge.large.label-text.text-style": "labelSmall",
|
|
"md.comp.badge.large.shape": "md.sys.shape.corner.full",
|
|
"md.comp.badge.large.size": 16.0,
|
|
"md.comp.badge.shape": "md.sys.shape.corner.full",
|
|
"md.comp.badge.size": 6.0
|
|
}
|