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)
18 lines
881 B
JSON
18 lines
881 B
JSON
{
|
|
"version": "5_0_0",
|
|
|
|
"md.comp.banner.container.color": "surfaceContainerLow",
|
|
"md.comp.banner.container.elevation": "md.sys.elevation.level1",
|
|
"md.comp.banner.container.shape": "md.sys.shape.corner.none",
|
|
"md.comp.banner.desktop.with-single-line.container.height": 52.0,
|
|
"md.comp.banner.desktop.with-three-lines.container.height": 90.0,
|
|
"md.comp.banner.desktop.with-two-lines.with-image.container.height": 72.0,
|
|
"md.comp.banner.mobile.with-single-line.container.height": 54.0,
|
|
"md.comp.banner.mobile.with-two-lines.container.height": 112.0,
|
|
"md.comp.banner.mobile.with-two-lines.with-image.container.height": 120.0,
|
|
"md.comp.banner.supporting-text.color": "onSurfaceVariant",
|
|
"md.comp.banner.supporting-text.text-style": "bodyMedium",
|
|
"md.comp.banner.with-image.image.shape": "md.sys.shape.corner.full",
|
|
"md.comp.banner.with-image.image.size": 40.0
|
|
}
|